Category Archives: Mathematics

The Mandelbrot set, in python

This code is so fascinating
from PIL import Image

max_iteration = 1000
x_center = -1.0
y_center =  0.0
size = 300

im = Image.new(“RGB”, (size,size))
for i in xrange(size):
for j in xrange(size):
x,y = ( x_center + 4.0*float(i-size/2)/size,
[...]

Image self consistency from xkcd

I love xkcd. A comic combining fun and math by definition has to be good and geeky and the author, Randall Munroe, is a real genius on this. The latest comic is pretty interesting
The image is self-descriptive, meaning that each graph represents information about the image itself. For example, the first panel contains a pie [...]

InspectorWordpress has prevented 1 attacks.