Results 1 to 23 of 23

Strange Attractor Gallery: An Exploration into circular references

Threaded View

  1. #1
    Forum Contributor Gregor y's Avatar
    Join Date
    10-24-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2010 32-Bit
    Posts
    280

    Strange Attractor Gallery: An Exploration into circular references

    Hi all, so I've been playing around with the whole circular references thing to see what I can convince Excel into "charting" for me. The following fractal images are mostly generated from iterated functional systems(IFS), to which excel's circular reference iteration feature lends itself beautifully.

    Notes:
    • In order to run the spreadsheets you will need to go to File>Options>Formulas, and check the box next to Enable iterative calculation each time you restart excel.
    • I've saved all the sheets with calculations turned off you can either use the F9 key each time you want to calculate the sheet or go to File>Options>Formulas>Workbook Calculation and set it back to Automatic.
    • I deleted most of the chart's data table in order to reduce the file size. When you first open the book use the key combo Ctrl+D to fill down the formulas in the chart's data range.
    • Some of the data ranges are big 2,000,000 points, and excel tends to have problems for me with lots of data. So if I were you I wouldn't have any other workbooks open at the same time, just in case excel crashes and you had something you hadn't saved yet
    • To get a more classical layout of an IFS and to avoid the circular refs altogether you can do the x',y' formulas by just linking one row x',y' to the previous row's x',y' instead of the column-wise x -> x' and y ->y' as I've done(more to come on a later post).
    • The probabilities of the IFS really aren’t super important they really only just control how fast the IFS converges to the image. Where it is nice to have optimal convergence, you will likely eventually get there given enough points.
    • The majority of IFS I'm using on these posts are linear transforms which can be written in matrix form as:
      Formula: copy to clipboard
                  |a b| |x|   |e|
      T({x,y}) := |c d|.|y| + |f|


    Ok with that all said, I suppose the best place to start is the classical example of Barnsley's fern. The image for this one took me a while to work out as I knew I had to have the probabilities close to right, but was still getting a horrible stick figure even after a couple million data points. Long story short it was due to my original function selecting formula in column E. I'd first started of using the MATCH function as it was finally a case where I thought I'd found a use for it without adding the 0 (you know the MATCH(....,0)). Well I was wrong again, this form of the formula was over selecting the "stem" function and viola stick figures. So going back to the drawing board I finally settled on the COUNTIF rendition as seen in the file, and well the results came through.

    Name:  Barnsley fern.jpg
Views: 1267
Size:  114.6 KB
    Attached Files Attached Files
    If it'd make you feel better using my answer because of my street cred, then you can go ahead and click Add Reputation below to improve it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Circular References
    By sazza7 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-27-2015, 01:07 PM
  2. Replies: 2
    Last Post: 02-23-2014, 06:06 PM
  3. Non circular references
    By jammerculture in forum Excel General
    Replies: 8
    Last Post: 05-29-2010, 09:43 PM
  4. Circular References
    By ElmerS in forum Excel General
    Replies: 2
    Last Post: 04-16-2010, 02:36 AM
  5. Circular References
    By frenzel2k in forum Excel General
    Replies: 0
    Last Post: 10-10-2007, 06:11 PM
  6. Those Circular References...
    By JeremyH1982 in forum Excel General
    Replies: 4
    Last Post: 05-22-2006, 05:55 PM
  7. [SOLVED] Help :Circular References
    By PPT in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2006, 11:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1