hi i want to create a js which creates an sketch object with drawing triangels by hand. my problem is, i couldn’t figure out how to create them in js. with jit tutorial 40 an 47. but there are no sketch objects. thanks
mysketch.shape = ["tri",x....z] doesent work
This is the same construct i am using for creating spheres and cubes. The problem is, i know how to create the jitter sketch object
sketch = new JitterObject("jit.gl.sketch",dest);
but i didnt know how to access it to draw an triangle. this doesnt work.
sketch.shape = ["tri",x....z];
and i didnt find anything to this at the help http://cycling74.com/docs/max6/dynamic/c74_docs.html#jit.gl.sketch
and jit tutorial 40