Language Settings
English
Español
简体中文
한국어
हिन्दी
Site Navigation
Home
Editor
Download
Donate
Get Started
Reference
Libraries
Learn
Teach
Examples
Contribute
Books
Community
Showcase
< Back to Examples
Continuous Lines
Click and drag the mouse to draw a line.
toggle text output
run
reset
copy
1
2
3
4
5
6
7
8
9
10
11
12
function
setup
(
)
{
createCanvas
(
710
,
400
)
;
background
(
102
)
;
}
function
draw
(
)
{
stroke
(
255
)
;
if
(
mouseIsPressed
===
true
)
{
line
(
mouseX
,
mouseY
,
pmouseX
,
pmouseY
)
;
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Processing Sister Sites
Processing
p5.js
Processing.py
Processing for Android
Processing for Pi
Processing Foundation
Skip to main content
This site is archived. Visit the new p5.js website at p5js.org 🎉.