Jitter Balls

Jason Orri's icon

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.
Thanks
J

Dg's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

efe's icon

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!

702.Ball.zip
zip
Ad.'s icon

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'

Oups…
Any idea of what is it about ?
Thx

efe's icon

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!
Emmanuel

Nick Donovan's icon
Ad.'s icon

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 ?
Ad.
Mac 10.5, leopard

pixelmechanic's icon

Hi

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