SKNoise | Voronoi Noise
NEW EXPRESSION
-
Voronoi:
Syntax:
[sknoise] voronoi [noise] at [x] %number%[,] [[y] %-number%[(,|[,] and) [z] %-number%]] [with cell values]
[sknoise] voronoi [noise] at (loc|location) %location% [with cell values]
Description:
Get's the voronoi noise at a location, voronoi noise in simple words is a plot of distance between points. (Wiki)Big Example:
command /set:
trigger:
set {_l} to location of player
set {_ogL} to location of player
loop 100 times:
loop 100 times:
set {_value} to voronoi noise at ((x-coord of {_l}) / 2), (z-coord of {_l} / 2)
if {_value} >= 0.5:
set block at {_l} to white concrete
else:
set block at {_l} to black concrete
add 1 to x-coord of {_l}
add 1 to z-coord of {_l}
set x-coord of {_l} to x-coord of {_ogL}```