Skip to content

Instantly share code, notes, and snippets.

@maltefl
maltefl / fractalgan.py
Created February 21, 2012 18:55 — forked from smukkejohan/chaossearh.py
Python port of Paul Bourke's random strange attractor generator using lyapunov exponents
# Python port of Paul Bourke's http://local.wasp.uwa.edu.au/~pbourke/fractals/lyapunov/gen.c
# By Johan Bichel Lindegaard - http://johan.cc
import math
import random
from PIL import Image, ImageDraw
import argparse
import os
parser = argparse.ArgumentParser(description='Search for chaos.')