Convert circle x/y position to match renderer buffer dimensions (noob)

Hi,

I have a patch that creates 50 circles with random coordinates and size. The circle x/y positions range from -0.5 to 0.5 whereas the GDI renderer buffer width and height are measured in pixels;
247, 199 respectively. How can I directly match the circle coordinates with the renderer units?

My patch is here:

randomCircles.v4p (7.2 KB)

you can change value ranges with a Map node:

randomCircles2.v4p (12.0 KB)

also make sure you know all these nodes:

what do you want to do with the pixel coordinates? often it makes more sense to stay in normalized coordinates…

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.