hp
toc

Circle Mover

2015-07-04, post № 43

programming, Pygame, Python, #angle, #angles, #around, #around the center, #entities, #entity, #getCirclePos(...), #red, #spinning, #turning

Playing around with angles and my getCirclePos() function, I came up with these little entities. They have a center, a distance to that center and an angle which constantly increases. Those parameters also randomly change.

circle-mover-1.png
circle-mover-3.png
circle-mover-4.png
Source code: circle-mover.py
Extra assets: circle-mover-2.png
Jonathan Frech's blog; built 2024/08/31 22:59:44 CEST