Logo by simon.snake - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit us on facebook
 
*
Welcome, Guest. Please login or register. February 20, 2018, 12:15:54 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1] 2   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: [Shadertoy] Mandelbrot DE Gradient + 3D Effect  (Read 3009 times)
0 Members and 1 Guest are viewing this topic.
tit_toinou
Iterator
*
Posts: 192


« on: August 16, 2014, 12:13:30 PM »

Hi all,

[[ EDIT 2016 November 6]] :

You can have a look at this technique and tweak the GLSL code in Shadertoy !

Mandelbrot Filaments & Lightning

I also added a nice 3D effect :

Mandelbrot Shadow (3D Illusion)
Epileptic Mandelbrot

[[ /EDIT ]] :

I've recently explored Mandelbrot with the distance to decide the color and its gradient for the brightness of the pixel.
We can see the borderlines way more clearly : thanks to the modulus of the gradient they must be one or two pixels width.

~Edit 26th april :
I've uploaded on github the sketch as asked : https://github.com/ttoinou/MandelbrotDE
Post your images on this topic smiley

Here's the gallery and few samples :











« Last Edit: November 06, 2016, 06:23:07 PM by tit_toinou, Reason: new shadertoy sketch » Logged

Chillheimer
Global Moderator
Fractal Schemer
******
Posts: 972


Just another fractal being floating by..


chilli.chillheimer chillheimer
WWW
« Reply #1 on: August 16, 2014, 06:56:49 PM »

wow! very very cool!!  shocked cheesy

what program did you use to do this?
Logged

--- Fractals - add some Chaos to your life and put the world in order. ---
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #2 on: August 16, 2014, 10:40:22 PM »

Nice way to get the brightness to show the error in the distance estimation wink
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
tit_toinou
Iterator
*
Posts: 192


« Reply #3 on: August 17, 2014, 04:25:39 AM »

Thanks.

@Chillheimer : I use my own Processing program. Sad thing is Processing can't handle double, it only has float..

@David Makin : I don't think theses are error artefacts.
It gets whiter where the distance does not stay constant : near the border (along spines) and far away.
But at the middle between two spines the derivative of the distance is near 0, so that's why it gets darker.
Logged

laser blaster
Iterator
*
Posts: 178


« Reply #4 on: August 18, 2014, 12:06:19 AM »

Very cool! Is the gradient the derivative of the DE function? And do you calculate it analytically or with finite differencing?
Logged
tit_toinou
Iterator
*
Posts: 192


« Reply #5 on: August 18, 2014, 02:27:58 AM »

Very cool! Is the gradient the derivative of the DE function? And do you calculate it analytically or with finite differencing?
Yes, DE gives me a matrix of distance, I then differentiate this matrix with a Sobel operator (on the X axis and Y axis separately) and take the modulus of the two numbers. Talking about gradient was maybe wrong  embarrass .. Anyway it also works with others filters and gives pretty much the same thing !

Looking at the angle (of the two numbers from the filter) is also very interesting I'll post images soon.
Logged

Adam Majewski
Fractal Lover
**
Posts: 221


WWW
« Reply #6 on: April 18, 2015, 06:54:19 PM »

 "I use my own Processing program. Sad thing is Processing can't handle double, it only has float.."

Can you post the code with description ?

Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #7 on: April 18, 2015, 07:35:31 PM »

It looks like a great work, so sharing will be appreciated.
Logged

No sweat, guardian of wisdom!
tit_toinou
Iterator
*
Posts: 192


« Reply #8 on: April 18, 2015, 09:49:40 PM »

Of course, give me a few days to clean the code from useless littles tweaks and release it on the internet.
The second image was made thanks to photoshop by merging (the formulae -fusion mode- should be pretty simple to find though) two output images from the same sketch (it outputs as many images as we want).


By the way I've begun to code After Effects plugins. I've ported this Mandelbrot DE generator, here are the first images :








« Last Edit: April 26, 2015, 02:05:42 PM by tit_toinou » Logged

tit_toinou
Iterator
*
Posts: 192


« Reply #9 on: April 26, 2015, 02:07:45 PM »

@Adam Majewski & DarkBeam : I've uploaded the code on github : https://github.com/ttoinou/MandelbrotDE.

Here's an image with the angle :



I'm sure we can find nice coloring algorithms using the angle smiley .


Please post here the fractals you've created with my sketch !
Logged

tit_toinou
Iterator
*
Posts: 192


« Reply #10 on: November 04, 2016, 05:29:25 PM »

For thoses interested I coded this in Shadertoy !

https://www.shadertoy.com/view/MttXz8
Logged

Adam Majewski
Fractal Lover
**
Posts: 221


WWW
« Reply #11 on: May 13, 2017, 10:40:47 PM »

Hi,
I have
* ubuntu 16.04 LTS
* processing 3.3.3
* cloned your repo

After opening files and run command
there is an error :
  size of the sketch can not be determined from your code.

?

Adam
Logged
Adam Majewski
Fractal Lover
**
Posts: 221


WWW
« Reply #12 on: May 14, 2017, 11:27:10 AM »

It works with processing 2.
OK


What is the licence of your code ?
I would like to make image and put it ( with code)  to commons,
like :
https://commons.wikimedia.org/wiki/File:Mandelbrot_Atom_Domains_Animation.gif

You can do it yourself also , if you like.






Logged
tit_toinou
Iterator
*
Posts: 192


« Reply #13 on: May 20, 2017, 09:27:17 PM »

Hi Adam,

My code is public domain.
If you could add this kind of images to Wikipedia's mandelbrot article that would be great !
The images from the AE plugin are even better I think wink .
Logged

Adam Majewski
Fractal Lover
**
Posts: 221


WWW
« Reply #14 on: May 21, 2017, 08:26:28 AM »

Hi Adam,

My code is public domain.
If you could add this kind of images to Wikipedia's mandelbrot article that would be great !
The images from the AE plugin are even better I think wink .
OK
but the images with source code and good description of the algorithm are more educational (:-)
Logged
Pages: [1] 2   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Gradient Coloring ! ManyFractals Gallery rickz65 0 586 Last post March 19, 2010, 10:22:31 PM
by rickz65
Multifrequency gradient Images Showcase (Rate My Fractal) Pauldelbrot 1 642 Last post December 15, 2010, 11:26:11 PM
by hobold
how to remove colors from gradient !? Mandelbulb 3d cKleinhuis 5 804 Last post October 08, 2012, 09:18:35 PM
by taurus
DEM/M in c and shadertoy Programming Adam Majewski 3 750 Last post January 11, 2014, 09:36:51 AM
by Adam Majewski
2D and 3D IFS in Shadertoy IFS - Iterated Function Systems DarkBeam 3 477 Last post November 28, 2016, 05:49:11 PM
by eiffie

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.365 seconds with 28 queries. (Pretty URLs adds 0.017s, 2q)