jblog
toc

Bobble Throw

2015-07-26, post № 50

programming, Pygame, Python, #active, #art, #background, #black, #blue, #bobble, #bobbles, #bounce off, #colors, #mouse, #mouse control, #movement, #moving

Playing around with circles and colors, I came up with this good-looking program. If active, 𝟨𝟢 bobbles per second will spawn at your cursor position. They will bounce off the four edges of your screen, start fading towards black and eventually go away completely.

Controls

  • ‘Space’ toggles whether or not the bobbles are moving.
bobble-throw-2.png
bobble-throw-3.png
bobble-throw-1.png
Source code: bobble-throw.py