hp
jblog
toc

JClock V

2015-09-20, post № 66

programming, Pygame, Python, #alternative, #bar, #bar clock, #bars, #clock, #clockface, #time

This alternative clock design may not be particularly readable, but it is nice to look at.

jclock-v-1.png
Source code: jclock-v.py

Text Scrambler

2015-09-19, post № 65

programming, Python, #letters, #mixed, #reading, #scrambled, #text

This program demonstrates an interesting phenomenon regarding reading. It shows, that we are not reading letter by letter, but rather word by word.

Taht is why you can mkae snsee of this sennetce.

text-scrambler.png
Source code: text-scrambler.png

J-Filters II

2015-09-13, post № 64

programming, Pygame, Python, #blur, #color depth, #filter, #image, #image manipulation, #img, #J-Filter, #mix-up

Playing around with pygame and image manipulation, I created another set of filters. My previous filters can be found here.

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

j-filters-ii_original.jpg

This is a simple blur filter. It takes the average of pixel attached to one another.

j-filters-ii_blur.png

This filter changes the color depth. A usual image has color values from 𝟢 to 𝟤𝟧𝟧 on red, green and blue. The filter changes those values to 𝟢 to 𝟪.

j-filters-ii_color-depth.png

Mix-up repositions the pixels from their original position. So it creates a mixed-up image.

j-filters-ii_mix-up.png
Source code: j-filters-ii_blur.py
Source code: j-filters-ii_color-depth.py
Source code: j-filters-ii_mix-up.py

Primes II

2015-09-12, post № 63

mathematics, programming, Pygame, Python, #black, #black and white, #circle, #circles, #cixel, #gray, #numbers, #prime, #round, #visualization

Inspired by my Cixel filter, I designed another prime visualisation program.

primes-ii.png
Source code: primes-ii.py

Space Adventures

2015-09-06, post № 62

art, #animated, #animated gif, #engine, #flight, #pixel, #pxl, #sky, #space, #spacecraft, #stars

Our little pixel hero tries himself as an astronaut. But on his trip he gets lost in the vastness of space…

space-adventures.gif

J-Filters

2015-09-05, post № 61

programming, Pygame, Python, #art, #change, #filter, #filters, #image, #image filters, #image software, #img, #manipulation, #pic, #picture

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.

j-filters_original.jpg

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

j-filters_cixel.png

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

j-filters_drawing.png

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

j-filters_stretch.png
Source code: j-filters_cixel.py
Source code: j-filters_drawing.py
Source code: j-filters_stretch.py

R-Lines

2015-08-30, post № 60

art, programming, Pygame, Python, #black, #black and white, #draw, #line, #pseudo random, #random, #white

Starting at the screen’s center, this program draws randomly long lines in a random direction. The lines cannot leave the screen.

r-lines-2.png
r-lines-1.png
r-lines-3.png
Source code: r-lines.py

Trippy

2015-08-29, post № 59

programming, Pygame, Python, #aa, #antialiased, #black, #circles, #color, #colors, #different colors, #fade, #fading, #gfx, #gradient, #graphics, #onion, #pygame.gfxdraw()

Using the extended pygame graphics function pygame.gfxdraw [1], this program creates randomly colored trippy circles. There are 𝟣𝟢𝟢 circles, which get redrawn every 𝟣𝟢𝟢 ticks (~ 𝟣.𝟨 seconds).

trippy-1.png
trippy-2.png
trippy-7.png
Source code: trippy.py
Jonathan Frech's blog; built 2024/08/31 22:59:44 CEST