Thingiverse
OpenSCAD Randomizer
door mathgrrl
19
Downloads
34
Likes
0
Makes
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
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
mathgrrl publiceert ook op
12 extra modellen op 2 andere platforms
Heb je dit model geprint? Inloggen en deel je make!
Log in om een reactie achter te laten
InloggenNog geen reacties – wees de eerste!