aboutsummaryrefslogtreecommitdiff
path: root/generate-samples
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-06-06 22:00:38 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-06-06 22:00:38 +1200
commit684e26ce72e75e9812390d43fa2cb43452ea0816 (patch)
treec897cdc0da79377f14319170863aad901fe6553a /generate-samples
parentb1c2832d923296b7e3964aa9127b80fa4d3c0099 (diff)
downloadfractal-gen-684e26ce72e75e9812390d43fa2cb43452ea0816.tar.xz
Fast-forward to new version
Diffstat (limited to 'generate-samples')
-rwxr-xr-xgenerate-samples32
1 files changed, 0 insertions, 32 deletions
diff --git a/generate-samples b/generate-samples
deleted file mode 100755
index 6cdd2fb..0000000
--- a/generate-samples
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-OUT_DIR="samples"
-
-mkdir -p $OUT_DIR
-
-
-
-make_sample () {
- # Configure the generator
- echo unsigned int SIZE=$1\;unsigned int ITERATIONS=$2\;float POWER=$3\; > config.c
- make config
-
- # Generate raw data
- ./mbrot-gen > $OUT_DIR/$1-$2-$3pow.raw
-
- # Make normal colour image
- ./raw-to-png $OUT_DIR/$1-$2-$3pow.raw $1 $1
- mv 0,0.png $OUT_DIR/$1-$2.png
-
- # Make (hypnotic) bw image to show boundaries clearly
- ./raw-to-png-bw $OUT_DIR/$1-$2-$3pow.raw $1 $1
- mv 0,0.png $OUT_DIR/$1-$2-$3-pow-bw.png
-
- rm $OUT_DIR/$1-$2-$3pow.raw
-}
-
-for it in 10 50 100; do
- for res in 35 70 140 280 560 1120 2240; do
- make_sample $res $it 2
- done
-done