I keep this first post updated, so it will always have the lasts instructions
Hi everyone !
I want to present you a thing I made these last days : a 3D fractal explorer.
First, a pic : Mandelbox
So you can explore in real-time this kind of objects. Do not expect awesome performances, however. It depends on the fractal.
The way the fractals are defined is pretty simple : you «just» have to implement a function that, given a point in space, tell the distance between this point and the closest point of the fractal. After that, DEFract tries to render it. But don't worry, a lot of cool example fractals are already included. Write such a function require high mathematical level (that I don't have), but it is easy to play with one to modify the fractal.
The good news is that the fractals' definition are stored in your LÖVE save folder, and you can edit them, and as soon as you save, the fractal will update (if opened).
Also, it supports animated fractal (by inserting the "time" variable in the fractal code), and recording of animated fractal.
So, how to use :
Keybinding :
- Arrows to move
- pageup/pagedown to change focal distance
- Mouse to look around
- left control to open GUI control panel
- Tab to switch between fractals
- F2 to take a screenshot. It will be store in the LÖVE saving directory.
- Escape to exit
A rotated Menger Sponge : New pictures for the new version! Oh, and this is the third time I play with GLSL, and the third time I play with LÖVE. So don't expect this to work perfectly. I spotted some bugs just as I typed. If it crashes please give me the error (and your graphical card name if the error is related to the pixeleffect code).
Sorry for the long post, I'm quite excited to present my work.
Oh last thing, play some trippy music while exploring fractals. Like this : http://www.youtube.com/watch?v=gsnS8mfwtJw
Browse the source on github : https://github.com/plule/DEFract/
Cheers.