OpenSCAD Randomizer
Description
This code creates a sequence of random-height "skyscrapers" based on a random seed and two style parameters. One style parameter makes it more or less likely for the skyscrapers to be tall, and the other style parameter makes it more or less likely for the skyscrapers to exist. The random seed is used to generate sequences of random numbers that control the height and existence of the skyscrapers, weighted by the chosen style parameters. See it in action in this video (no sound): https://www.youtube.com/watch?v=-hiJMWabMXI You can use this code as the base for any OpenSCAD project with a random element. Similar code was used as the starting point for our [Snowflake Machine](https://www.thingiverse.com/thing:1159436) and [Sunburst Clocks](https://www.thingiverse.com/thing:3198414). The code also has built-in functionality for Thingiverse Customizer menus that allow the user to modify the size, style, and random seed parameters. Click the "Open in Customizer" button to see how the menus work in action. To use the code in OpenSCAD you will have to comment out the Customizer random seed line of code and un-comment the OpenSCAD random seed line of code. Download the .scad file and open it in OpenSCAD to get started.
Statistics
Likes
28
Downloads
0