Re:Wrapping Images Around Fractals
by gedy on Friday November 22, 2019 @05:57PM
(#21611012)
A friend of mine found on his own about 20 years ago programming fractals in Amiga basic, and since then have I ported/played with to Java, C++, and eventually JavaScript.
Re:Wrapping Images Around Fractals
by n3k5 on Saturday November 23, 2019 @10:11AM
(#21614480)
> Maybe one day I will revisit this project and properly rewrite the whole thing.
I recommend doing it in GLSL. It's very little effort to implement (about 30–50 lines of code) and even on a modest GPU it'll run fast enough so you can explore different parameters interactively. As a bonus, you can get MIP-mapping for basically free — no more aliasing!
In case you don't want to learn OpenGL or Vulkan, you can use a tool such as Shadertoy.
glChAoS.P ⋅ wglchaosp.p - Real time 3D strange attractors GPU explorer... and hypercomplex fractals
It's both OpenGL and WebGL (via WebAssembly), also opensource and multi platform.. and explores over 100 types between attractors, fractals and also DLA3D (Diffusion Limited Aggregation)
Re:Wrapping Images Around Fractals
by DerDangDerDang on Sunday November 24, 2019 @03:25AM
(#21619121)
Writing fractal shaders is great fun, agreed. I found mip mapping introduced artefacts around discontinuities in the texture coordinates - this was doing orbit trap texturing, but the UVs in the described method would have similar discontinuities. The artefacts can be reduced with a bit of care, iirc
I explain in detail how an image can be inserted in a Mandelbrot/Julia set.
Again, sorry for my English.
(Images are not uploaded, all in browser)
Here's the results of an AfterEffects video plugin I wrote about 2003: https://vimeo.com/105310176
https://www.deviantart.com/bryceguy72/art/Julia-s-Garden-781...
https://www.deviantart.com/bryceguy72/art/Dark-Forces-575209...
https://www.deviantart.com/bryceguy72/art/Cobra-Cantor-19622...
https://www.deviantart.com/bryceguy72/art/Weaver-Fever-19728...
I recommend doing it in GLSL. It's very little effort to implement (about 30–50 lines of code) and even on a modest GPU it'll run fast enough so you can explore different parameters interactively. As a bonus, you can get MIP-mapping for basically free — no more aliasing!
In case you don't want to learn OpenGL or Vulkan, you can use a tool such as Shadertoy.
I found great and fabulous this: https://www.michelemorrone.eu/glchaosp/
glChAoS.P ⋅ wglchaosp.p - Real time 3D strange attractors GPU explorer... and hypercomplex fractals
It's both OpenGL and WebGL (via WebAssembly), also opensource and multi platform.. and explores over 100 types between attractors, fractals and also DLA3D (Diffusion Limited Aggregation)
Very beautiful!