The Open Source Physics website will be unavailable Friday evening through Saturday afternoon as electrical work occurs in the American Center of Physics server room. Down time will begin at 6PM Eastern Time on Friday. Service is expected to resume by 6PM on Saturday, July 30.

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

variable size of particle set objects?

Return to the EJS Modeling forum
Login to post to this thread

variable size of particle test objects? - Mar 6, 2012 at 5:24PM
David Joiner
4 Posts

Is it possible to use an array for the size of individual objects in a particle set in the 2-D drawing pane?

I'm creating a model of an n-body simulation with collisions, and would like to have merged objects appear larger based on their mass.

Current Replies - View all
Re: variable size of part...   (Francisco Esquembre - Mar 6, 2012 at 5:46PM)
The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics