News for hackers. Stuff that matters.
Re:Wrapping Images Around Fractals by bamia on Friday November 22, 2019 @01:21PM (#21608323)
I started building my website where I share some of my work, and this is my first article.

I explain in detail how an image can be inserted in a Mandelbrot/Julia set.

Again, sorry for my English.

Re:Wrapping Images Around Fractals by namanyayg on Friday November 22, 2019 @03:22PM (#21609645)
Some great results, both mathematically and visually. Learnt a bunch. Thanks for putting it up online!
Re:Wrapping Images Around Fractals by benji_is_me on Friday November 22, 2019 @05:42PM (#21610886)
Gimp has a feature for this. Filters > Map > Fractal Trace. https://docs.gimp.org/2.10/en/gimp-filter-fractal-trace.html
Re:Wrapping Images Around Fractals by gedy on Friday November 22, 2019 @03:30PM (#21609730)
I did some work on this in JavaScript a while back: http://garythom.as/myo/julia/

(Images are not uploaded, all in browser)

Re:Wrapping Images Around Fractals by Rexxar on Friday November 22, 2019 @08:25PM (#21611789)
You should do a "Show HN" for it. I think a lot of people will like it.
Re:Wrapping Images Around Fractals by bamia on Friday November 22, 2019 @04:01PM (#21610032)
Nice! How did you discover this method? How did it all began?
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.

Here's the results of an AfterEffects video plugin I wrote about 2003: https://vimeo.com/105310176

Re:Wrapping Images Around Fractals by gedy on Friday November 22, 2019 @07:26PM (#21611518)
Small world! Ivan is the friend I mentioned in another comment here
Re:Wrapping Images Around Fractals by namanyayg on Friday November 22, 2019 @03:23PM (#21609658)
Anyone else seeing a rotating snakes-esque illusion in the first few fractals?
Re:Wrapping Images Around Fractals by Rexxar on Friday November 22, 2019 @06:41PM (#21611254)
Switching between this and a blank page make it incredibly visible for me.
Re:Wrapping Images Around Fractals by schaefer on Friday November 22, 2019 @04:36PM (#21610352)
yep.
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