A growing library of assorted data structures, algorithms and utilities for OPENRNDR
BSD 2-Clause "Simplified" License
119
stars
35
forks
source link
[orx-noise] Optimization. Reduce attempt-count in shape.uniform #289
Closed
hamoid closed 1 year ago
Achieved by testing against a smaller bounds shape (reduced by the requested distanceToEdge) to avoid false hits.
In the case of a Rectangle attempts is reduced to 1.
More noticeable the larger the distanceToEdge value is.
Add demo.