Open VorTechnix opened 1 year ago
Ah, great idea!
So for each block with an air space below it, it will be randomly repeated downwardss by a random value between a minimum and maximum value (perhaps we could model this in the actual command as a value and a jitter - e.g. //dripdown <node_name> <value> [<jitter>]
....where <value>
is the amount to drag it down by, and <jitter>
is a number to generate and add/subtract to it. In JS:
const actual_value = value + Math.floor((Math.random() * jitter * 2) - jitter);
To make it useful for generating floating islands, I guess you'd do something like this:
//dropdown
?....or would we need some logic for determining a secondary value that varies, e.g. adding random noise like this?
const actual_value = value + Math.floor((Math.random() * jitter * 2) - jitter) + noise(x, y) * value_2;
Builds down low pointing parts of selection (generates stalactites and floating island "tails").