Discuss Scratch
- Discussion Forums
- » Suggestions
- » Superfast graphics
- Monniasza_spzoo
- Scratcher
100+ posts
Superfast graphics
Hi, I think that pen is too slow.
Superfast draw blocks:
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
Polygon fills require mutiple pen strokes. You can put your code into a custom block and turn on “run without screen refresh”.
- WindOctahedron
- Scratcher
1000+ posts
Superfast graphics
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.Polygon fills require mutiple pen strokes. You can put your code into a custom block and turn on “run without screen refresh”.
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
..It won't use antialiasing, 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
- -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.
- Monniasza_spzoo
- Scratcher
100+ posts
Superfast graphics
When new blocks will be added, they will become fastest. 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.
- 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
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.When new blocks will be added, they will become fastest. 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.
- Monniasza_spzoo
- Scratcher
100+ posts
Superfast graphics
The better idea would be making existing blocks faster for example compiling into GLSL and running multi-core and multi-threaded on GPU.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.When new blocks will be added, they will become fastest. 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.
- 45afc4td
- Scratcher
100+ posts
Superfast graphics
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.The better idea would be making existing blocks faster for example compiling into GLSL and running multi-core and multi-threaded on GPU.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.When new blocks will be added, they will become fastest. 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.
- Nambaseking01
- Scratcher
1000+ posts
Superfast graphics
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?!
Profile | Test Account | Talk with me here! | Griffpatch is quitting Scratch?!
- Discussion Forums
- » Suggestions
- » Superfast graphics