This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Idea: YankeeMinstrel | |
# Python code: torstengrust | |
# Animated GIF: Nicolas Seriot, 2017-07-01 | |
# https://www.reddit.com/r/cellular_automata/comments/6jhdfw/i_used_1dimensional_cellular_automata_to_make_a/ | |
from PIL import Image, ImageDraw | |
from images2gif import writeGif | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# description: Game of Life Visualization | |
# author: Nicolas Seriot | |
# idea: https://twitter.com/JacobJoaquin/status/923681854254825473 | |
# typical outout: http://seriot.ch/visualization/gol.gif | |
from PIL import Image, ImageDraw | |
from images2gif import writeGif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Author: Nicolas Seriot | |
# Date: 2018-03-17 | |
# Description: Reproducing Benjamin Kovach's art with pycairo | |
# https://www.kovach.me/Generating_artwork_with_Haskell.html | |
# Output: http://seriot.ch/visualization/kovach_pycairo.png | |
# Gist: https://gist.github.com/nst/3dc5378399678be7eb297ef18580025e | |
import cairo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Nicolas Seriot, 2018-11-04 | |
# According to "Schotter" by Georg Nees | |
# https://collections.vam.ac.uk/item/O221321/schotter-print-nees-georg/ | |
# Idea: randomness for x, y and rotation does increase at each row | |
# Sample output: http://seriot.ch/visualization/schotter_pycairo.png | |
import cairo | |
import random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# description: Game of Life Visualization | |
# author: Nicolas Seriot | |
# idea: https://twitter.com/JacobJoaquin/status/923681854254825473 | |
# typical output: http://seriot.ch/visualization/gol.gif | |
# typical output: http://seriot.ch/visualization/gol2.gif | |
import cairo | |
import random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Nicolas Seriot, 2018-11-14 | |
# According to... | |
# Sample output: ... | |
import cairo | |
import random | |
import math |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Nicolas Seriot, 2018-11-04 | |
# According to "Schotter" by Georg Nees | |
# https://collections.vam.ac.uk/item/O221321/schotter-print-nees-georg/ | |
# Idea: randomness for x, y, rotation and alpta does increase at each row | |
# Sample output: ... | |
import cairo | |
import random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import cairo | |
import math | |
import imageio | |
import numpy | |
from PIL import Image | |
COLOR_ORANGE_SQ = (250/255., 92/255., 53/255.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cairo | |
import random | |
import sys | |
# Nicolas Seriot | |
# 2020-12 | |
# http://seriot.ch/temp/maze.png | |
def draw(img, c, r): | |
img.move_to(c,r) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Nicolas Seriot | |
# 2021-09-16 | |
# Isometric Towers | |
# Reimplementation of @bendotk art | |
# https://twitter.com/nst021/status/1437889678947110912 | |
# Typical output: https://seriot.ch/visualization/iso.png | |
import cairo | |
import random |