5 MandelWow is a generalized version of Mandelbrot & Julia in which both C and Z0 vary in a 4-dimensional space.
6 In each frame, we render a 3D slice of the MandelWow, varying the remaining dimension through time.
8 I wrote this hack to learn Rust & basic GLSL. Mind the mess.
11 ## Building from source
15 Install cargo, then simply type:
21 ### WebAssembly / asm.js
23 Install emsdk 1.36.14:
27 curl -O https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz
28 tar xf emsdk-portable.tar.gz
29 source emsdk-portable/emsdk_env.sh
30 emsdk install emscripten-1.37.9 --build=MinSizeRel
31 emsdk activate emscripten-1.37.9 --build=MinSizeRel
38 curl https://sh.rustup.rs -sSf | sh
40 rustup toolchain install nightly
41 rustup default nightly
42 rustup target install asmjs-unknown-emscripten
43 rustup target install wasm32-unknown-emscripten
46 Build and run mandelwow:
53 Build the WebAssembly binary:
62 The native binary requires OpenGL 3.1. Should perform well on reasonably modern
63 hardware. Tested on Linux with Intel HD Graphics 4000 (Ivy Bridge) and NVidia GTX 970.
65 The asmjs and WebAssembly versions were tested on Chromium 57 and Firefox 53.
69 This project is GPL 3.0.
70 The support/ directory contains some code forked from Glium, which was originally Apache 2.0.