Discuss Scratch

Stanners2015
Scratcher
28 posts

Pen filling?

A
Fill shape from the last (3) vertices
would be good to introduce for renderers. It will help everything about the pen extention.
_-HyperSpeed-_
Scratcher
4 posts

Pen filling?

define 
[/hello]
MrSpace-fish
Scratcher
71 posts

Pen filling?

Stanners2015 wrote:

A
Fill shape from the last (3) vertices
would be good to introduce for renderers. It will help everything about the pen extention.

What about New Scratchers?

Also, where is the vertex data coming from?
Stanners2015
Scratcher
28 posts

Pen filling?

MrSpace-fish wrote:

Stanners2015 wrote:

A
Fill shape from the last (3) vertices
would be good to introduce for renderers. It will help everything about the pen extention.

What about New Scratchers?

Also, where is the vertex data coming from?
From the last points drawn on the stage, it's stored in the ram, in the background

You had a good point

Last edited by Stanners2015 (Nov. 30, 2025 13:24:03)

CaptFrIEdshrimp
Scratcher
51 posts

Pen filling?

Good idea! This will help a lot of rendering problems on scratch!
(I think)
Let's hope the scratch team will look like this when they see this!
MrSpace-fish
Scratcher
71 posts

Pen filling?

Stanners2015 wrote:

MrSpace-fish wrote:

Stanners2015 wrote:

A
Fill shape from the last (3) vertices
would be good to introduce for renderers. It will help everything about the pen extention.

What about New Scratchers?

Also, where is the vertex data coming from?

You had a good point

That's kind of confusing: maybe this block could be split into a family of blocks that fill in various n-gons?
——————————————————————————————————————————————
Shapes extention

draw a triangle with points x₁: () y₁: () x₂: () y₂: () x₃: () y₃: () color: (#2020e0) :: pen

draw a square with points x₁: () y₁: () x₂: () y₂: () x₃: () y₃: () x₄: () y₄: () color: (#2020e0) ::pen

draw a pentagon with points x₁: () y₁: () x₂: () y₂: () x₃: () y₃: () x₄: () y₄: () x₅: () y₅: () color: (#2020e0) ::pen

so on... ::#b0b0b0

Last edited by MrSpace-fish (Nov. 30, 2025 22:32:02)

10152693
Scratcher
42 posts

Pen filling?

I don't understand this
MrSpace-fish
Scratcher
71 posts

Pen filling?

10152693 wrote:

I don't understand this

It draws a filled polygon onto the pen layer with the denoted color

Last edited by MrSpace-fish (Nov. 30, 2025 22:32:22)

10152693
Scratcher
42 posts

Pen filling?

ohh
when I receive [Answering 10152693's question v]
say [I know what is this now]
say [but how does this even work with pen? I need to learn more about pen]

Powered by DjangoBB