To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example implement chaos game in LabVIEW.
Description
This program uses the Chaos Game method with various polygons to make fractals. The image is created by plotting a point a certain fraction of the distance between the current point and a randomly selected vertices. A triangle with the ratio set to .5 will create the Sierpinski Triangle seen in the image below. Other configurations that make interesting fractals are (N=3,R=2/3), (N=5,R=5/8), and (N=6,R=2/3). Experiment with the program to find a slew of other beautiful fractals and images.
Requirements
Steps to Implement or Execute Code
1. Set Parameters
2. Run VI
3. Look at the image created
Additional Information or References
Main VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Great Example, cool program