Open dayvidpham opened 3 months ago
Core functionality implemented in 9d2e88a2069f2e0f5387985875c58004476e607a. Can refactor the Wave constructor to accept params to control the noise level.
Optimize allocations for each noise()
call in 14ff41f3a8467c40ec40a3f12481de9a2a63fa2e. All buffers are now statically allocated instead of creating many 3-element arrays for each intermediate step. Still using some one-line helper functions to logically organize the transformations, but this is not strictly necessary.
Make waves random and dynamic over time using original Perlin noise
(x, y, t)
noise-space wherex, y
are spatial dims,t
is time