J-Filters

Getting into image manipulation, I created a few filters to change the look and feel of digital images. Though the software is not the most efficient, the results are looking good.

For demonstration purposes I used an image from my post Stacking Stones.
The original image

This filter I call Cixel, because it combines square pixels with round circles.
The Cixel filter applied

Again working with circles, the Draw filter tries to imitate a drawn picture.
The Drawing filter applied

Using lines and a fixed point, thed Stretch filter stretches the image to the lower right corner.
The Stretch filter applied


# Python 2.7.7 Code
# Pygame 1.9.1 (for Python 2.7.7)
# Jonathan Frech 21st of August, 2015
# Python 2.7.7 Code
# Pygame 1.9.1 (for Python 2.7.7)
# Jonathan Frech 21st of August, 2015
# Python 2.7.7 Code
# Pygame 1.9.1 (for Python 2.7.7)
# Jonathan Frech 21st of August, 2015

Continue reading

JClock II

This is an alternative clock design. Version two is even prettier to look at.
Instead of a few clock hands spinning their circles, every hour, minute, second and centisecond is represented as differently colored circles on four imagined circles around the center. That way you have a visualization by quantity, not by position.
21:46:42
This clock face would represent 21:46:42.

How to read the clock

  • 21 green circles
    • represents 21 hours
  • 46 teal circles
    • represents 46 minutes
  • 42 blue circles
    • represents 42 seconds
  • some white circles
    • represents centiseconds (one hundredth of a second, mainly for the look)
  • Current time: 21:46:42

# Python 2.7.7 Code
# Pygame 1.9.1 (for Python 2.7.7)
# Jonathan Frech 18th of May, 2015
#         edited 19th of May, 2015
#         edited 20th of May, 2015

Continue reading

Colors VI

This sixth version of my ‘Colors’ program has only a few improvements. At first it uses a different method to change the individual pixels. Instead of using ‘pygame.PixelArray()’ it calls on the surface ‘.set_at()’. Also you get an indicator if it has finished drawing (to be seen in the caption). At last it always – not needing a user input – saves the drawing if it is finished.
To get more information on my ‘Colors’ program, see ‘Colors V’.

Image 1 Image 2 Image 3


# Python 2.7.7 Code
# Pygame 1.9.1 (for Python 2.7.7)
# Jonathan Frech 23rd of March, 2015
#         edited  2nd of April, 2015
#         edited 20th of May  , 2015

Here goes the ‘getColor()’ function.
Continue reading