hi guys, im looking to render points progressively, one at time kind of like https://p5js.org/examples/image-pointillism.html
Can someone point me towards the relevant docs I need to go through - am I going about it the wrong way if I do something like have a massive array of elements and just update the offset?
Can someone explain the math in this example to me?
gl_Position = vec4(1.0 - 2.0 * position, 0, 1);
I don't get what this magic
1.0-2.0* position is doing
1.0 - 2.0 * positionbecomes 1 - 2 X 0 = 1 when position is 0, or 1 - 2 X 1 = -1 when position is 1.
flipYwhen loading the texture.