[Hampshire] Chaos is here! - Mira fractal generator for Linu…

Top Page
Author: Damian L Brasher
Date:  
To: hampshire
Subject: [Hampshire] Chaos is here! - Mira fractal generator for Linux (C and SDL)

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x58638100.hantslug.org.uk.998': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Mon Oct 17 18:29:59 2011 BST
gpg: using RSA key E5B6AC918A7E551C
gpg: Can't check signature: No public key
Hi Group

Back in the days, yet another little project I have unearthed for IEF
consolidation and marketing multiplier purposes - here is a little mira
fractal generator for Linux (C and SDL, 300 lines). It's only rough but
works well and is pretty. Recently modernised and licensed and available
on SourceForge (a warm up exercise).

Displays a selection of pretty dust type mira fractals one after the
other in colour rather like a slide show; 800x600. This simple fractal
demonstration uses the SDL graphics library and the dust type fractal
algorithm, mira.

F(x) = ax +(1-a)2x^2/1+x^2

The README contains an introduction and maths; based on an algorithm
from "FRACTALS - Images of chaos - Hans Lauwerier". You can also modify
line 244 for different effects, apart from other vars.

Building is simple:

#gcc fractal.c -L -lSDL_image -lSDL -o fractal
#./fractal

It's now a SourceForge project, where you can the code and view some
screenshots:

http://sourceforge.net/projects/iefmirashow

Best
Damian

--
Interlinux Engineering Foundation http://www.interlinux.org.uk

Central, non-trading, administration, governance and dissemination of
foundation intellectual property and know-how.

GPG 8A7E551C
--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------