Discuss Scratch

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

AHypnoman wrote:

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

AHypnoman wrote:

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

eddieduck wrote:

~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

AHypnoman wrote:

eddieduck wrote:

~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.
Oh….
eddieduck
Scratcher
22 posts

Interpolation

A-MARIO-PLAYER wrote:

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

eddieduck wrote:

A-MARIO-PLAYER wrote:

I don't think that's possible. You can just encourage users to run your project in turbowarp with interpolation enabled.
not the point
Yeah, the whole reason Turbowarp has an interpolation thing is because Scratch doesn't.
eddieduck
Scratcher
22 posts

Interpolation

AHypnoman wrote:

eddieduck wrote:

~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.
But wouldnt something like this work?
AHypnoman
Scratcher
1000+ posts

Interpolation

eddieduck wrote:

AHypnoman wrote:

eddieduck wrote:

~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.
But wouldnt something like this work?
This doesn't have the same behaviour as Turbowarp, but yes you could use this to give the effect of interpolation
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.
-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.

Powered by DjangoBB