We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Traer Physics (Read 591 times)
Traer Physics
Nov 25th, 2009, 1:50am
 
Hi everyone!

I'm making a program that collects data from different websites and visualizes it as a tree. In my search for some ideas to the graphics I found this example made using the traer physics library, wich lookes pretty nice.

(I'm not allowed to post websites, but this is were you can find the example.)
cs.princeton.edu/~traer/physics/random_arboretum/index.html

Is there any way to change this example to make it look like a tree? It would need a stable trunk with one fixed particle and a particle system in each end. One for the branches and one for the roots.
Is there a way to constrain the positions of the particles? The roots e.g. shouldn't be able to "grow" over ground.

All answers are appreciated!
Many thanks,
Clara

cs.princeton.edu/~traer/physics/
Page Index Toggle Pages: 1