Education Prize Logo
Science SPORE Prize
November 2011

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

how to draw polygon in EJSS models?

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

how to draw polygon in EJSS models? - Sep 24, 2013 at 3:39AM
lookang Avatar
lookang
111 Posts

dear EJS community,

how to draw polygon in EJSS models?




previously in EJS,
X Data = new double[] {-0.5, 0.5, 0}
Y Data = new double[] {0.0, 0.0, 1.0}

but in in EJSS, how do i define the points of the polygon?

Post edited September 24, 2013 at 3:39 AM EST.

Attached File: ejss_src_rockettemplatelookang.zip


http://weelookang.blogspot.sg

Current Replies - View all
Re: how to draw polygon i...   (Francisco Esquembre - Sep 24, 2013 at 4:28AM)
Re: Re: how to draw polyg...   (lookang - Sep 24, 2013 at 5:38AM)
Re: how to draw polygon i...   (Wolfgang - Sep 24, 2013 at 7:48AM)
The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics