equivalent of processing point()?

I’m just getting started in openframeworks, trying to convert a bunch of Processing code.
I was wondering what the equivalent of point(x,y) is - i.e. just set the color of a single point? I tried ofCircle(x,y,1), but it doesn’t look the same.


If you want to set a single pixel you can do:


but probably a beter way is to create an ofImage with the width/height you want and draw into that:

ofColor red(255, 0, 0);  

Thanks, I’ll give it a try

Why not ofPoint() ??


@jesses, ofPoint is used to store x, y and z coordinates but doesn’t have any draw capabilities

cheers, thx
(hadn’t actually used it yet, so hadn’t figured that out…)