Random rotations values
in
Programming Questions
•
2 years ago
Hi,
I am very new with Processing and I am trying to find some hints for coding a "simple" University-project.
I have loaded 2 triangles (in .svg) and I would like to assign a new random rotation value for each triangle (when clinking o typing a letter). They are rotating from the same point but the rotation value should be different for each triangle. (I don´t need to see the transition, only the new position)
Please find in attached a sketch.
Any hints?
Thank you very much
S.
after clinking o typing:
I am very new with Processing and I am trying to find some hints for coding a "simple" University-project.
I have loaded 2 triangles (in .svg) and I would like to assign a new random rotation value for each triangle (when clinking o typing a letter). They are rotating from the same point but the rotation value should be different for each triangle. (I don´t need to see the transition, only the new position)
Please find in attached a sketch.
Any hints?
Thank you very much
S.
after clinking o typing:
2