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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -