Trying to create wave / cloth flow pattern

Thank you so much @solub ! Your sketch is amazing. I am studying your code for a week now. Something that I am still doesn’t understand is this line of code if (id % res != (res - 1)) { would you mind to explain to me what is that mean by this?

Thanks

1 Like