Discuss Scratch

Monniasza_spzoo
Scratcher
100+ posts

Superfast graphics

Hi, I think that pen is too slow.
Superfast draw blocks:
superfast line ()() - ()()  :: pen
superfast tri fill ()(), ()(), ()() :: pen
superfast quad fill ()(), ()(), ()(), ()() :: pen
WindOctahedron
Scratcher
1000+ posts

Superfast graphics

You can put your code into a custom block and turn on “run without screen refresh”.

Last edited by WindOctahedron (Aug. 20, 2019 12:17:22)


The message above may contain wrong information, rude remarks, or something embarrassing to my current self. In this case, please ignore it and remember that I likely wrote it back when I didn't know what “respect” truly meant. I really hate thinking about it again.
Monniasza_spzoo
Scratcher
100+ posts

Superfast graphics

WindOctahedron wrote:

You can put your code into a custom block and turn on “run without screen refresh”.
Polygon fills require mutiple pen strokes.
WindOctahedron
Scratcher
1000+ posts

Superfast graphics

Monniasza_spzoo wrote:

WindOctahedron wrote:

You can put your code into a custom block and turn on “run without screen refresh”.
Polygon fills require mutiple pen strokes.
Yes, they do. But you can use a loop to make these strokes, and “run without screen refresh” runs these loops without any delays and can draw a triangle in a couple of miliseconds or less.

The message above may contain wrong information, rude remarks, or something embarrassing to my current self. In this case, please ignore it and remember that I likely wrote it back when I didn't know what “respect” truly meant. I really hate thinking about it again.
45afc4td
Scratcher
100+ posts

Superfast graphics

So it would not use anti-aliasing to draw the lines and triangles and quadrilaterals? If so, this would definitely be useful for projects that update a single row or column at a time; the current pen tool doesn't work very well for this, as it produces artifacts as in ..
Monniasza_spzoo
Scratcher
100+ posts

Superfast graphics

45afc4td wrote:

So it would not use anti-aliasing to draw the lines and triangles and quadrilaterals? If so, this would definitely be useful for projects that update a single row or column at a time; the current pen tool doesn't work very well for this, as it produces artifacts as in ..
It won't use antialiasing,
-Snipet-
Scratcher
500+ posts

Superfast graphics

The “Run without screen refresh” option is the fastest possible option. The real fun part is optimizing it to render in the fastest possible way.

website =)
Blasted little 60 second rule…
Monniasza_spzoo
Scratcher
100+ posts

Superfast graphics

-Snipet- wrote:

The “Run without screen refresh” option is the fastest possible option. The real fun part is optimizing it to render in the fastest possible way.
When new blocks will be added, they will become fastest.
45afc4td
Scratcher
100+ posts

Superfast graphics

Also, in Scratch 3.0, a vertical pen line has blur to the left. So truly updating a single column requires updating everything to the left! As the superfast blocks won't use anti-aliasing, this won't be a problem for superfast rendering.
-Snipet-
Scratcher
500+ posts

Superfast graphics

Monniasza_spzoo wrote:

-Snipet- wrote:

The “Run without screen refresh” option is the fastest possible option. The real fun part is optimizing it to render in the fastest possible way.
When new blocks will be added, they will become fastest.
But “Run without screen refresh” is already the fastest. Scratch is all about figuring out a way to put an idea down onto a computer. Tri and quad filling is just part of that. To learn, the ST purposely left out those features for users to make themselves. There are a ton of good fillers out there. While I do see where you’re going, I think Scratch code blocks should be like the alphabet: You can use letters to make words. Then those words go to make sentences. Those sentences make a paragraph, which multiple make a novel. Some blocks go to making simple algorithms, which make a poly filler, which make a game.

website =)
Blasted little 60 second rule…
Monniasza_spzoo
Scratcher
100+ posts

Superfast graphics

-Snipet- wrote:

Monniasza_spzoo wrote:

-Snipet- wrote:

The “Run without screen refresh” option is the fastest possible option. The real fun part is optimizing it to render in the fastest possible way.
When new blocks will be added, they will become fastest.
But “Run without screen refresh” is already the fastest. Scratch is all about figuring out a way to put an idea down onto a computer. Tri and quad filling is just part of that. To learn, the ST purposely left out those features for users to make themselves. There are a ton of good fillers out there. While I do see where you’re going, I think Scratch code blocks should be like the alphabet: You can use letters to make words. Then those words go to make sentences. Those sentences make a paragraph, which multiple make a novel. Some blocks go to making simple algorithms, which make a poly filler, which make a game.
The better idea would be making existing blocks faster for example compiling into GLSL and running multi-core and multi-threaded on GPU.
45afc4td
Scratcher
100+ posts

Superfast graphics

Monniasza_spzoo wrote:

-Snipet- wrote:

Monniasza_spzoo wrote:

-Snipet- wrote:

The “Run without screen refresh” option is the fastest possible option. The real fun part is optimizing it to render in the fastest possible way.
When new blocks will be added, they will become fastest.
But “Run without screen refresh” is already the fastest. Scratch is all about figuring out a way to put an idea down onto a computer. Tri and quad filling is just part of that. To learn, the ST purposely left out those features for users to make themselves. There are a ton of good fillers out there. While I do see where you’re going, I think Scratch code blocks should be like the alphabet: You can use letters to make words. Then those words go to make sentences. Those sentences make a paragraph, which multiple make a novel. Some blocks go to making simple algorithms, which make a poly filler, which make a game.
The better idea would be making existing blocks faster for example compiling into GLSL and running multi-core and multi-threaded on GPU.
So will this idea have anti-aliasing? The Scratch 3.0's line function is too blurry for https://scratch.mit.edu/projects/347110145/ to work properly.
Nambaseking01
Scratcher
1000+ posts

Superfast graphics

WindOctahedron wrote:

You can put your code into a custom block and turn on “run without screen refresh”.

Yeah, that's pretty fast - I don't see why we would need a higher speed than that.

Hey there! My name is Nammy. I'm a male Forum Helper and Scratch Wiki Editor.
Profile | Test Account | Talk with me here! | Griffpatch is quitting Scratch?!

Powered by DjangoBB