Logo by reallybigname - 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: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. September 19, 2018, 07:38:22 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]   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: Simple, 2d forest setting non-linear IFS...  (Read 796 times)
Description: Creates an image of pine cone like objects.
0 Members and 1 Guest are viewing this topic.
Chris Thomasson
Conqueror
*******
Posts: 137



« on: May 31, 2016, 08:01:19 AM »

Where `rn' is a random number from 0...1:
____________________________
Code:
if (rn < 0.0108) 

    px = px - tan(px) + (cos(px) / 2.0); 
    py = py + abs(cos(px * 1.618)); 


else if (rn < 0.068) 

    px = cos(px - 0.01); 
    py = sin(py + 0.4); 



else 

    px = cos(px + 0.6); 
    py = sin(py / 1.168); 

____________________________

Here is a very crude rendering I made a while back:

https://plus.google.com/101799841244447089430/posts/jfpsXNaRc3x

Does this IFS work for you?
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Linear noises Mandelbulb 3d mehrdadart 8 1344 Last post October 23, 2010, 07:37:48 PM
by blob
Setting a parameter in all keyframes at once... Mandelbulber nameinuse2 2 1096 Last post January 25, 2011, 07:56:58 PM
by Buddhi
Bug in color setting with eyedropper Mandelbulber meegja 0 821 Last post August 31, 2011, 09:22:30 PM
by meegja
MDB 1881 - issue with bkg picture setting bug reporting stebev 4 839 Last post April 25, 2013, 12:06:18 AM
by Jesse
Linear JWildfire Gallery thargor6 0 160 Last post December 21, 2014, 01:44:46 AM
by thargor6

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.166 seconds with 27 queries. (Pretty URLs adds 0.011s, 2q)