News: Check out the originating "3d Mandelbulb" thread here
Welcome, Guest. Please login or register. July 25, 2014, 01:18:23 PM

Login with username, password and session length

Pages: [1]   Go Down
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: Escape time versions of IFS  (Read 3347 times)
Description: Some simple code to think about how to convert IFS to escape time
0 Members and 1 Guest are viewing this topic.
Posts: 159

« on: April 17, 2011, 09:16:03 PM »

I've been looking at escape time versions of simple IFS fractals. This should help us think about the more complicated ones and 3-D versions. No claim of originality.

Here's the code and then a few pictures:
  //Shape to be carved out of square
 // if ((x1<0.5)&&(y1<0.5)) {x=100;} // Menger
  if ((y1>0.5)&&(x1>0.5)) {x=100;}  // Viscek Cross
 //  if ((x1>0.875)&&(y1>0.875)){x=100;} // Thicker cross
  //Bounding square
  if (x>1.5) {x=100;}
  if (y>1.5) {y=100;}
  x1=floor(x+0.5); if (x1>1) {x1=1;}
  y1=floor(y+0.5); if (y1>1) {y1=1;}     
  // For now, pixel = 0

* cross.png (13.94 KB, 532x480 - viewed 156 times.)

* h_tile.png (18.64 KB, 532x480 - viewed 164 times.)

* flower_tile.png (133.27 KB, 532x480 - viewed 148 times.)
Strange Attractor
Posts: 286

« Reply #1 on: April 18, 2011, 09:54:01 AM »

Hi, sorry but
what is it a12 and a22? 2 parameters/sliders maybe? and pixel?
flip,real and imag are already defined somewhere else?  embarrass

thanks in advance
Posts: 159

« Reply #2 on: April 18, 2011, 02:54:48 PM »


A = [ a11 a12
         a21 a22]

A is a matrix transformation. In order to be conformal, it has to be a rotation matrix times a scalar. In the 1st and 2nd pictures, A is the identity matrix. In the 3rd, it is a rotation of 45 degrees.

The pixel is zero in all three pictures. It's hard to find interesting patterns with pixel > 0.

Pages: [1]   Go Down
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Is there anything novel left to do in M-like escape-time fractals in 2d? New Theories & Research « 1 2 ... 22 23 » fracmonk 330 24918 Last post September 19, 2013, 09:32:59 PM
by fracmonk
3D Koch cube (escape time) + formula 3D Fractal Generation « 1 2 3 » DarkBeam 39 8323 Last post November 28, 2012, 01:15:21 AM
by M Benesi
three more pictures, mandelbrot set, escape time algorithm Images Showcase (Rate My Fractal) Eric B 0 297 Last post October 23, 2012, 02:03:32 AM
by Eric B
Wart, Tangle: genuine escape time pictures Images Showcase (Rate My Fractal) Eric B 0 219 Last post November 24, 2012, 06:47:43 PM
by Eric B
Improving over the escape time map New Theories & Research megafiddle 1 132 Last post November 22, 2013, 03:38:37 AM
by megafiddle

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines

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