arcs with jit.gl.sketch

Mar 3, 2012 at 2:23pm

arcs with jit.gl.sketch

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.

#62117
Mar 5, 2012 at 2:43am

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.

#224370
Mar 5, 2012 at 9:49pm

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!)

#224371
Mar 6, 2012 at 9:27pm

Ok, I got it working. Thanks Scott!

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

Thanks guys.

#224372
Mar 7, 2012 at 4:17am

@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

#224373

You must be logged in to reply to this topic.