 |
 |
 |
 |
Name |
|
point() |
 |
|
|
Examples |
|
 |
point(30, 20);
point(85, 20);
point(85, 75);
point(30, 75);
|
 |
|
Description |
|
A point is a coordinate in space. In Processing, points have a dimension of one pixel. The first parameter is the horizontal value for the point, the second value is the vertical value for the point, and the optional third value is the depth value. |
 |
|
|
Syntax |
|
point(x1, y1);
point(x1, y1, z1);
|
 |
|
|
Parameters |
|
x1 |
|
int or float: x-coordinate of the point
|
y1 |
|
int or float: y-coordinate of the point
|
z1 |
|
int or float: z-coordinate of the point
|
|
 |
|
|
Returns |
|
Note |
 |
|
|
Usage |
|
Web & Application |
 |
|
|
Related |
|
beginShape() |
|