Education Prize Logo
Science SPORE Prize
November 2011

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

Advice please?: AnalyticCurve variables

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

Advice please?: AnalyticCurve variables - Jun 23 at 9:48AM
Mark Brand
3 Posts

Hi everybody. I'm trying to plot a 4-point bezier curve with moveable control-points on a DrawingPanel using AnalyticCurve.  All is well as long as my FunctionX and FunctionY are in terms only of t and literals, but I am not able to employ any model variables (which would be tracking the control points I wish to manipulate).  I've tried to employ custom functions instead, but that doesn't work for me either (EjsS_5.3_180211).

Please: can anybody advise on an appropriate approach to the above problem?  I've thought that a custom element might hold the answer, but I'm not able to figure out how to implement that either.  Any pointers to source code dealing with similar issues would be equally welcome.  Thank you sincerely in anticipation.


Current Replies - View all
Re: Advice please?: Analy...   (lookang - Jun 23)
Re: Re: Advice please?: A...   (Mark Brand - Jun 23)
Re: Re: Re: Advice please...   (lookang - Jun 24)
Re: Re: Re: Re: Advice pl...   (Mark Brand - Jun 26)
The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics