arcs with jit.gl.sketch

jirko's icon

Is there any example out there that's shows how to paint arcs with jit.gl.sketch? I can't find information about this either in the forum or in the tutorials. Any help is much appreciated.

Scott Fitzgerald's icon

Use the framecircle message

framecircle
radius [float]
theta-start [float]
theta-end [float]
Draws the circumference of the circle with radius specified by radius and center point at the current drawing position. If theta-start and theta-end are specified, then an arc will be drawn instead of a full circle. The theta-start and theta-end arguments are in terms of degrees (0-360). The current shapeorient and shapeslice values will also affect the drawing.

Wetterberg's icon

does it have to be jit.gl.sketch? I find that jit.gl.path is such a sublime little object. (hey cycling, I'd love to see some of you wonderful example patches using it!)

jirko's icon

Ok, I got it working. Thanks Scott!

And yes, I have to check out this new object, looks nice.

Thanks guys.

Rob Ramirez's icon

@Wetterberg:
just want to make sure you've seen these examples:
Max6/examples/jitter-examples/render/path/path.knot.maxpat
Max6/examples/jitter-examples/render/path/path.morph.contour.maxpat