RS-MET icon indicating copy to clipboard operation
RS-MET copied to clipboard

rotation of rigid bodies

Open RobinSchmidt opened this issue 6 years ago • 4 comments

i just came across this:

https://www.youtube.com/watch?v=1VPfZ_XzisU

...this sort of motion can be described by a simple system of 3 differential equations (pretty much like the lorenz system), see here:

https://en.wikipedia.org/wiki/Tennis_racket_theorem

just for fun, i implemented it and got the following result:

image

blue: w2 - the angular velocity about the axis with the intermediate moment of inertia. black and green: the angular velocities about the axis with minimum and maximum moment of inertia respectively. all by itself, it's probably not particularly interesting for musical purposes. it basically just generates smoothed out square-waves or smoothed unipolar or bipolar impulse trains. but maybe it could be turned into some interesting chaotic system by modifying the ODE system a bit? ...dunno.... i'm just having some fun. if you want to have some fun too, search for the tennisRacket function in the test project

RobinSchmidt avatar Sep 22 '19 19:09 RobinSchmidt

could make a good chaos modulator or noise generator?

elanhickler avatar Sep 22 '19 20:09 elanhickler

maybe. i just added an extra term to the equations that leads to asymmetric pulses (i.e. pulse-width control for the square wave):

image

image

...but it also leads to decay (undesirable) but i have ideas how to avoid the decay (by enforcing constant angular momentum and/or rotational energy)

RobinSchmidt avatar Sep 22 '19 20:09 RobinSchmidt

ha! there's also a version of the equations that includes external torques: https://en.wikipedia.org/wiki/Euler%27s_equations_(rigid_body_dynamics) ...that means, we can use it to process incoming signals instead of just generating signals on its own - i.e. generalize the generator into a (sort of) "filter"

RobinSchmidt avatar Sep 22 '19 20:09 RobinSchmidt

yes, i was just about to say that. you can make it into a resonator.

elanhickler avatar Sep 22 '19 21:09 elanhickler