Logo by dainbramage - 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: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. April 20, 2024, 12:27:34 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: Fractal + Change of domain mashup  (Read 5241 times)
0 Members and 1 Guest are viewing this topic.
SCORPION
Conqueror
*******
Posts: 104


« Reply #15 on: December 28, 2013, 05:02:53 AM »

This option turned out to Mandelbulb:

Code:
uniform vec3 InvertC; slider[(-5,-5,-5),(0,0,0),(5,5,5)]

vec3 domainMap(vec3 c)
{
  float s = dot(c,c);
  return c=s * InvertC;
}


Code:
  if (i<ColorIterations) orbitTrap = min(orbitTrap, abs(vec4(domainMap(pos),r*r)));


* proba domian map.jpg (235.96 KB, 749x489 - viewed 359 times.)
* proba domian map.frag (4.95 KB - downloaded 138 times.)
« Last Edit: December 28, 2013, 05:11:57 AM by SCORPION » Logged
Roquen
Iterator
*
Posts: 180


« Reply #16 on: January 06, 2014, 11:05:57 AM »

It's probably worth pointing out that if you're using some change of domain function for something other than geometry then it opens up a wider class of functions since you no longer need them to be locally continuous.  In fact those that are not can be pretty interesting since you can get "strata/banding" and reaction-diffusion (to name a couple) like effects in (as in the previous example) it's being used as a coloring function.
Logged

All code submitted by me is in the public domain. (http://unlicense.org/)
Roquen
Iterator
*
Posts: 180


« Reply #17 on: August 29, 2014, 12:01:11 PM »

Logistic's map

Code:
vec2 domainMap(vec2 c)
{
  //c = 0.5*c;             // only effects resulting scale
  c = zpow2(c) - c;      // give the domain two zeros
  c   +=K ;
  return c;
}

http://glslsandbox.com/e#19502.1
« Last Edit: February 19, 2016, 02:08:48 PM by Roquen » Logged

All code submitted by me is in the public domain. (http://unlicense.org/)
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #18 on: March 06, 2016, 11:50:36 PM »

just noticed the new post (better late than never)
when I get some time to play with GLSL I will be exploring the effect in 3D

ty Roquen, for another little toy/tool  A Beer Cup
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #19 on: March 07, 2016, 01:00:25 AM »

modified for 3D, frag attached...


* Roquens-Logistic_map-mandelbulb.jpg (61.13 KB, 480x480 - viewed 163 times.)

* Roquens-Logistic_map-juliabulb.jpg (64.17 KB, 480x480 - viewed 172 times.)
* LogisticBulb.frag (5.42 KB - downloaded 74 times.)
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
Pages: 1 [2]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
devianArt moderator adds a poll to see who wants the Fractal Gallery to change! Fractal News across the World Thunderwave 4 1275 Last post September 19, 2010, 08:20:10 AM
by Thunderwave
The Overseer's Domain Mandelbulb3D Gallery Don Whitaker 0 791 Last post March 18, 2011, 09:35:50 AM
by Don Whitaker
Magical Menger Mandelbulb Mashup Fragmentarium Gallery 3dickulus 1 792 Last post December 28, 2013, 04:03:46 AM
by SCORPION
Magical Menger Mandelbulb Mashup Animations Showcase (Rate My short Animation) 3dickulus 0 1387 Last post December 26, 2013, 03:19:41 AM
by 3dickulus
A discrete fractal for a change Still Frame - Wildstyle 0xbeefc0ffee 0 1800 Last post June 10, 2017, 03:10:20 AM
by 0xbeefc0ffee

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.138 seconds with 25 queries. (Pretty URLs adds 0.009s, 2q)