You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to gpu.js.
In order to learn how to effectively use gpu.js I selected this function to port to a gpu.js kernel as it seemed appropriate. It simply creates a noise field.
I do not understand how to implement a random value for n. I do understand I can color any pixel of the canvas using this.color() with setGraphical(true).
Do I need to populate an array with random values and send it to the kernel as a parameter?
The text was updated successfully, but these errors were encountered:
I am new to gpu.js.
In order to learn how to effectively use gpu.js I selected this function to port to a gpu.js kernel as it seemed appropriate. It simply creates a noise field.
I do not understand how to implement a random value for n. I do understand I can color any pixel of the canvas using this.color() with setGraphical(true).
Do I need to populate an array with random values and send it to the kernel as a parameter?
The text was updated successfully, but these errors were encountered: