smcameron / curly-vortex

Faking computational fluid dynamics a la Bridson-Hourihan-Nordenstam's paper "Curl-Noise for Procedural Fluid Flow" See also: gaseous-giganticus: https://smcameron.github.io/space-nerds-in-space/gaseous-giganticus-slides/slideshow.html#1
GNU General Public License v2.0
33 stars 2 forks source link

update to work with Processing 3 #4

Closed Jimlarck closed 6 years ago

Jimlarck commented 6 years ago

size(w,h); can no longer contain variables PImages have to be set within load

smcameron commented 6 years ago

Thanks, committed as 287a845d334fda528b985d47fc3c7b7c8537dc03

Also committed 16723bc43ddd4b33ccdd806465f74c3fafbd5e80 to use surface.setSize to dynamically set the size of the image to xdim, ydim, and to get xdim, ydim from the loaded image (if any).