Forums > Jitter

[sharing is fun] dancing stick man

Aug 12 2011 | 3:58 pm

After doing a show using a Milkdrop preset that affectionately became known as Scatman, I decided to reconstruct the little dancing dude in Jitter. This is the result. I hope someone can have a bit of fun playing with him, but more importantly I was wondering whether anyone has any ideas on how I’ve implemented this. Does it seem the most obvious/efficient way to do this? Would love to see if anyone can come up with alternative implementations. Is some GLSL possible in anyway?

Comes in 2 parts – a js file and the patch. Enjoy!


Aug 12 2011 | 4:00 pm

OK I’ve just attached the files as a ZIP, as the forum obv doesn’t deal very well with JavaScript. Also included a quick screen grab too.


  1. scatman.png


Aug 12 2011 | 4:16 pm

Hey! thanks for sharing.
The first optimization that comes to mind is to use java instead of javascript as the porting would be quite straight. Imagine a whole hall with lots of these nice dancing fellas ;-)< -instancing would be much better in java-land!

In regards the shader, maybe something can be done with a fragment pair, but as you can see most of the data need to be retrieved into jitter matrices so I would suggest to stick to it without touching the gpu. Maybe a nice phong shading would make the fella look cutter!

Aug 12 2011 | 5:28 pm

Well ok I guess I realise that java performs better than JavaScript (can’t wait for Max 6), but I was more thinking in terms of optimising the OpenGL side of things and not the Max side of things. For example could a vertex shader be used to move the verticies rather than continually pushing a new matrix to the gpu for each frame?

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Jitter