I am getting into programming and processing and am finding it difficult to adapt code written for “p5” into “Java”. Can anyone possibly help me how to convert this code for sand into a java code?
Sure can, this is a very friendly community here. cheers
In Java you need to tell what you are going to assign to a var. if you divide a Float by an Int the result is going to be an int. So when ‘H’ and ‘W’ were ints all results have no decimals, ruining the noise making the pattern.