jblog
toc

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

Stacking Stones

2015-08-23, post № 58

art, #pile, #rock, #stack

Driven by pure boredom, I started picking up some stones near a lake and tried to stack them on top of each other. [1] I thought, they looked kind of cool — these are my favourite ones.

stacking-stones-9.jpg
stacking-stones-5.jpg
stacking-stones-1.jpg
stacking-stones-11.jpg

Random Resource Locator

2015-08-22, post № 57

programming, Python, #address, #com, #domain, #page, #pseudo random, #random, #rrl, #url, #web, #webpage, #webserver, #websize

I once heard that every domain containing three letters of the alphabet and ending with ‘.com’ was assigned to some web server. This would mean, all 𝟣𝟩𝟧𝟩𝟨 [1] domains were used.
To test it, I wrote this little Python program.

Usage

  • To use it, simply press enter to open a random page. Because you often will get redirected, the program will print out the url on the screen.
random-resource-locator-1.png
Source code: random-resource-locator.py
Jonathan Frech's blog; built 2021/04/16 20:21:20 CEST