Hi there,
I’m a beginner to three.js and I’m trying to work out how to constrain the position of an object to the window?
Just for some context, I’m trying to achieve diffusion-limited aggregation by translating my code from a previous build in p5.js into three.js.
Could anyone help me?
I found something similar in plain js; https://jsfiddle.net/maGVK/
Many thanks,
Tom