2015-10-10, post № 71
programming, Pygame, Python, #alternative, #art, #color, #colors, #draw, #drawing program
In an attempt to make drawing using a computer mouse easier, I created JDrawer. By pressing the left mouse button, you start or stop drawing. By simply moving your cursor the program then draws accordingly. The line’s colors are picked at random.
- Left click starts and stops drawing,
- Right click erases bits of the image,
- ‘c’ clears the whole image,
- ‘Space’ saves the image.
2015-10-04, post № 70
programming, Pygame, Python, #art, #background, #bridges, #falling, #grain, #grains, #sand, #shades
This program lets you watch grains of sand fall. The grains shift in color, according to the color algorithm assigned. You also can build bridges to change the sand’s falling behavior.
- Left clicking spawns in new grains of sand,
- Right clicking draws a bridge,
- ‘Space’ saves a screenshot.
2015-10-03, post № 69
programming, Pygame, Python, #filter, #image, #image manipulation, #img, #soft
This filter swaps the red and blue color values. It results in a rather soft image.
The original image (can also be found on my Stacking Stones post).
RGB Swap (just swaps the red and blue color value, that is why the lake appears red).
Jonathan Frech's blog; built 2021/04/16 20:21:20 CEST