Tinker
- Description
Creating a Tinker object adds a panel to your sketch containing interface elements that allow you to manipulate variables or fire functions. Because these controls derive from Grip, you must create a GripDispatcher before creating a Tinker.
In order to add controls to the Tinker panel, mark variables with annotations (see @Editable), then call Tinker.load(Object). All annotated variables must be public.
Annotations are a special Java construct that allows a programmer to describe his/her code. You can think of them as comments that the compiler “understands”.
- Methods
- Constructors
new Tinker(PApplet); new Tinker(annotatedObject);- Related
No Comments
You must be logged in to post a comment.