Image:
 Author: FRA32 Group: Technical Filesize: 49.64 kB Date added: 2018-10-30 Rating: 6.5 Downloads: 2033 Views: 565 Comments: 8 Ratings: 4 Times favored: 0 Made with: Algodoo v2.1.0 Tags:
|
A remake of my old Koch curve scene, but this time using a tracer to generate a very ressource efficient picture that can expand up to a potential width of 0.0625*3^15!!!
The code uses a 15 digit quaternary number to store the position within the fractal, dividing each "unit" into 4 segments indexed 0 to 3, with each unit being part of ever growing units. By determining the sum of all rotations that these units posess, one can determine the direction that the tracer has to move next and then increment the index number by 1.
Let the scene run long enough and you will end up with an incredibly large but high detail rendition of the koch curve, limited only by your computer's rendering power.
IMPORTANT: If you zoom out too far, algodoo will decrease the simulation precision of relatively small objects, including the tracer, thus meaning that the tracer would start skipping steps(and thus create incorrect lines) due to multiple steps being done at once before algodoo enforces the changes, so be sure to keep the tracer well visible. |
Last edited at 2018/10/30 20:18:38 by FRA32
Please log in to rate this scene
|