News for hackers. Stuff that matters.
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.

Re:Wrapping Images Around Fractals by eroeroe on Saturday November 30, 2019 @04:37PM (#21672280)
Yes, I agree: the GLSL is a adding value.

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!

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