Misc Utility Functions
Contents
arcade.generate_uuid_from_kwargs
arcade.lerp
arcade.lerp_vec
arcade.rand_angle_360_deg
arcade.rand_angle_spread_deg
arcade.rand_in_circle
- arcade.rand_in_circle(center: Union[Tuple[float, float], List[float]], radius: float)[source]
Generate a point in a circle, or can think of it as a vector pointing a random direction with a random magnitude <= radius Reference: https://stackoverflow.com/a/30564123 Note: This algorithm returns a higher concentration of points around the center of the circle