Jitter Balls

Jun 19, 2010 at 9:26pm

Jitter Balls

Hey everyone, I have been looking for a few ways to create a jitter object that uses numbers to scale different balls or spheres – I have looked at the boidroids example and thats close put i was looking for something more like balls. Something that it a max/jitter equivalent of this really”: http://www.youtube.com/watch?v=CuOviP0vzGQ

If anyone has any clues that would be helpful.

Jun 20, 2010 at 7:45pm

I started to work on bouncing balls sometimes ago, dont’ know if it could help ..

– Pasted Max Patch, click to expand. –
Jun 21, 2010 at 7:31am

Another approach might be to use java and to create an array of balls from a basic class, either from Java or within the max patcher. You can apply different physical forces like friction, etc. Herewith a super basic and simple port of a processing example with a bouncing ball.
In the case of your youtube example, I would suggest to capture the balls and use a slab chain to create their color and texture(use the capture attribute).
Let me know it this helps!
BTW, Nice example Kyred!

  1. Ball.zip
Jun 21, 2010 at 9:03pm

here’s max answer:

• error: java.lang.UnsupportedClassVersionError: Bad version number in .class file
• error: at java.lang.ClassLoader.defineClass1(Native Method)
• error: at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
• error: at com.cycling74.max.MXJClassLoaderImpl.doLoadClass(MXJClassLoaderImpl.java:119)
• error: at com.cycling74.max.MXJClassLoader.loadClazz(MXJClassLoader.java:88)
• error: Could not load class ‘Ball’

Any idea of what is it about ?

Jun 21, 2010 at 10:05pm

Hello Ad.
Maybe you will need to compile the java file yourself, either by using the quickie or the terminal(if you are in OSX):
choose the folder where the java file is, the type something like:
javac -classpath /Applications/Max5/Cycling ’74/java/lib/max.jar Ball.java

let me know if it works!

Jun 22, 2010 at 11:39pm

Jun 23, 2010 at 11:35am

Thx for your response efe;
unfortunately stil the same message, my class is in the max classes folder… 
Could it be a java version issue ?
Mac 10.5, leopard

Jun 24, 2010 at 10:20am


I created a whole bunch of interfaces like this a few years ago using JS and LCD. They still crop up on the forums once in a while.

Here’s a link to download them…


You can see / hear some videos of them here…



Cheers, Jules


You must be logged in to reply to this topic.