If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Course: Unlisted resources area > Unit 2

Lesson 1: ProcessingJS documentation

point(x, y)

Draws a point. The color is determined by the most recent stroke() call and the thickness is determined by the most recent strokeWeight() call.
Parameters:
NameDescription
xthe x-coordinate of the point
ythe y-coordinate of the point

Want to join the conversation?

No posts yet.