Other [Challenge] Who will be able to simulate a rubber band?

LucaMs

Expert
Licensed User
Longtime User
Paint.Net:
Rubber.gif


If you could realize the same, then you could realize the elastic effect.
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Last edited:
Upvote 0

derez

Expert
Licensed User
Longtime User
The line drawn should be made of sine wave, the length is of int of half cycles (ie: 0.5, 1,1.5 ...).
The selected wave is the result of where the band is pinched, if in the middle it will be one half cycle.
 
Upvote 0

derez

Expert
Licensed User
Longtime User
Rubber band works like a string. It has a main mode of movement and also secondary (harmonics).
I'm just helping those who may take the challenge.
The amplitude is harmonic (behaves like a sine function) and decays in time.
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
I don't see a match with a rubber band (tyre) and the animation above tho.

I'm not able to draw what I mean :D

The same effect of a guitar string (but not of metal, of rubber)?

This kind of effect is usually done with Bezier curves for the drawing and an interpolator for the animation. libGDX offers everything needed in its Math package.
Perhaps 2 animations? ("Down"-"Up"-Delay)

Well, this is a challenge for us. I was not able to use Accelerated Surface :D (perhaps I will post my beautiful attempt :p in the right thread).


Thank you, guys.
 
Upvote 0
Top