HOME | DD

Published: 2008-05-16 17:55:41 +0000 UTC; Views: 2329; Favourites: 22; Downloads: 410
Redirect to original
Description
Change Symmetry Script version 2.What this script does: changes the symmetry of a fractal. You can use this script to:
(1) Make an ordinary fractal symmetrical.
(2) Change a fractal's symmetry type and value. For example, a Rotational 5 can be changed to a Dihedral 4 fractal, as shown in the preview image.
(3) Remove symmetry from a symmetrical fractal. (Choose "End script now" in the dialog box that asks you what type of symmetry you want to create.)
---
Notes:
(1) This script defines a symmetrical triangle as a triangle which has its O point at (0,0) and its Color Symmetry is set to 1. KNOWN ISSUE: If you have a non-symmetrical triangle that unintentionally fulfills this condition, simply change the Color Symmetry to 0.9, run the script, and change it back to 1. If you know of any way to avoid this problem, maybe you can share with me...?
(2) Difference between previous script ( [link] ) and this script:
(a) Version 1 detects symmetrical triangle based on Weights = 1 and Color Symmetry = 1. Version 2 detects based on the triangle's O point coordinates and Color Symmetry.
(b) I learned that a symmetrical triangle's weight should be the total weights of all other non-symmetrical triangles, and it is not always 1. This version adds up the weights of all non-symmetrical triangles, and then uses this value while making new symmetrical triangles. Basically, version 2 is more accurate at creating symmetry.
(3) After running this script, if you do not like how the weight values look unorganized, run my Normalize Weights script - [link] . The script scales the weights of all non-symmetrical triangles so that they would all add up to 1.
To my understanding, the weights value are relative to each other, so having 2 triangles weighting 1 and 1, while another set of triangles weighting 0.5 and 0.5 or 0.25 and 0.25, the fractal should be the same.
(4) You can still use version 1 of the Change Symmetry Script: [link] , but you need to run my Normalize Weights script first to set all the symmetrical triangle's weights to "1", or else the fractal might not be 100% symmetrical.
(5) Note that I do not reset the location after the script is run. If the display window shows nothing, it happens because the "camera" isn't showing the fractal in full. To correct this, press the Reset Location button on the toolbar, or press F12. This automatically adjusts the camera coordinates and zoom to view the fractal.
(6) You can undo any changes made by scripts by pressing Undo twice. This applies to all scripts, I think.
(7) There are many flames that can not be made symmetrical, most of them would show up as a uniform, blurred fractal. I think simple flames can be made symmetrical more easily than more complex ones. I'm not smart enough to know why this happens, please educate me if you know...
I hope you'll enjoy this script and find it useful.
---
Thanks to ~datagram for his super awesome helpful script tutorial [link] .
Also thanks to =phoenixkeyblack and *CabinTom for providing inspiration through their scripts.
If you have any questions or suggestions, don't be too shy of sending me a reply. This script looks perfect to me, but don't we all know that computer codes are never perfect. If you find something wrong or room for improvement, tell me.