Cuburn, a GPU-Accelerated Fractal Flame Renderer

Total Page:16

File Type:pdf, Size:1020Kb

Cuburn, a GPU-Accelerated Fractal Flame Renderer Cuburn, a GPU-accelerated Cuburn overcomes these challenges by what is essentially a brute-force approach. We have abandoned best practices, fractal flame renderer compatibility guidelines, and even safety considerations in cuburn in order to get as close to the hardware as possible Steven Robertson, Michael Semeniuk, Matthew and wring out every last bit of performance we can. This Znoj, and Nicolas Mejia has resulted in an implementation which, while considerably more complicated than its peers, is also faster, more complete, School of Electrical Engineering and Computer and more correct. It has also resulted in new insights about Science, University of Central Florida, Orlando, the hardware on which it runs that are generally applicable, Florida, 32816 including a few algorithms for accomplishing commonly-used tasks more quickly. Abstract — This paper describes cuburn, an implementation of a GPU-accelerated fractal flame renderer. The flame algorithm II. The fractal flame algorithm is an example of a process which is theoretically well-suited to the abstract computational model used on GPUs, but which is At its simplest, the fractal flame algorithm is a method difficult to efficiently implement on current-generation platforms. for colorizing the result of running the chaos game on a We describe specific challenges and solutions, as well as possible particular iterated function system. generalizations which may prove useful in similar problem An iterated function system, or IFS, consists of two or domains. more functions, each typically being contractive (having a derivative whose magnitude is below a certain constant across I. Introduction the area being rendered) and having fixed points or fixed The fractal flame algorithm is a method for visualizing the point sets that differ from one another. The Sierpinski gasket strange attractor described in a mathematical structure known is a commonly-used example, having the three sets of affine as an iterated function system, or IFS. In broad terms, the transforms presented in (1). algorithm plots a 2D histogram of the trajectories of a point cloud as it cycles through the function system. Due to the self- x y similarity inherent in well-defined iterated function systems, x = y = 0 2 0 2 the resulting images possess considerable detail at every x + 1 y scale, a fact which is particularly evident when animations x = y = 1 2 1 2 are produced via time-varying parameters on the IFS. x y + 1 Capturing this multi-scale detail requires a considerable x = y = (1) 2 2 2 2 amount of computation. The contractive nature of IFS trans- form functions means that histogram energy is often con- The chaos game is simple. Starting from any point in centrated in a small part of the image, leaving the lower- the set of points along the attractor, choose one equation in energy image regions susceptible to sampling noise. When the IFS and apply it to the point to receive a new point. rendering natural scenes using related techniques such as ray- Repeat this process, recording each generated point, until tracing, strong filtering is often sufficient to suppress this a sufficient number of samples have been generated. The noise in non-foreground regions, but the flame algorithm recorded point trajectories can be analyzed to reveal the shape intentionally amplifies darker regions using dynamic range of the attractor. The result, in the case of Sierpinski’s gasket, compression in order to highlight the multi-scale detail of is shown in Figure 1. an attractor. As a result, flames require a very large number The flame algorithm expands and codifies this algorithm of samples per pixel. Further, each sample on its own is in a few important ways, some of which will be described often computationally complex. Unlike many other fractal below. visualization algorithms, flames incorporate a number of To select a valid starting point for iteration, select any point operations that are slow on many CPUs, such as trigonometric within the region of interest, and iterate without recording functions. that trajectory until the error is sufficiently small. In fractal Despite requiring an atypically large number of challenging flame implementations, this process is called fusing with the samples, the flame algorithm is still fundamentally similar attractor, one of many terms chosen, arguably poorly, by the to ray-tracing algorithms, and is thus a potential target for original implementors and retained for consistency. Since it acceleration using graphics processing units. Nevertheless, is difficult to determine distance to attractor locations without past attempts at doing so have been challenged by specific first having evaluated them, most implementations simply run implementation details which constrain performance or re- a fixed, conservatively large number of fuse rounds before duce image fidelity. recording begins. accumulation buffer are read, and the tristimulus values are scaled logarithmically in proportion to the density of that cell. This is followed by density estimation, which has nothing to do with estimation, and is more accurately termed “noise filtering in extremely low density areas via a variable-width Gaussian filter proportional to accumulation cell density”, although admittedly that’s less catchy. A small amount of postprocessing handles such things as color values which exceed the representable range, and then an image is created. Fractal flame images can be beautiful on their own, but are at their best when in motion. Animation of a fractal flame is accomplished by defining transform values as functions of time, either implicitly (as in the standard, frame-based XML genome format) or explicitly (as used in cuburn’s more pow- erful animation-focused JSON representation). Each frame of an animation is generated by computing thousands of control points (which are not control points but rather the result of interpolating between the actual control points) covering the frame’s display time, and then running the chaos game Figure 1. Sierpinski’s gasket, as rendered by cuburn. for each of these control points to obtain the appearance of smooth motion. IFS transform functions in flames are considerably more III. Implementation overview expressive than the traditional affine transformations em- To render a flame, cuburn first loads a genome file and ployed in fractal compression and other uses of IFS. While analyzes it to determine which features the genome makes each of these xforms — another historically-motivated mis- use of, as well as estimates of certain constants such as nomer — does begin with an affine transform, that trans- the size of auxiliary buffers that may be required during the formed value is then passed through any number of vari- rendering process. The feature set and constant estimates are ations, a predefined set of functions which range from a supplied to the code generator, which combines annotated simple identity function to a parameterized implementation code snippets to produce kernels that will execute on the of the Möbius transform. The weighted sum of the output compute device. Estimated values are fixed based on the coordinates of these variations are then passed through a results of code generation and corrected constants are injected second affine transform to produce the final transformed into the kernels before uploading to the device. coordinates. Device buffers are then allocated and initialized, including The method of selecting which xform to apply at each a copy of the genome packed into a runtime-fixed layout round is similarly augmented. Each xform is assigned a determined in the previous step. For each frame of the density value, which affects how often it is selected. Some animation, an interpolation kernel is applied to the genome flames also make use of chaos, which is in fact not chaotic data to produce a control point for each temporal step of the but a relatively orderly Markov process depending only on frame. the immediately previously selected xform. For most flames, the next step is to perform the chaos Xforms are also augmented with a separate 1D transforma- game. A kernel is launched which performs a portion of the tion which is applied to the color coordinate, an indepently- requisite iterations. After each iteration, the current position is tracked value with a valid domain of [0,1]. The color coor- examined, and — if within the region of interest — the linear dinate is used to record the point trajectories: as each point accumulator pixel address and color coordinate are packed in is generated, the (x; y) coordinates are used to identify a a 32-bit integer and appended to a log. The log is then sorted memory cell in a 2D accumulation buffer, while the color is based on a key extracted from between 8 and 10 bits of the used to select a tristimulus value (traditionally RGB, though log entries, to obtain a degree of linear memory locality for any additive color space will do) from a palette defined by the histogram accumulation. An accumulation kernel reads the flame. The tristimulus value is then added to the appropriate sorted log in multiple passes, storing information in shared cell in the accumulation buffer, and the accumulation density memory before dispatching it to a device buffer. This process for that cell is incremented. In this way, a sort of histogram of iterate, sort, and accumulate is repeated until a sufficient is constructed from the chaos game point trajectories. number of samples have been collected in the accumulation After a prespecified number of iterations, the values in the buffer. A density estimation kernel is launched, which performs around those variations, allowing them to be merged into a log-scaling of the accumulated points, antialiasing postpro- single basic block and optimized more effectively. While this cessing, and selective blurring to provide a depth-of-field technique adds a considerable amount of complexity to the effect and correct a limited amount of sampling noise.
Recommended publications
  • Fractal 3D Magic Free
    FREE FRACTAL 3D MAGIC PDF Clifford A. Pickover | 160 pages | 07 Sep 2014 | Sterling Publishing Co Inc | 9781454912637 | English | New York, United States Fractal 3D Magic | Banyen Books & Sound Option 1 Usually ships in business days. Option 2 - Most Popular! This groundbreaking 3D showcase offers a rare glimpse into the dazzling world of computer-generated fractal art. Prolific polymath Clifford Pickover introduces the collection, which provides background on everything from Fractal 3D Magic classic Mandelbrot set, to the infinitely porous Menger Sponge, to ethereal fractal flames. The following eye-popping gallery displays mathematical formulas transformed into stunning computer-generated 3D anaglyphs. More than intricate designs, visible in three dimensions thanks to Fractal 3D Magic enclosed 3D glasses, will engross math and optical illusions enthusiasts alike. If an item you have purchased from us is not working as expected, please visit one of our in-store Knowledge Experts for free help, where they can solve your problem or even exchange the item for a product that better suits your needs. If you need to return an item, simply bring it back to any Micro Center store for Fractal 3D Magic full refund or exchange. All other products may be returned within 30 days of purchase. Using the software may require the use of a computer or other device that must meet minimum system requirements. It is recommended that you familiarize Fractal 3D Magic with the system requirements before making your purchase. Software system requirements are typically found on the Product information specification page. Aerial Drones Micro Center is happy to honor its customary day return policy for Aerial Drone returns due to product defect or customer dissatisfaction.
    [Show full text]
  • Iterated Function System Quasiarcs
    CONFORMAL GEOMETRY AND DYNAMICS An Electronic Journal of the American Mathematical Society Volume 21, Pages 78–100 (February 3, 2017) http://dx.doi.org/10.1090/ecgd/305 ITERATED FUNCTION SYSTEM QUASIARCS ANNINA ISELI AND KEVIN WILDRICK Abstract. We consider a class of iterated function systems (IFSs) of contract- ing similarities of Rn, introduced by Hutchinson, for which the invariant set possesses a natural H¨older continuous parameterization by the unit interval. When such an invariant set is homeomorphic to an interval, we give necessary conditions in terms of the similarities alone for it to possess a quasisymmetric (and as a corollary, bi-H¨older) parameterization. We also give a related nec- essary condition for the invariant set of such an IFS to be homeomorphic to an interval. 1. Introduction Consider an iterated function system (IFS) of contracting similarities S = n {S1,...,SN } of R , N ≥ 2, n ≥ 1. For i =1,...,N, we will denote the scal- n n ing ratio of Si : R → R by 0 <ri < 1. In a brief remark in his influential work [18], Hutchinson introduced a class of such IFSs for which the invariant set is a Peano continuum, i.e., it possesses a continuous parameterization by the unit interval. There is a natural choice for this parameterization, which we call the Hutchinson parameterization. Definition 1.1 (Hutchinson, 1981). The pair (S,γ), where γ is the invariant set of an IFS S = {S1,...,SN } with scaling ratio list {r1,...,rN } is said to be an IFS path, if there exist points a, b ∈ Rn such that (i) S1(a)=a and SN (b)=b, (ii) Si(b)=Si+1(a), for any i ∈{1,...,N − 1}.
    [Show full text]
  • An Introduction to Apophysis © Clive Haynes MMXX
    Apophysis Fractal Generator An Introduction Clive Haynes Fractal ‘Flames’ The type of fractals generated are known as ‘Flame Fractals’ and for the curious, I append a note about their structure, gleaned from the internet, at the end of this piece. Please don’t ask me to explain it! Where to download Apophysis: go to https://sourceforge.net/projects/apophysis/ Sorry Mac users but it’s only available for Windows. To see examples of fractal images I’ve generated using Apophysis, I’ve made an Issuu e-book and here’s the URL. https://issuu.com/fotopix/docs/ordering_kaos Getting Started There’s not a defined ‘follow this method workflow’ for generating interesting fractals. It’s really a matter of considerable experimentation and the accumulation of a knowledge-base about general principles: what the numerous presets tend to do and what various options allow. Infinite combinations of variables ensure there’s also a huge serendipity factor. I’ve included a few screen-grabs to help you. The screen-grabs are detailed and you may need to enlarge them for better viewing. Once Apophysis has loaded, it will provide a Random Batch of fractal patterns. Some will be appealing whilst many others will be less favourable. To generate another set, go to File > Random Batch (shortcut Ctrl+B). Screen-grab 1 Choose a fractal pattern from the batch and it will appear in the main window (Screen-grab 1). Depending upon the complexity of the fractal and the processing power of your computer, there will be a ‘wait time’ every time you change a parameter.
    [Show full text]
  • Annotated List of References Tobias Keip, I7801986 Presentation Method: Poster
    Personal Inquiry – Annotated list of references Tobias Keip, i7801986 Presentation Method: Poster Poster Section 1: What is Chaos? In this section I am introducing the topic. I am describing different types of chaos and how individual perception affects our sense for chaos or chaotic systems. I am also going to define the terminology. I support my ideas with a lot of examples, like chaos in our daily life, then I am going to do a transition to simple mathematical chaotic systems. Larry Bradley. (2010). Chaos and Fractals. Available: www.stsci.edu/~lbradley/seminar/. Last accessed 13 May 2010. This website delivered me with a very good introduction into the topic as there are a lot of books and interesting web-pages in the “References”-Sektion. Gleick, James. Chaos: Making a New Science. Penguin Books, 1987. The book gave me a very general introduction into the topic. Harald Lesch. (2003-2007). alpha-Centauri . Available: www.br-online.de/br- alpha/alpha-centauri/alpha-centauri-harald-lesch-videothek-ID1207836664586.xml. Last accessed 13. May 2010. A web-page with German video-documentations delivered a lot of vivid examples about chaos for my poster. Poster Section 2: Laplace's Demon and the Butterfly Effect In this part I describe the idea of the so called Laplace's Demon and the theory of cause-and-effect chains. I work with a lot of examples, especially the famous weather forecast example. Also too I introduce the mathematical concept of a dynamic system. Jeremy S. Heyl (August 11, 2008). The Double Pendulum Fractal. British Columbia, Canada.
    [Show full text]
  • Fractal Dimension of Self-Affine Sets: Some Examples
    FRACTAL DIMENSION OF SELF-AFFINE SETS: SOME EXAMPLES G. A. EDGAR One of the most common mathematical ways to construct a fractal is as a \self-similar" set. A similarity in Rd is a function f : Rd ! Rd satisfying kf(x) − f(y)k = r kx − yk for some constant r. We call r the ratio of the map f. If f1; f2; ··· ; fn is a finite list of similarities, then the invariant set or attractor of the iterated function system is the compact nonempty set K satisfying K = f1[K] [ f2[K] [···[ fn[K]: The set K obtained in this way is said to be self-similar. If fi has ratio ri < 1, then there is a unique attractor K. The similarity dimension of the attractor K is the solution s of the equation n X s (1) ri = 1: i=1 This theory is due to Hausdorff [13], Moran [16], and Hutchinson [14]. The similarity dimension defined by (1) is the Hausdorff dimension of K, provided there is not \too much" overlap, as specified by Moran's open set condition. See [14], [6], [10]. REPRINT From: Measure Theory, Oberwolfach 1990, in Supplemento ai Rendiconti del Circolo Matematico di Palermo, Serie II, numero 28, anno 1992, pp. 341{358. This research was supported in part by National Science Foundation grant DMS 87-01120. Typeset by AMS-TEX. G. A. EDGAR I will be interested here in a generalization of self-similar sets, called self-affine sets. In particular, I will be interested in the computation of the Hausdorff dimension of such sets.
    [Show full text]
  • On Bounding Boxes of Iterated Function System Attractors Hsueh-Ting Chu, Chaur-Chin Chen*
    Computers & Graphics 27 (2003) 407–414 Technical section On bounding boxes of iterated function system attractors Hsueh-Ting Chu, Chaur-Chin Chen* Department of Computer Science, National Tsing Hua University, Hsinchu 300, Taiwan, ROC Abstract Before rendering 2D or 3D fractals with iterated function systems, it is necessary to calculate the bounding extent of fractals. We develop a new algorithm to compute the bounding boxwhich closely contains the entire attractor of an iterated function system. r 2003 Elsevier Science Ltd. All rights reserved. Keywords: Fractals; Iterated function system; IFS; Bounding box 1. Introduction 1.1. Iterated function systems Barnsley [1] uses iterated function systems (IFS) to Definition 1. A transform f : X-X on a metric space provide a framework for the generation of fractals. ðX; dÞ is called a contractive mapping if there is a Fractals are seen as the attractors of iterated function constant 0pso1 such that systems. Based on the framework, there are many A algorithms to generate fractal pictures [1–4]. However, dðf ðxÞ; f ðyÞÞps Á dðx; yÞ8x; y X; ð1Þ in order to generate fractals, all of these algorithms have where s is called a contractivity factor for f : to estimate the bounding boxes of fractals in advance. For instance, in the program Fractint (http://spanky. Definition 2. In a complete metric space ðX; dÞ; an triumf.ca/www/fractint/fractint.html), we have to guess iterated function system (IFS) [1] consists of a finite set the parameters of ‘‘image corners’’ before the beginning of contractive mappings w ; for i ¼ 1; 2; y; n; which is of drawing, which may not be practical.
    [Show full text]
  • Math Morphing Proximate and Evolutionary Mechanisms
    Curriculum Units by Fellows of the Yale-New Haven Teachers Institute 2009 Volume V: Evolutionary Medicine Math Morphing Proximate and Evolutionary Mechanisms Curriculum Unit 09.05.09 by Kenneth William Spinka Introduction Background Essential Questions Lesson Plans Website Student Resources Glossary Of Terms Bibliography Appendix Introduction An important theoretical development was Nikolaas Tinbergen's distinction made originally in ethology between evolutionary and proximate mechanisms; Randolph M. Nesse and George C. Williams summarize its relevance to medicine: All biological traits need two kinds of explanation: proximate and evolutionary. The proximate explanation for a disease describes what is wrong in the bodily mechanism of individuals affected Curriculum Unit 09.05.09 1 of 27 by it. An evolutionary explanation is completely different. Instead of explaining why people are different, it explains why we are all the same in ways that leave us vulnerable to disease. Why do we all have wisdom teeth, an appendix, and cells that if triggered can rampantly multiply out of control? [1] A fractal is generally "a rough or fragmented geometric shape that can be split into parts, each of which is (at least approximately) a reduced-size copy of the whole," a property called self-similarity. The term was coined by Beno?t Mandelbrot in 1975 and was derived from the Latin fractus meaning "broken" or "fractured." A mathematical fractal is based on an equation that undergoes iteration, a form of feedback based on recursion. http://www.kwsi.com/ynhti2009/image01.html A fractal often has the following features: 1. It has a fine structure at arbitrarily small scales.
    [Show full text]
  • Iterated Function System
    IARJSET ISSN (Online) 2393-8021 ISSN (Print) 2394-1588 International Advanced Research Journal in Science, Engineering and Technology ISO 3297:2007 Certified Vol. 3, Issue 8, August 2016 Iterated Function System S. C. Shrivastava Department of Applied Mathematics, Rungta College of Engineering and Technology, Bhilai C.G., India Abstract: Fractal image compression through IFS is very important for the efficient transmission and storage of digital data. Fractal is made up of the union of several copies of itself and IFS is defined by a finite number of affine transformation which characterized by Translation, scaling, shearing and rotat ion. In this paper we describe the necessary conditions to form an Iterated Function System and how fractals are generated through affine transformations. Keywords: Iterated Function System; Contraction Mapping. 1. INTRODUCTION The exploration of fractal geometry is usually traced back Metric Spaces definition: A space X with a real-valued to the publication of the book “The Fractal Geometry of function d: X × X → ℜ is called a metric space (X, d) if d Nature” [1] by the IBM mathematician Benoit B. possess the following properties: Mandelbrot. Iterated Function System is a method of constructing fractals, which consists of a set of maps that 1. d(x, y) ≥ 0 for ∀ x, y ∈ X explicitly list the similarities of the shape. Though the 2. d(x, y) = d(y, x) ∀ x, y ∈ X formal name Iterated Function Systems or IFS was coined 3. d x, y ≤ d x, z + d z, y ∀ x, y, z ∈ X . (triangle by Barnsley and Demko [2] in 1985, the basic concept is inequality).
    [Show full text]
  • The Aesthetics and Fractal Dimension of Electric Sheep
    International Journal of Bifurcation and Chaos, Vol. 18, No. 4 (2008) 1243–1248 c World Scientific Publishing Company THE AESTHETICS AND FRACTAL DIMENSION OF ELECTRIC SHEEP SCOTT DRAVES Spotworks, 2261 Market St #158, San Francisco, CA 94114, USA RALPH ABRAHAM Mathematics Department, University of California, Santa Cruz, CA 95064, USA PABLO VIOTTI Politics Department, University of California, Santa Cruz, CA 95064, USA FREDERICK DAVID ABRAHAM Blueberry Brain Institute, 1396 Gregg Hill Road, Waterbury Center, VT 05677, USA JULIAN CLINTON SPROTT Physics Department, University of Wisconsin, Madison, WI 53706-1390, USA Received January 22, 2007; Revised May 31, 2007 Physicist Clint Sprott demonstrated a relationship between aesthetic judgments of fractal images and their fractal dimensions [1993]. Scott Draves, aka Spot, a computer scientist and artist, has created a space of images called fractal flames, based on attractors of two-dimensional iterated function systems. A large community of users run software that automatically downloads animated fractal flames, known as “sheep”, and displays them as their screen-saver. The users may vote electronically for the sheep they like while the screen-saver is running. In this report we proceed from Sprott to Spot. The data show an inverted U-shaped curve in the relationship between aesthetic judgments of flames and their fractal dimension, confirming and clarifying earlier reports. Keywords: Fractal dimensions; electric sheep. 1. Introduction thus combines the Electric Sheep of Draves and the fractal aesthetics of Sprott. This is a report on a new study of aesthetic judg- The Electric Sheep home page is available ments made by a large community participating from electricsheep.org.
    [Show full text]
  • An Introduction to the Mandelbrot Set
    An introduction to the Mandelbrot set Bastian Fredriksson January 2015 1 Purpose and content The purpose of this paper is to introduce the reader to the very useful subject of fractals. We will focus on the Mandelbrot set and the related Julia sets. I will show some ways of visualising these sets and how to make a program that renders them. Finally, I will explain a key exchange algorithm based on what we have learnt. 2 Introduction The Mandelbrot set and the Julia sets are sets of points in the complex plane. Julia sets were first studied by the French mathematicians Pierre Fatou and Gaston Julia in the early 20th century. However, at this point in time there were no computers, and this made it practically impossible to study the structure of the set more closely, since large amount of computational power was needed. Their discoveries was left in the dark until 1961, when a Jewish-Polish math- ematician named Benoit Mandelbrot began his research at IBM. His task was to reduce the white noise that disturbed the transmission on telephony lines [3]. It seemed like the noise came in bursts, sometimes there were a lot of distur- bance, and sometimes there was no disturbance at all. Also, if you examined a period of time with a lot of noise-problems, you could still find periods without noise [4]. Could it be possible to come up with a model that explains when there is noise or not? Mandelbrot took a quite radical approach to the problem at hand, and chose to visualise the data.
    [Show full text]
  • Furniture Design Inspired from Fractals
    169 Rania Mosaad Saad Furniture design inspired from fractals. Dr. Rania Mosaad Saad Assistant Professor, Interior Design and Furniture Department, Faculty of Applied Arts, Helwan University, Cairo, Egypt Abstract: Keywords: Fractals are a new branch of mathematics and art. But what are they really?, How Fractals can they affect on Furniture design?, How to benefit from the formation values and Mandelbrot Set properties of fractals in Furniture Design?, these were the research problem . Julia Sets This research consists of two axis .The first axe describes the most famous fractals IFS fractals were created, studies the Fractals structure, explains the most important fractal L-system fractals properties and their reflections on furniture design. The second axe applying Fractal flame functional and aesthetic values of deferent Fractals formations in furniture design Newton fractals inspired from them to achieve the research objectives. Furniture Design The research follows the descriptive methodology to describe the fractals kinds and properties, and applied methodology in furniture design inspired from fractals. Paper received 12th July 2016, Accepted 22th September 2016 , Published 15st of October 2016 nearly identical starting positions, and have real Introduction: world applications in nature and human creations. Nature is the artist's inspiring since the beginning Some architectures and interior designers turn to of creation. Despite the different artistic trends draw inspiration from the decorative formations, across different eras- ancient and modern- and the geometric and dynamic properties of fractals in artists perception of reality, but that all of these their designs which enriched the field of trends were united in the basic inspiration (the architecture and interior design, and benefited nature).
    [Show full text]
  • Iterated Function System Iterated Function System
    Iterated Function System Iterated Function System (or I.F.S. for short) is a program that explores the various aspects of the Iterated Function System. It contains three modes: 1. The Chaos Game, which implements variations of the chaos game popularized by Michael Barnsley, 2. Deterministic Mode, which creates fractals using iterated function system rules in a deterministic way, and 3. Random Mode, which creates fractals using iterated function system rules in a random way. Upon execution of I.F.S. we need to choose a mode. Let’s begin by choosing the Chaos Game. Upon selecting that mode, two windows will appear as in Figure 1. The blank one on the right is the graph window and is where the result of the execution of the chaos game will be displayed. The window on the left is the status window. It is set up to play the chaos game using three corners and a scale factor of 0.5. Thus, the next seed point will be calculated as the midpoint of the current seed point with the selected corner. It is also set up so that the corners will be graphed once they are selected, and a line is not drawn between the current seed point and the next selected corner. As a first attempt at playing the chaos game, let’s press the “Go!” button without changing any of these settings. We will first be asked to define corner #1, which can be accomplished either by typing in the xy-coordinates in the status window edit boxes, or by using the mouse to move the cross hair cursor appearing in the graph window.
    [Show full text]