p5.js - Define rotational anchor point in the center of a quad shape in p5js -
i know there rectmode(center)
of both rectangles , ellipses, other shapes triangles , quad shapes?
it's going hard write long reply because answer no, there isn't rectmode()
triangles or shapes create using quad()
or vertex()
functions.
you use translate()
function translate center of shape, , draw of points relative that. solve question think you're trying ask calling rotate()
function.
Comments
Post a Comment