You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was messing about and ChatGPT hallucinated the existence of Vertex.random(dice, maxX, maxY)... which I sort of like? Maybe it is an extension method for point-like types?
The text was updated successfully, but these errors were encountered:
The problem with this work is that there are many many permutations of random 'things' that you might want. So I've tried to provide some generally useful instances but stopped short of trying to provide ways to make any sort of random things. Use cases I've thinking off:
A random angle: 0 to 2*PI
A random point/size/rectangle on the screen: 0 to screen size
A random point/size/rectangle in a given range: min to max
A random vector2/3/4/vertex: Each component is a random 0.0 to 1.0, leaving you to manipulate further if you wanted something else.
I was messing about and ChatGPT hallucinated the existence of
Vertex.random(dice, maxX, maxY)
... which I sort of like? Maybe it is an extension method for point-like types?The text was updated successfully, but these errors were encountered: