Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/processing/p5.js
/ draw
Function
draw
test/manual-test-examples/learningprocessing/chp8/example_8_3.js:83–89 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
81
}
82
83
function
draw() {
84
background(255);
85
// mouseX position determines speed factor
86
var
factor = constrain(mouseX / 10, 0, 5);
87
zoog.jiggle(factor);
88
zoog.display();
89
}
Callers
nothing calls this directly
Calls
3
constrain
Function · 0.85
jiggle
Method · 0.45
display
Method · 0.45
Tested by
no test coverage detected