jblog
toc

Pentecost

2015-05-25, post № 32

art, #animated, #animated gif, #celebrate, #draw, #gif, #Pentecost, #pixel, #pixel art, #pixels, #Whitsun, #Whitsunday, #Whitsuntide

My animated gif regarding Pentecost.

pentecost.gif

JClock II

2015-05-24, post № 31

programming, Pygame, Python, #around, #around the center, #background, #center, #change, #changing, #circle, #clock, #clock face, #clock time, #clockface, #clocktime, #count, #current time, #GetCirclePos(), #new, #quantity, #sizes, #time.time(), #visualization

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.

jclock-ii.png

This clock face would represent 21:46:42.

How to read the clock

  • 𝟤𝟣 green circles represents 𝟤𝟣 hours,
  • 𝟦𝟨 teal circles represents 𝟦𝟨 minutes,
  • 𝟦𝟤 blue circles represents 𝟦𝟤 seconds,
  • some white circles represents centiseconds (one hundredth of a second, mainly for the look);
  • current time: 21:46:42.
Source code: jclock-ii.py

Colors VI

2015-05-23, post № 30

programming, Pygame, Python, #background, #beautiful, #change, #changing, #color, #color change, #colors, #different colors, #gradient, #image, #images, #png, #saving

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’.

colors-vi-1.png
colors-vi-2.png
colors-vi-3.png
Source code: colors-vi.py

Image generation snippets: colors-vi_snippet-1.py, colors-vi_snippet-2.py, colors-vi_snippet-3.py

Jonathan Frech's blog; built 2021/04/16 20:21:20 CEST