Anonymous user
Mouse position: Difference between revisions
m
→{{header|Processing}}: adding some comments
(→{{header|Processing}}: Processing & Python mode) |
m (→{{header|Processing}}: adding some comments) |
||
Line 1,059:
void draw(){
//
ellipse(mouseX, mouseY, 5, 5); // graphic output example
}</lang>
Line 1,068 ⟶ 1,069:
def draw():
ellipse(mouseX, mouseY, 5, 5) # graphic output example
println("x:{} y:{}".format(mouseX, mouseY))</lang>
=={{header|Python}}==
|