Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Interpolation
- eddieduck
-
Scratcher
22 posts
Interpolation
If you used custom blocks with “run without screen refresh”, could you somewhat recreate Interpolation?
Last edited by eddieduck (Aug. 22, 2024 21:25:01)
- AHypnoman
-
Scratcher
1000+ posts
Interpolation
What specifically do you mean by interpolation? Graphical interpolation/inbetweening, like in animation, or interpolation in statistics? Or something else?
- eddieduck
-
Scratcher
22 posts
Interpolation
What specifically do you mean by interpolation? Graphical interpolation/inbetweening, like in animation, or interpolation in statistics? Or something else?i meant as in turbowarps interpolation. you can try it by making this code, smacking it in turbowarp, and turning on interpolation.
when flag clicked
forever
move steps
turn degrees
Last edited by eddieduck (Aug. 22, 2024 22:29:02)
- eddieduck
-
Scratcher
22 posts
Interpolation
What specifically do you mean by interpolation? Graphical interpolation/inbetweening, like in animation, or interpolation in statistics? Or something else?like animation
- A-MARIO-PLAYER
-
Scratcher
1000+ posts
Interpolation
I don't think that's possible. You can just encourage users to run your project in turbowarp with interpolation enabled.
- AHypnoman
-
Scratcher
1000+ posts
Interpolation
~snip~
i meant as in turbowarps interpolation. you can try it by making this code, smacking it in turbowarp, and turning on interpolation.
~snip~
Then not really: turbowarp runs interpolation between frames, and while the ‘run without screen refresh’ blocks do run between frames, the stage still won't update to the next frame.
- eddieduck
-
Scratcher
22 posts
Interpolation
Oh….~snip~
i meant as in turbowarps interpolation. you can try it by making this code, smacking it in turbowarp, and turning on interpolation.
~snip~
Then not really: turbowarp runs interpolation between frames, and while the ‘run without screen refresh’ blocks do run between frames, the stage still won't update to the next frame.
- eddieduck
-
Scratcher
22 posts
Interpolation
I don't think that's possible. You can just encourage users to run your project in turbowarp with interpolation enabled.not the point
Last edited by eddieduck (Aug. 24, 2024 21:19:01)
- C0000lguy
-
Scratcher
100+ posts
Interpolation
Yeah, the whole reason Turbowarp has an interpolation thing is because Scratch doesn't.I don't think that's possible. You can just encourage users to run your project in turbowarp with interpolation enabled.not the point
- eddieduck
-
Scratcher
22 posts
Interpolation
But wouldnt something like this work?~snip~
i meant as in turbowarps interpolation. you can try it by making this code, smacking it in turbowarp, and turning on interpolation.
~snip~
Then not really: turbowarp runs interpolation between frames, and while the ‘run without screen refresh’ blocks do run between frames, the stage still won't update to the next frame.
- AHypnoman
-
Scratcher
1000+ posts
Interpolation
This doesn't have the same behaviour as Turbowarp, but yes you could use this to give the effect of interpolationBut wouldnt something like this work?~snip~
i meant as in turbowarps interpolation. you can try it by making this code, smacking it in turbowarp, and turning on interpolation.
~snip~
Then not really: turbowarp runs interpolation between frames, and while the ‘run without screen refresh’ blocks do run between frames, the stage still won't update to the next frame.
- NMario84
-
Scratcher
1000+ posts
Interpolation
Yea I don't think Interpolation can be “successfully” created in Scratch as what Turbowarp does. Interpolation makes the projects move in “smoother” frames than what is actually drawn.
I suppose you could “simulate” the effect, but it just won't be exactly as what Turbowarp does.
I suppose you could “simulate” the effect, but it just won't be exactly as what Turbowarp does.
- -codex84-
-
Scratcher
40 posts
Interpolation
Maybe you could simulate an interpolation?So it looks like interpolation but is not
- THEIMPORTANT
-
Scratcher
500+ posts
Interpolation
You can smooth the animation (or sprite), which creates something kind of like interpolation, but Scratch has a 30 FPS limit, and TurboWarp runs at 60 FPS; that's why it's able to create smooth frames.
- Discussion Forums
- » Help with Scripts
-
» Interpolation