Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/processing/p5.js
/ shapes.js
File
shapes.js
test/unit/visual/cases/shapes.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ visualSuite, visualTest } from
'../visualTest'
;
2
3
visualSuite(
'Shape drawing'
,
function
() {
4
for
(
const
mode of [
'2D'
,
'WebGL'
]) {
Callers
nothing calls this directly
Calls
15
visualSuite
Function · 0.90
visualTest
Function · 0.90
vertexCircle
Function · 0.85
normal
Method · 0.80
noStroke
Method · 0.80
noFill
Method · 0.80
setup
Function · 0.70
beginShape
Method · 0.45
vertex
Method · 0.45
endShape
Method · 0.45
beginContour
Method · 0.45
endContour
Method · 0.45
Tested by
no test coverage detected