Last active
June 28, 2018 04:40
-
-
Save kjhollen/24c96505e64f447ce4df655f9720a153 to your computer and use it in GitHub Desktop.
p5.js headless chrome mocha-chrome output with logLevel:verbose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm run grunt --quiet | |
> p5@0.6.1 grunt /Users/kjhollen/src/p5.js | |
> grunt | |
Running "yuidoc:prod" (yuidoc) task | |
Failed to find lines for { name: 'Shape', | |
submodules: | |
{ '2D Primitives': 1, | |
Curves: 1, | |
Vertex: 1, | |
'3D Models': 1, | |
'3D Primitives': 1 }, | |
elements: {}, | |
classes: {}, | |
fors: { p5: 1 }, | |
namespaces: {} } | |
Failed to find lines for { name: 'Events', | |
submodules: { Acceleration: 1, Keyboard: 1, Mouse: 1, Touch: 1 }, | |
elements: {}, | |
classes: {}, | |
fors: { p5: 1 }, | |
namespaces: {} } | |
src/io/files.js:1335: method p5.save missing example | |
src/webgl/material.js:151: method p5.shader missing example | |
src/webgl/p5.Geometry.js:50: method p5.Geometry.computeFaces missing example | |
src/webgl/p5.Geometry.js:92: method p5.Geometry.computeNormals missing example | |
src/webgl/p5.Geometry.js:131: method p5.Geometry.averageNormals missing example | |
src/webgl/p5.Geometry.js:152: method p5.Geometry.averagePoleNormals missing example | |
src/webgl/p5.Geometry.js:245: method p5.Geometry.normalize missing example | |
src/webgl/p5.Shader.js:265: method p5.Shader.setUniform missing example | |
Start YUIDoc compile... | |
Scanning: src/, lib/addons/ | |
Output: docs/reference/ | |
YUIDoc compile completed in 1.08 seconds | |
Running "minjson:compile" (minjson) task | |
File "docs/reference/data.min.json" created: 1.37 MB → 934.95 kB | |
Running "eslint:build" (eslint) task | |
Running "eslint:source" (eslint) task | |
Running "eslint:test" (eslint) task | |
Running "eslint-samples:source" (eslint-samples) task | |
Running "browserify" task | |
>> Bundle lib/p5.js created. | |
Running "browserify:min" (browserify) task | |
>> Bundle lib/p5.pre-min.js created. | |
Running "uglify:dist" (uglify) task | |
>> 2 files created. | |
Running "requirejs:yuidoc_theme" (requirejs) task | |
Running "connect:server" (connect) task | |
Started connect web server on http://0.0.0.0:9001 | |
Running "mochaChrome:yui" (mochaChrome) task | |
EventBus initialized | |
ChromeLauncher:verbose created /var/folders/wv/z118dxf114b84t65rr9q5sxh0000gn/T/lighthouse.XXXXXXX.9zkHnQtP +0ms | |
ChromeLauncher:verbose Launching with command: | |
ChromeLauncher:verbose "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --disable-translate --disable-extensions --disable-background-networking --safebrowsing-disable-auto-update --disable-sync --metrics-recording-only --disable-default-apps --mute-audio --no-first-run --remote-debugging-port=61857 --user-data-dir=/var/folders/wv/z118dxf114b84t65rr9q5sxh0000gn/T/lighthouse.XXXXXXX.9zkHnQtP --disable-background-timer-throttling --disable-default-apps --disable-device-discovery-notifications --disable-popup-blocking --disable-renderer-backgrounding --disable-translate --headless --no-default-browser-check --no-first-run --no-sandbox --mute-audio about:blank +513ms | |
ChromeLauncher:verbose Chrome running with pid 88280 on port 61857. +5ms | |
ChromeLauncher Waiting for browser. +1ms | |
ChromeLauncher Waiting for browser... +0ms | |
ChromeLauncher Waiting for browser..... +508ms | |
ChromeLauncher Waiting for browser.....✓ +3ms | |
Chrome Instance launched | |
CDP Client Connected | |
⇢ EventBus { name: 'width', data: '' } | |
⇢ EventBus { name: 'started', data: 50 } | |
Test Run Started - Running 50 Tests | |
src/color/creating_reading.js | |
alpha documentation | |
✓ example #1 works | |
blue documentation | |
220 | |
✓ example #1 works | |
brightness documentation | |
✓ example #1 works | |
color documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works | |
✓ example #8 works | |
green documentation | |
75 | |
✓ example #1 works | |
hue documentation | |
✓ example #1 works | |
lerpColor documentation | |
✓ example #1 works | |
lightness documentation | |
✓ example #1 works | |
red documentation | |
255 | |
✓ example #1 works | |
0.4980392156862745 | |
✓ example #2 works | |
saturation documentation | |
✓ example #1 works | |
src/color/p5.Color.js | |
toString documentation | |
✓ example #1 works | |
setRed documentation | |
✓ example #1 works | |
setGreen documentation | |
✓ example #1 works | |
setBlue documentation | |
✓ example #1 works | |
setAlpha documentation | |
✓ example #1 works | |
src/color/setting.js | |
background documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works | |
✓ example #8 works | |
✓ example #9 works | |
✓ example #10 works | |
✓ example #11 works | |
clear documentation | |
✓ example #1 works | |
colorMode documentation | |
✓ example #1 works (221ms) | |
✓ example #2 works (208ms) | |
✓ example #3 works | |
✓ example #4 works | |
fill documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works | |
✓ example #8 works | |
✓ example #9 works | |
✓ example #10 works | |
✓ example #11 works | |
noFill documentation | |
✓ example #1 works | |
p5.RendererGL: enabled webgl context | |
✓ example #2 works (60ms) | |
noStroke documentation | |
✓ example #1 works | |
p5.RendererGL: enabled webgl context | |
✓ example #2 works | |
stroke documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works | |
✓ example #8 works | |
✓ example #9 works | |
✓ example #10 works | |
✓ example #11 works | |
src/core/2d_primitives.js | |
arc documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
ellipse documentation | |
✓ example #1 works | |
line documentation | |
✓ example #1 works | |
✓ example #2 works | |
point documentation | |
✓ example #1 works | |
quad documentation | |
✓ example #1 works | |
rect documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
triangle documentation | |
✓ example #1 works | |
src/core/attributes.js | |
ellipseMode documentation | |
✓ example #1 works | |
✓ example #2 works | |
noSmooth documentation | |
✓ example #1 works | |
rectMode documentation | |
✓ example #1 works | |
✓ example #2 works | |
smooth documentation | |
✓ example #1 works | |
strokeCap documentation | |
✓ example #1 works | |
strokeJoin documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
strokeWeight documentation | |
✓ example #1 works | |
src/core/constants.js | |
HALF_PI documentation | |
✓ example #1 works | |
PI documentation | |
✓ example #1 works | |
QUARTER_PI documentation | |
✓ example #1 works | |
TAU documentation | |
✓ example #1 works | |
TWO_PI documentation | |
✓ example #1 works | |
DEGREES documentation | |
✓ example #1 works | |
RADIANS documentation | |
✓ example #1 works | |
src/core/core.js | |
preload documentation | |
✓ example #1 works | |
setup documentation | |
✓ example #1 works | |
draw documentation | |
✓ example #1 works | |
remove documentation | |
✓ example #1 works | |
src/core/curves.js | |
bezier documentation | |
✓ example #1 works | |
✓ example #2 works | |
bezierDetail documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
bezierPoint documentation | |
✓ example #1 works | |
bezierTangent documentation | |
✓ example #1 works | |
✓ example #2 works | |
curve documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
curveDetail documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
curveTightness documentation | |
✓ example #1 works | |
curvePoint documentation | |
✓ example #1 works | |
curveTangent documentation | |
✓ example #1 works | |
src/core/environment.js | |
print documentation | |
The value of x is 10 | |
✓ example #1 works | |
frameCount documentation | |
✓ example #1 works | |
focused documentation | |
✓ example #1 works | |
cursor documentation | |
✓ example #1 works | |
frameRate documentation | |
✓ example #1 works | |
noCursor documentation | |
✓ example #1 works | |
displayWidth documentation | |
✓ example #1 works | |
displayHeight documentation | |
✓ example #1 works | |
windowWidth documentation | |
✓ example #1 works | |
windowHeight documentation | |
✓ example #1 works | |
windowResized documentation | |
✓ example #1 works | |
fullscreen documentation | |
✓ example #1 works | |
pixelDensity documentation | |
✓ example #1 works | |
✓ example #2 works | |
displayDensity documentation | |
✓ example #1 works | |
getURL documentation | |
✓ example #1 works | |
getURLPath documentation | |
✓ example #1 works | |
src/core/p5.Element.js | |
elt documentation | |
✓ example #1 works | |
parent documentation | |
✓ example #1 works | |
✓ example #2 works | |
id documentation | |
✓ example #1 works | |
class documentation | |
✓ example #1 works | |
mousePressed documentation | |
✓ example #1 works | |
doubleClicked documentation | |
✓ example #1 works | |
mouseWheel documentation | |
✓ example #1 works | |
mouseReleased documentation | |
✓ example #1 works | |
mouseClicked documentation | |
✓ example #1 works | |
mouseMoved documentation | |
✓ example #1 works | |
mouseOver documentation | |
✓ example #1 works | |
changed documentation | |
✓ example #1 works | |
✓ example #2 works | |
input documentation | |
✓ example #1 works | |
mouseOut documentation | |
✓ example #1 works | |
touchStarted documentation | |
✓ example #1 works | |
touchMoved documentation | |
✓ example #1 works | |
touchEnded documentation | |
✓ example #1 works | |
dragOver documentation | |
✓ example #1 works | |
dragLeave documentation | |
✓ example #1 works | |
drop documentation | |
✓ example #1 works | |
src/core/p5.Graphics.js | |
remove documentation | |
✓ example #1 works | |
✓ example #2 works | |
src/core/rendering.js | |
createCanvas documentation | |
✓ example #1 works | |
resizeCanvas documentation | |
✓ example #1 works | |
noCanvas documentation | |
✓ example #1 works | |
createGraphics documentation | |
✓ example #1 works | |
blendMode documentation | |
✓ example #1 works | |
✓ example #2 works | |
src/core/structure.js | |
noLoop documentation | |
✓ example #1 works | |
✓ example #2 works | |
loop documentation | |
✓ example #1 works | |
push documentation | |
✓ example #1 works | |
✓ example #2 works | |
pop documentation | |
✓ example #1 works | |
✓ example #2 works | |
redraw documentation | |
✓ example #1 works | |
✓ example #2 works | |
src/core/transform.js | |
applyMatrix documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
resetMatrix documentation | |
✓ example #1 works | |
rotate documentation | |
✓ example #1 works | |
rotateX documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
rotateY documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
rotateZ documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
scale documentation | |
✓ example #1 works | |
✓ example #2 works | |
shearX documentation | |
✓ example #1 works | |
shearY documentation | |
✓ example #1 works | |
translate documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
src/core/vertex.js | |
beginContour documentation | |
✓ example #1 works | |
beginShape documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works | |
✓ example #8 works | |
✓ example #9 works | |
✓ example #10 works | |
✓ example #11 works | |
bezierVertex documentation | |
✓ example #1 works | |
✓ example #2 works | |
curveVertex documentation | |
✓ example #1 works | |
endContour documentation | |
✓ example #1 works | |
endShape documentation | |
✓ example #1 works | |
quadraticVertex documentation | |
✓ example #1 works | |
✓ example #2 works | |
vertex documentation | |
✓ example #1 works | |
src/data/p5.TypedDict.js | |
createStringDict documentation | |
true | |
true | |
✓ example #1 works | |
createNumberDict documentation | |
true | |
true | |
✓ example #1 works | |
size documentation | |
3 | |
✓ example #1 works | |
hasKey documentation | |
true | |
✓ example #1 works | |
get documentation | |
true | |
✓ example #1 works | |
set documentation | |
key:p5 value:JS | |
✓ example #1 works | |
create documentation | |
key:p5 value:js | |
key:happy value:coding | |
✓ example #1 works | |
clear documentation | |
true | |
false | |
✓ example #1 works | |
remove documentation | |
key:p5 value:js | |
key:happy value:coding | |
key:happy value:coding | |
✓ example #1 works | |
print documentation | |
key:p5 value:js | |
key:happy value:coding | |
✓ example #1 works | |
saveTable documentation | |
✓ example #1 works | |
saveJSON documentation | |
✓ example #1 works | |
add documentation | |
7 | |
✓ example #1 works | |
sub documentation | |
3 | |
✓ example #1 works | |
mult documentation | |
8 | |
✓ example #1 works | |
div documentation | |
4 | |
✓ example #1 works | |
minValue documentation | |
-10 | |
✓ example #1 works | |
maxValue documentation | |
3 | |
✓ example #1 works | |
minKey documentation | |
1.2 | |
✓ example #1 works | |
maxKey documentation | |
4 | |
✓ example #1 works | |
src/events/acceleration.js | |
rotationX documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
rotationY documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
rotationZ documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
pRotationX documentation | |
clockwise | |
✓ example #1 works | |
pRotationY documentation | |
clockwise | |
✓ example #1 works | |
pRotationZ documentation | |
clockwise | |
✓ example #1 works | |
setMoveThreshold documentation | |
✓ example #1 works | |
setShakeThreshold documentation | |
✓ example #1 works | |
deviceMoved documentation | |
✓ example #1 works | |
deviceTurned documentation | |
✓ example #1 works | |
✓ example #2 works | |
deviceShaken documentation | |
✓ example #1 works | |
src/events/keyboard.js | |
keyIsPressed documentation | |
✓ example #1 works | |
key documentation | |
✓ example #1 works | |
keyCode documentation | |
✓ example #1 works | |
keyPressed documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
keyReleased documentation | |
✓ example #1 works | |
keyTyped documentation | |
✓ example #1 works | |
keyIsDown documentation | |
✓ example #1 works | |
src/events/mouse.js | |
mouseX documentation | |
✓ example #1 works | |
mouseY documentation | |
✓ example #1 works | |
pmouseX documentation | |
0 -> 0 | |
✓ example #1 works | |
pmouseY documentation | |
0 -> 0 | |
✓ example #1 works | |
winMouseX documentation | |
✓ example #1 works | |
winMouseY documentation | |
✓ example #1 works | |
pwinMouseX documentation | |
✓ example #1 works | |
pwinMouseY documentation | |
✓ example #1 works | |
mouseButton documentation | |
0 | |
✓ example #1 works | |
mouseIsPressed documentation | |
false | |
✓ example #1 works | |
mouseMoved documentation | |
✓ example #1 works | |
✓ example #2 works | |
mouseDragged documentation | |
✓ example #1 works | |
✓ example #2 works | |
mousePressed documentation | |
✓ example #1 works | |
✓ example #2 works | |
mouseReleased documentation | |
✓ example #1 works | |
✓ example #2 works | |
mouseClicked documentation | |
✓ example #1 works | |
✓ example #2 works | |
doubleClicked documentation | |
✓ example #1 works | |
✓ example #2 works | |
mouseWheel documentation | |
✓ example #1 works | |
src/events/touch.js | |
touches documentation | |
✓ example #1 works | |
touchStarted documentation | |
✓ example #1 works | |
✓ example #2 works | |
touchMoved documentation | |
✓ example #1 works | |
✓ example #2 works | |
touchEnded documentation | |
✓ example #1 works | |
✓ example #2 works | |
src/image/image.js | |
createImage documentation | |
✓ example #1 works (52ms) | |
✓ example #2 works | |
✓ example #3 works (150ms) | |
saveFrames documentation | |
✓ example #1 works | |
src/image/loading_displaying.js | |
loadImage documentation | |
✓ example #1 works | |
✓ example #2 works | |
image documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
tint documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
noTint documentation | |
✓ example #1 works | |
imageMode documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
src/image/p5.Image.js | |
width documentation | |
✓ example #1 works | |
height documentation | |
✓ example #1 works | |
pixels documentation | |
✓ example #1 works | |
✓ example #2 works (109ms) | |
loadPixels documentation | |
✓ example #1 works | |
updatePixels documentation | |
✓ example #1 works | |
get documentation | |
✓ example #1 works | |
set documentation | |
✓ example #1 works | |
resize documentation | |
✓ example #1 works | |
copy documentation | |
✓ example #1 works | |
mask documentation | |
✓ example #1 works | |
filter documentation | |
✓ example #1 works | |
blend documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
save documentation | |
✓ example #1 works | |
p5.Image documentation | |
✓ example #1 works | |
src/image/pixels.js | |
pixels documentation | |
✓ example #1 works (259ms) | |
blend documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
copy documentation | |
✓ example #1 works | |
filter documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works (66ms) | |
✓ example #8 works | |
get documentation | |
✓ example #1 works | |
✓ example #2 works | |
loadPixels documentation | |
✓ example #1 works | |
set documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
updatePixels documentation | |
✓ example #1 works | |
src/io/files.js | |
loadJSON documentation | |
✓ example #1 works (144ms) | |
✓ example #2 works | |
loadStrings documentation | |
✓ example #1 works | |
✓ example #2 works | |
loadTable documentation | |
3 total rows in table | |
3 total columns in table | |
["Goat","Leopard","Zebra"] | |
0 | |
Capra hircus | |
Goat | |
1 | |
Panthera pardus | |
Leopard | |
2 | |
Equus zebra | |
Zebra | |
✓ example #1 works | |
loadXML documentation | |
0, Capra hircus, Goat | |
1, Panthera pardus, Leopard | |
2, Equus zebra, Zebra | |
✓ example #1 works | |
loadBytes documentation | |
3c | |
3f | |
78 | |
6d | |
6c | |
✓ example #1 works | |
httpGet documentation | |
✓ example #1 works | |
httpPost documentation | |
✓ example #1 works | |
✓ example #2 works | |
httpDo documentation | |
✓ example #1 works (39ms) | |
createWriter documentation | |
✓ example #1 works | |
saveJSON documentation | |
✓ example #1 works | |
saveStrings documentation | |
✓ example #1 works | |
saveTable documentation | |
✓ example #1 works | |
src/io/p5.Table.js | |
addRow documentation | |
0 | |
Capra hircus | |
Goat | |
1 | |
Panthera pardus | |
Leopard | |
2 | |
Equus zebra | |
Zebra | |
3 | |
Canis Lupus | |
Wolf | |
✓ example #1 works | |
removeRow documentation | |
1 | |
Panthera pardus | |
Leopard | |
2 | |
Equus zebra | |
Zebra | |
✓ example #1 works | |
getRow documentation | |
1 | |
Panthera pardus | |
Leopard | |
✓ example #1 works | |
getRows documentation | |
0 | |
Capra hircus | |
Unicorn | |
1 | |
Panthera pardus | |
Unicorn | |
2 | |
Equus zebra | |
Unicorn | |
✓ example #1 works | |
findRow documentation | |
Equus zebra | |
✓ example #1 works | |
findRows documentation | |
2 Goats found | |
✓ example #1 works | |
matchRow documentation | |
Panthera pardus | |
✓ example #1 works | |
matchRows documentation | |
Snake: Reptile | |
Lizard: Reptile | |
✓ example #1 works | |
getColumn documentation | |
["Capra hircus","Panthera pardus","Equus zebra"] | |
✓ example #1 works | |
clearRows documentation | |
0 total rows in table | |
3 total columns in table | |
✓ example #1 works | |
addColumn documentation | |
0 | |
Capra hircus | |
Goat | |
no | |
1 | |
Panthera pardus | |
Leopard | |
yes | |
2 | |
Equus zebra | |
Zebra | |
no | |
✓ example #1 works | |
getColumnCount documentation | |
✓ example #1 works | |
getRowCount documentation | |
✓ example #1 works | |
removeTokens documentation | |
[["Lion","Mammal"],["Snake","Reptile"]] | |
✓ example #1 works | |
trim documentation | |
[["Lion,","Mammal"],["Snake","Reptile"]] | |
✓ example #1 works | |
removeColumn documentation | |
string | |
2 | |
✓ example #1 works | |
set documentation | |
0 | |
Canis Lupus | |
Wolf | |
1 | |
Panthera pardus | |
Leopard | |
2 | |
Equus zebra | |
Zebra | |
✓ example #1 works | |
setNum documentation | |
["0",1,"2"] | |
✓ example #1 works | |
setString documentation | |
[["0","Capra hircus","Goat"],["1","Panthera pardus","Leopard"],["2","Equus zebra","Zebra"],["3","Canis Lupus","Wolf"]] | |
✓ example #1 works | |
get documentation | |
Capra hircus | |
Capra hircus | |
✓ example #1 works | |
getNum documentation | |
101 | |
✓ example #1 works | |
getString documentation | |
0 | |
Capra hircus | |
Goat | |
1 | |
Panthera pardus | |
Leopard | |
2 | |
Equus zebra | |
Zebra | |
✓ example #1 works | |
getObject documentation | |
{"0":{"id":"0","species":"Capra hircus","name":"Goat"},"1":{"id":"1","species":"Panthera pardus","name":"Leopard"},"2":{"id":"2","species":"Equus zebra","name":"Zebra"}} | |
✓ example #1 works | |
getArray documentation | |
["0","Capra hircus","Goat"] | |
["1","Panthera pardus","Leopard"] | |
["2","Equus zebra","Zebra"] | |
✓ example #1 works | |
src/io/p5.TableRow.js | |
set documentation | |
[["0","Capra hircus","Unicorn"],["1","Panthera pardus","Unicorn"],["2","Equus zebra","Unicorn"]] | |
✓ example #1 works | |
setNum documentation | |
[[10,"Capra hircus","Goat"],[11,"Panthera pardus","Leopard"],[12,"Equus zebra","Zebra"]] | |
✓ example #1 works | |
setString documentation | |
[["0","Capra hircus","A Goat named George"],["1","Panthera pardus","A Leopard named George"],["2","Equus zebra","A Zebra named George"]] | |
✓ example #1 works | |
get documentation | |
["Goat","Leopard","Zebra"] | |
✓ example #1 works | |
getNum documentation | |
minimum id = 0, maximum id = -Infinity | |
✓ example #1 works | |
getString documentation | |
longest: Panthera pardus | |
✓ example #1 works | |
src/io/p5.XML.js | |
getParent documentation | |
mammals | |
✓ example #1 works | |
getName documentation | |
mammals | |
✓ example #1 works | |
setName documentation | |
mammals | |
fish | |
✓ example #1 works | |
hasChildren documentation | |
true | |
✓ example #1 works | |
listChildren documentation | |
["#text","animal","#text","animal","#text","animal","#text"] | |
✓ example #1 works | |
getChildren documentation | |
Goat | |
Leopard | |
Zebra | |
✓ example #1 works | |
getChild documentation | |
Goat | |
✓ example #1 works | |
Goat | |
✓ example #2 works | |
addChild documentation | |
Zebra | |
✓ example #1 works | |
removeChild documentation | |
, | |
, | |
Leopard | |
, | |
Zebra | |
✓ example #1 works | |
, | |
, | |
Leopard | |
, | |
Zebra | |
✓ example #2 works | |
getAttributeCount documentation | |
2 | |
✓ example #1 works | |
listAttributes documentation | |
["id","species"] | |
✓ example #1 works | |
hasAttribute documentation | |
true | |
false | |
✓ example #1 works | |
getNum documentation | |
0 | |
✓ example #1 works | |
getString documentation | |
Capra hircus | |
✓ example #1 works | |
setAttribute documentation | |
Capra hircus | |
Jamides zebra | |
✓ example #1 works | |
getContent documentation | |
Goat | |
✓ example #1 works | |
setContent documentation | |
Goat | |
Goat | |
✓ example #1 works | |
p5.XML documentation | |
0, Capra hircus, Goat | |
1, Panthera pardus, Leopard | |
2, Equus zebra, Zebra | |
✓ example #1 works | |
src/math/calculation.js | |
abs documentation | |
-3 | |
3 | |
✓ example #1 works | |
ceil documentation | |
✓ example #1 works | |
constrain documentation | |
✓ example #1 works | |
dist documentation | |
✓ example #1 works | |
exp documentation | |
✓ example #1 works | |
floor documentation | |
✓ example #1 works | |
lerp documentation | |
✓ example #1 works | |
log documentation | |
✓ example #1 works | |
mag documentation | |
36.05551275463989 | |
85.44003745317531 | |
72.80109889280519 | |
106.3014581273465 | |
✓ example #1 works | |
map documentation | |
✓ example #1 works | |
✓ example #2 works | |
max documentation | |
✓ example #1 works | |
min documentation | |
✓ example #1 works | |
norm documentation | |
✓ example #1 works | |
pow documentation | |
✓ example #1 works | |
round documentation | |
✓ example #1 works | |
sq documentation | |
✓ example #1 works | |
sqrt documentation | |
✓ example #1 works | |
src/math/math.js | |
createVector documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works (48ms) | |
src/math/noise.js | |
noise documentation | |
✓ example #1 works | |
✓ example #2 works | |
noiseDetail documentation | |
✓ example #1 works (119ms) | |
noiseSeed documentation | |
✓ example #1 works | |
src/math/p5.Vector.js | |
toString documentation | |
p5.Vector Object : [20, 30, 0] | |
✓ example #1 works | |
✓ example #2 works | |
set documentation | |
✓ example #1 works | |
✓ example #2 works | |
copy documentation | |
true | |
✓ example #1 works | |
add documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
✓ example #3 works | |
sub documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
✓ example #3 works | |
mult documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
✓ example #3 works | |
div documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
✓ example #3 works | |
mag documentation | |
✓ example #1 works | |
53.85164807134504 | |
✓ example #2 works | |
magSq documentation | |
56 | |
✓ example #1 works | |
✓ example #2 works | |
dot documentation | |
20 | |
✓ example #1 works | |
10 | |
✓ example #2 works | |
cross documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
dist documentation | |
1.4142135623730951 | |
✓ example #1 works | |
1.4142135623730951 | |
✓ example #2 works | |
✓ example #3 works | |
normalize documentation | |
✓ example #1 works | |
✓ example #2 works | |
limit documentation | |
✓ example #1 works | |
✓ example #2 works | |
setMag documentation | |
✓ example #1 works | |
✓ example #2 works | |
heading documentation | |
1.0303768265243125 | |
0.8960553845713439 | |
1.1659045405098132 | |
✓ example #1 works | |
✓ example #2 works | |
rotate documentation | |
✓ example #1 works | |
✓ example #2 works | |
angleBetween documentation | |
1.5707963267948966 | |
✓ example #1 works | |
✓ example #2 works | |
lerp documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
✓ example #3 works | |
array documentation | |
[20,30,0] | |
✓ example #1 works | |
10 | |
20 | |
30 | |
✓ example #2 works | |
equals documentation | |
true | |
false | |
✓ example #1 works | |
true | |
false | |
✓ example #2 works | |
fromAngle documentation | |
✓ example #1 works | |
fromAngles documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works (41ms) | |
random2D documentation | |
{"x":-0.8835748803400225,"y":0.46828990041652063,"z":0} | |
✓ example #1 works | |
✓ example #2 works | |
random3D documentation | |
{"x":-0.280085255031355,"y":0.7577624992870975,"z":0.5893625748112892} | |
✓ example #1 works | |
p5.Vector documentation | |
✓ example #1 works | |
src/math/random.js | |
randomSeed documentation | |
✓ example #1 works | |
random documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
randomGaussian documentation | |
✓ example #1 works | |
✓ example #2 works | |
src/math/trigonometry.js | |
acos documentation | |
3.141592653589793 : -1 : 3.141592653589793 | |
✓ example #1 works | |
3.9269908169872414 : -0.7071067811865477 : 2.3561944901923453 | |
✓ example #2 works | |
asin documentation | |
4.1887902047863905 : -0.8660254037844385 : -1.0471975511965974 | |
✓ example #1 works | |
4.1887902047863905 : -0.8660254037844385 : -1.0471975511965974 | |
✓ example #2 works | |
atan documentation | |
4.1887902047863905 : 1.7320508075688754 : 1.0471975511965972 | |
✓ example #1 works | |
4.1887902047863905 : 1.7320508075688754 : 1.0471975511965972 | |
✓ example #2 works | |
atan2 documentation | |
✓ example #1 works | |
cos documentation | |
✓ example #1 works | |
sin documentation | |
✓ example #1 works | |
tan documentation | |
✓ example #1 works | |
degrees documentation | |
0.7853981633974483 radians is 45 degrees | |
✓ example #1 works | |
radians documentation | |
45 degrees is 0.7853981633974483 radians | |
✓ example #1 works | |
angleMode documentation | |
✓ example #1 works | |
src/typography/attributes.js | |
textAlign documentation | |
✓ example #1 works | |
textLeading documentation | |
✓ example #1 works | |
textSize documentation | |
✓ example #1 works | |
textStyle documentation | |
✓ example #1 works | |
textWidth documentation | |
✓ example #1 works | |
textAscent documentation | |
✓ example #1 works | |
textDescent documentation | |
✓ example #1 works | |
src/typography/loading_displaying.js | |
loadFont documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
text documentation | |
✓ example #1 works | |
✓ example #2 works | |
textFont documentation | |
✓ example #1 works | |
✓ example #2 works (52ms) | |
src/typography/p5.Font.js | |
textBounds documentation | |
✓ example #1 works | |
textToPoints documentation | |
✓ example #1 works (59ms) | |
src/utilities/array_functions.js | |
append documentation | |
["Mango","Apple","Papaya"] | |
["Mango","Apple","Papaya","Peach"] | |
✓ example #1 works | |
arrayCopy documentation | |
["A","B","C"] | |
[1,2,3] | |
["B","C",3] | |
✓ example #1 works | |
concat documentation | |
["A","B","C"] | |
[1,2,3] | |
["A","B","C"] | |
[1,2,3] | |
["A","B","C",1,2,3] | |
✓ example #1 works | |
reverse documentation | |
["A","B","C"] | |
["C","B","A"] | |
✓ example #1 works | |
shorten documentation | |
["A","B","C"] | |
["A","B"] | |
["A","B"] | |
✓ example #1 works | |
shuffle documentation | |
[Circular] | |
[Circular] | |
[Circular] | |
[Circular] | |
✓ example #1 works | |
sort documentation | |
["banana","apple","pear","lime"] | |
["apple","banana","lime","pear"] | |
✓ example #1 works | |
[2,6,1,5,14,9,8,12] | |
[1,2,5,6,14,9,8,12] | |
✓ example #2 works | |
splice documentation | |
[0,1,2,3,4] | |
["A","B","C"] | |
[0,1,2,"A","B","C",3,4] | |
✓ example #1 works | |
subset documentation | |
[1,2,3,4,5] | |
[1,2,3] | |
[3,4] | |
✓ example #1 works | |
src/utilities/conversion.js | |
float documentation | |
✓ example #1 works | |
int documentation | |
10 | |
10 | |
-10 | |
1 | |
0 | |
[0,1,10,9] | |
✓ example #1 works | |
str documentation | |
10 | |
10.31 | |
-10 | |
true | |
false | |
["true","10.3","9.8"] | |
✓ example #1 works | |
boolean documentation | |
false | |
true | |
true | |
false | |
[false,true,true] | |
✓ example #1 works | |
byte documentation | |
127 | |
-128 | |
23 | |
23 | |
null | |
1 | |
[0,-1,100] | |
✓ example #1 works | |
char documentation | |
A | |
A | |
["A","B","C"] | |
ABC | |
✓ example #1 works | |
unchar documentation | |
65 | |
[65,66,67] | |
[65,66,67] | |
✓ example #1 works | |
hex documentation | |
000000FF | |
0000FF | |
["000000","00007F","0000FF"] | |
✓ example #1 works | |
unhex documentation | |
10 | |
255 | |
[255,170,0] | |
✓ example #1 works | |
src/utilities/string_functions.js | |
join documentation | |
✓ example #1 works | |
match documentation | |
✓ example #1 works | |
matchAll documentation | |
✓ example #1 works | |
nf documentation | |
✓ example #1 works | |
nfc documentation | |
✓ example #1 works | |
nfp documentation | |
✓ example #1 works | |
nfs documentation | |
✓ example #1 works | |
split documentation | |
✓ example #1 works | |
splitTokens documentation | |
["Mango"," Banana"," Lime"] | |
✓ example #1 works | |
trim documentation | |
✓ example #1 works | |
src/utilities/time_date.js | |
day documentation | |
✓ example #1 works | |
hour documentation | |
✓ example #1 works | |
minute documentation | |
✓ example #1 works | |
millis documentation | |
✓ example #1 works | |
month documentation | |
✓ example #1 works | |
second documentation | |
✓ example #1 works | |
year documentation | |
✓ example #1 works | |
src/webgl/camera.js | |
camera documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
perspective documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
ortho documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
src/webgl/interaction.js | |
orbitControl documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
src/webgl/light.js | |
ambientLight documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works (43ms) | |
directionalLight documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works (40ms) | |
pointLight documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
src/webgl/loading.js | |
loadModel documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works (191ms) | |
model documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works (187ms) | |
{"status":400,"ok":false} | |
src/webgl/material.js | |
loadShader documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
createShader documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
normalMaterial documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works (47ms) | |
texture documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
p5.RendererGL: enabled webgl context | |
✓ example #2 works | |
p5.RendererGL: enabled webgl context | |
WARN: Element play method raised an error asynchronously {} | |
✓ example #3 works | |
ambientMaterial documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
specularMaterial documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
src/webgl/p5.RendererGL.js | |
setAttributes documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/fingers.mov', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
p5.RendererGL: enabled webgl context | |
p5.RendererGL: enabled webgl context | |
✓ example #2 works (41ms) | |
p5.RendererGL: enabled webgl context | |
Cannot draw strokes on torus object with more than 24 detailX or 16 detailY | |
✓ example #3 works (214ms) | |
src/webgl/primitives.js | |
plane documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/fingers.mov', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
box documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
sphere documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
cylinder documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
cone documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
ellipsoid documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
torus documentation | |
p5.RendererGL: enabled webgl context | |
✓ example #1 works | |
lib/addons/p5.dom.js | |
select documentation | |
✓ example #1 works | |
✓ example #2 works | |
selectAll documentation | |
✓ example #1 works | |
✓ example #2 works | |
removeElements documentation | |
✓ example #1 works | |
createDiv documentation | |
✓ example #1 works | |
createP documentation | |
✓ example #1 works | |
createSpan documentation | |
✓ example #1 works | |
createImg documentation | |
✓ example #1 works | |
createA documentation | |
✓ example #1 works | |
createSlider documentation | |
✓ example #1 works | |
✓ example #2 works | |
createButton documentation | |
✓ example #1 works | |
createCheckbox documentation | |
✓ example #1 works | |
createSelect documentation | |
✓ example #1 works | |
createRadio documentation | |
✓ example #1 works | |
✓ example #2 works | |
createInput documentation | |
✓ example #1 works | |
createFileInput documentation | |
✓ example #1 works | |
createVideo documentation | |
✓ example #1 works | |
createAudio documentation | |
✓ example #1 works | |
createElement documentation | |
✓ example #1 works | |
addClass documentation | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/beat.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
removeClass documentation | |
✓ example #1 works | |
child documentation | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/beat.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
✓ example #2 works | |
center documentation | |
✓ example #1 works | |
html documentation | |
✓ example #1 works | |
✓ example #2 works | |
position documentation | |
✓ example #1 works | |
style documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
attribute documentation | |
✓ example #1 works | |
removeAttribute documentation | |
✓ example #1 works | |
value documentation | |
✓ example #1 works | |
✓ example #2 works | |
show documentation | |
✓ example #1 works | |
hide documentation | |
✓ example #1 works | |
size documentation | |
✓ example #1 works | |
remove documentation | |
✓ example #1 works | |
src documentation | |
✓ example #1 works | |
play documentation | |
✓ example #1 works | |
stop documentation | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/beat.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
pause documentation | |
✓ example #1 works | |
loop documentation | |
✓ example #1 works | |
noLoop documentation | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/lucky_dragons.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
volume documentation | |
✓ example #1 works | |
✓ example #2 works | |
time documentation | |
✓ example #1 works | |
duration documentation | |
✓ example #1 works | |
onended documentation | |
✓ example #1 works | |
showControls documentation | |
✓ example #1 works | |
hideControls documentation | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/doorbell.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
addCue documentation | |
✓ example #1 works | |
WARN: Element play method raised an error asynchronously {} | |
removeCue documentation | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/lucky_dragons.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
clearCues documentation | |
✓ example #1 works | |
lib/addons/p5.sound.js | |
getAudioContext documentation | |
✓ example #1 works | |
midiToFreq documentation | |
✓ example #1 works | |
soundFormats documentation | |
✓ example #1 works | |
loadSound documentation | |
✓ example #1 works | |
playMode documentation | |
✓ example #1 works | |
pause documentation | |
✓ example #1 works | |
pan documentation | |
✓ example #1 works | |
rate documentation | |
✓ example #1 works | |
reverseBuffer documentation | |
✓ example #1 works | |
addCue documentation | |
✓ example #1 works | |
setInput documentation | |
✓ example #1 works (41ms) | |
getLevel documentation | |
✓ example #1 works | |
analyze documentation | |
✓ example #1 works | |
getCentroid documentation | |
✓ example #1 works | |
freq documentation | |
✓ example #1 works | |
set documentation | |
✓ example #1 works | |
{} | |
setADSR documentation | |
✓ example #1 works | |
setRange documentation | |
✓ example #1 works | |
play documentation | |
✓ example #1 works | |
triggerAttack documentation | |
✓ example #1 works | |
triggerRelease documentation | |
✓ example #1 works | |
ramp documentation | |
✓ example #1 works | |
getSources documentation | |
✓ example #1 works | |
createConvolver documentation | |
[{"deviceId":"default","kind":"audioinput","label":"","groupId":"812bf840971002c3123e17730e15be7803768fe96f240f0a35dd2e7ef1afd0d7"},{"deviceId":"bd592c94cb2e307012ed948cffbc9e4a81808866ad488558a65f46d61f6325d8","kind":"audioinput","label":"","groupId":"812bf840971002c3123e17730e15be7803768fe96f240f0a35dd2e7ef1afd0d7"}] | |
set source to {"deviceId":"default","kind":"audioinput","label":"","groupId":"812bf840971002c3123e17730e15be7803768fe96f240f0a35dd2e7ef1afd0d7"} | |
✓ example #1 works (99ms) | |
process documentation | |
✓ example #1 works (73ms) | |
onPeak documentation | |
✓ example #1 works | |
play documentation | |
✓ example #1 works | |
triggerAttack documentation | |
✓ example #1 works | |
triggerRelease documentation | |
✓ example #1 works | |
play documentation | |
✓ example #1 works | |
noteAttack documentation | |
✓ example #1 works | |
noteRelease documentation | |
✓ example #1 works | |
p5.SoundFile documentation | |
✓ example #1 works | |
p5.Amplitude documentation | |
✓ example #1 works | |
p5.FFT documentation | |
✓ example #1 works | |
p5.Signal documentation | |
✓ example #1 works | |
p5.Oscillator documentation | |
✓ example #1 works | |
p5.Envelope documentation | |
✓ example #1 works | |
p5.Pulse documentation | |
✓ example #1 works | |
p5.AudioIn documentation | |
✓ example #1 works | |
p5.Filter documentation | |
✓ example #1 works | |
{} | |
p5.EQ documentation | |
✓ example #1 works | |
p5.Delay documentation | |
✓ example #1 works | |
p5.Reverb documentation | |
✓ example #1 works (80ms) | |
p5.Convolver documentation | |
✓ example #1 works (95ms) | |
p5.Phrase documentation | |
✓ example #1 works | |
p5.Part documentation | |
✓ example #1 works | |
p5.SoundLoop documentation | |
✓ example #1 works | |
p5.SoundRecorder documentation | |
✓ example #1 works | |
p5.PeakDetect documentation | |
{} | |
✓ example #1 works (43ms) | |
p5.Gain documentation | |
✓ example #1 works | |
p5.MonoSynth documentation | |
✓ example #1 works | |
p5.PolySynth documentation | |
✓ example #1 works | |
681 passing (10s) | |
⇢ EventBus { name: 'ended', | |
data: | |
{ suites: 549, | |
tests: 681, | |
passes: 681, | |
pending: 0, | |
failures: 0, | |
start: '2018-06-28T04:37:20.698Z', | |
end: '2018-06-28T04:37:30.785Z', | |
duration: 10087 } } | |
ChromeLauncher Killing all Chrome Instances +11s | |
Running "mochaChrome:test" (mochaChrome) task | |
EventBus initialized | |
ChromeLauncher:verbose created /var/folders/wv/z118dxf114b84t65rr9q5sxh0000gn/T/lighthouse.XXXXXXX.5OeUoZbK +66ms | |
ChromeLauncher:verbose Launching with command: | |
ChromeLauncher:verbose "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --disable-translate --disable-extensions --disable-background-networking --safebrowsing-disable-auto-update --disable-sync --metrics-recording-only --disable-default-apps --mute-audio --no-first-run --remote-debugging-port=61935 --user-data-dir=/var/folders/wv/z118dxf114b84t65rr9q5sxh0000gn/T/lighthouse.XXXXXXX.5OeUoZbK --disable-background-timer-throttling --disable-default-apps --disable-device-discovery-notifications --disable-popup-blocking --disable-renderer-backgrounding --disable-translate --headless --no-default-browser-check --no-first-run --no-sandbox --mute-audio about:blank +488ms | |
ChromeLauncher:verbose Chrome running with pid 88300 on port 61935. +6ms | |
ChromeLauncher Waiting for browser. +0ms | |
ChromeLauncher Waiting for browser... +0ms | |
ChromeLauncher Waiting for browser..... +506ms | |
ChromeLauncher Waiting for browser.....✓ +2ms | |
Chrome Instance launched | |
CDP Client Connected | |
⇢ EventBus { name: 'width', data: '' } | |
⇢ EventBus { name: 'started', data: 33 } | |
Test Run Started - Running 33 Tests | |
DOM | |
p5.prototype.select | |
✓ should find elements by ID | |
✓ should return null when elements by ID are not found | |
✓ should find elements by class | |
✓ should return null when elements by class are not found | |
✓ should find elements by tag name | |
✓ should return null when elements by tag name are not found | |
✓ should create an empty node when no html is provided | |
color/p5.ColorConversion | |
rgbaToHSBA | |
✓ rgba converts to hsba | |
hsbaToRGBA | |
✓ hsba converts to rgba | |
✓ handles maximum hue value | |
hslaToRGBA | |
✓ hsla converts to rgba | |
✓ handles maximum hue value | |
rgbaToHSLA | |
✓ rgba converts to hsla (low lightness) | |
✓ rgba converts to hsla (high lightness) | |
hslaToHSBA | |
✓ hsla converts to hsba | |
hsbaToHSLA | |
✓ hsba converts to hsla | |
color/CreatingReading | |
p5.prototype.alpha | |
✓ no friendly-err-msg I | |
✓ no friendly-err-msg II | |
✓ wrong param type at #0 | |
p5.prototype.red, green, blue | |
✓ red(): no friendly-err-msg | |
✓ green(): no friendly-err-msg | |
✓ blue(): no friendly-err-msg | |
p5.prototype.hue, brightness, lightness, saturation | |
✓ hue(): no friendly-err-msg | |
✓ brightness(): no friendly-err-msg | |
✓ lightness(): no friendly-err-msg | |
✓ saturation(): no friendly-err-msg | |
p5.prototype.lerpColor | |
✓ should correctly get lerp colors in RGB | |
✓ should correctly get lerp colors in HSL | |
✓ should correctly get lerp colors in HSB | |
✓ should not extrapolate | |
> p5.js says: lerpColor() was expecting Number for parameter #2 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/lerpColor] | |
✓ missing param #2 | |
p5.prototype.lerpColor with alpha | |
✓ should correctly get lerp colors in RGB with alpha | |
✓ should correctly get lerp colors in HSL with alpha | |
✓ should correctly get lerp colors in HSB with alpha | |
✓ should not extrapolate | |
p5.Color | |
p5.prototype.color(r,g,b) | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ shouldn't set HSBA property before hsb access func is called | |
✓ shouldn't set HSLA property before hsb access func is called | |
> p5.js says: color() was expecting Number for parameter #0 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/color] | |
✓ color(): missing param #0 + throws error | |
p5.prototype.color("#rgb") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ invalid hex values resolve to white | |
✓ should not be able to pass css & alpha | |
spot check | |
✓ numeric hex values | |
✓ alphabetic hex values | |
✓ alphanumeric hex values | |
p5.prototype.color("#rgba") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ invalid hex values resolve to white | |
spot check | |
✓ numeric hex values | |
✓ alphabetic hex values | |
✓ alphanumeric hex values | |
p5.prototype.color("#rrggbb") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ invalid hex values resolve to white | |
spot check | |
✓ numeric hex values | |
✓ alphabetic hex values | |
✓ alphanumeric hex values | |
p5.prototype.color("#rrggbbaa") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ invalid hex values resolve to white | |
spot check | |
✓ numeric hex values | |
✓ alphabetic hex values | |
✓ alphanumeric hex values | |
p5.prototype.color("rgb(r,g,b)") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ spot check variant spacing | |
✓ invalid RGB values resolve to white | |
p5.prototype.color("rgb(r%,g%,b%)") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ spot check variant spacing | |
✓ spot check decimal percentage values | |
✓ invalid percentage values default to white | |
p5.prototype.color("rgba(r,g,b,a)") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ spot check variant spacing | |
✓ invalid RGBA values resolve to white | |
p5.prototype.color("rgba(r%,g%,b%,a)") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ spot check variant spacing | |
✓ spot check decimal percentage values | |
✓ invalid RGBA percentage values resolve to white | |
p5.prototype.color("hsl(h, s%, l%)") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
p5.prototype.color("hsla(h, s%, l%, a)") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
p5.prototype.color("hsb(h, s%, b%)") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
p5.prototype.color("hsba(h, s%, b%, a)") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
p5.prototype.color("svgnamedcolor") | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ spot check color keywords | |
p5.prototype.color([]) | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
p5.prototype.color(r,g,b,a) | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ should correctly get hue/saturation/brightness/lightness | |
✓ should correctly get RGBA values | |
✓ should correctly render color string | |
in default mode | |
✓ can be modified with alpha setter | |
✓ can be modified with rgb setters | |
p5.Color in RGB mode with custom range | |
✓ should correctly convert to RGBA | |
✓ should correctly get RGBA property | |
✓ should correctly render color string | |
✓ should correctly get RGBA property after overwrite | |
p5.Color in HSL mode | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ can be modified with alpha setter | |
✓ can be modified with rgb setters | |
p5.Color in HSL mode with Alpha | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ should correctly get hue/saturation/lightness/alpha | |
p5.Color in HSL mode with custom range | |
✓ should correctly get HSLA property | |
✓ should correctly convert to RGBA | |
✓ should correctly render color string | |
✓ can be modified with alpha setter | |
✓ can be modified with rgb setters | |
p5.Color in HSL mode with RGB string | |
✓ should correctly get HSLA property | |
✓ should correctly convert to RGBA | |
✓ should correctly render color string | |
p5.Color in HSL mode with HSL string | |
✓ should correctly get HSLA property | |
✓ should correctly convert to RGBA | |
✓ should correctly render color string | |
p5.Color in HSL mode with HSB string | |
✓ should correctly get HSLA property | |
✓ should correctly convert to RGBA | |
✓ should correctly render color string | |
p5.Color in HSB mode | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ can be modified with alpha setter | |
✓ can be modified with rgb setters | |
p5.Color in HSB mode with Alpha | |
✓ should create instance of p5.Color | |
✓ should correctly set RGBA property | |
✓ should correctly get hue/saturation/brightness/alpha | |
p5.Color in HSB mode with custom range | |
✓ should correctly get HSBA property | |
✓ should correctly convert to RGBA | |
✓ should correctly render color string | |
p5.Color in HSB mode with RGB string | |
✓ should correctly get HSBA property | |
✓ should correctly convert to RGBA | |
✓ should correctly render color string | |
p5.Color in HSB mode with HSB string | |
✓ should correctly get HSBA property | |
✓ should correctly convert to RGBA | |
✓ should correctly render color string | |
p5.Color in HSB mode with HSL string | |
✓ should correctly get HSBA property | |
✓ should correctly convert to RGBA | |
✓ should correctly render color string | |
p5.Color in RGB mode with grayscale value | |
✓ should create instance of p5.Color | |
✓ should correctly set RGB levels | |
p5.Color in RGB mode with grayscale value and alpha | |
✓ should create instance of p5.Color | |
✓ should correctly set RGB levels | |
p5.Color in HSB mode with grayscale value | |
✓ should create instance of p5.Color | |
✓ should correctly set RGB levels | |
p5.Color in HSB mode with grayscale value and alpha | |
✓ should create instance of p5.Color | |
✓ should correctly set RGB levels | |
p5.Color in HSL mode with grayscale value | |
✓ should create instance of p5.Color | |
✓ should correctly set RGB levels | |
p5.Color in HSL mode with grayscale value and alpha | |
✓ should create instance of p5.Color | |
✓ should correctly set RGB levels | |
p5.Color.prototype.toString | |
✓ should generate (r,g,b,a) color string with 0-1 normalized alpha | |
✓ should consistently generate the same output | |
✓ should not mutate color levels | |
color/Setting | |
p5.prototype.colorMode | |
✓ should be a function | |
✓ should set mode to RGB | |
✓ should correctly set color RGB maxes | |
✓ should set mode to HSL | |
✓ should correctly set color HSL maxes | |
✓ should set mode to HSB | |
✓ should correctly set color HSB maxes | |
2D Primitives | |
p5.prototype.arc | |
✓ should be a function | |
✓ no friendly-err-msg | |
> p5.js says: arc() was expecting Number for parameter #4 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/arc] | |
> p5.js says: arc() was expecting Number for parameter #5 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/arc] | |
✓ missing param #4, #5 | |
> p5.js says: arc() was expecting Number for parameter #0 (zero-based index), received string instead. [http://p5js.org/reference/#p5/arc] | |
✓ wrong param type at #0 | |
p5.prototype.ellipse | |
✓ should be a function | |
✓ no friendly-err-msg | |
> p5.js says: ellipse() was expecting Number for parameter #2 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/ellipse] | |
✓ missing param #2 | |
> p5.js says: ellipse() was expecting Number for parameter #2 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/ellipse] | |
✓ missing param #2 | |
> p5.js says: ellipse() was expecting Number for parameter #0 (zero-based index), received string instead. [http://p5js.org/reference/#p5/ellipse] | |
✓ wrong param type at #0 | |
p5.prototype.line | |
✓ should be a function | |
✓ no friendly-err-msg, 2D | |
✓ no friendly-err-msg, 3D | |
> p5.js says: line() was expecting Number for parameter #3 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/line] | |
✓ missing param #3 | |
✓ missing param #4 | |
> p5.js says: line() was expecting Number for parameter #1 (zero-based index), received string instead. [http://p5js.org/reference/#p5/line] | |
✓ wrong param type at #1 | |
p5.prototype.point | |
✓ should be a function | |
✓ no friendly-err-msg, 2D | |
✓ no friendly-err-msg, 3D | |
> p5.js says: point() was expecting Number for parameter #1 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/point] | |
✓ missing param #1 | |
> p5.js says: point() was expecting Number for parameter #1 (zero-based index), received string instead. [http://p5js.org/reference/#p5/point] | |
✓ wrong param type at #1 | |
p5.prototype.quad | |
✓ should be a function | |
✓ no friendly-err-msg, 2D | |
> p5.js says: quad() was expecting Number for parameter #7 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/quad] | |
✓ missing param #7 | |
> p5.js says: quad() was expecting Number for parameter #1 (zero-based index), received string instead. [http://p5js.org/reference/#p5/quad] | |
✓ wrong param type at #1 | |
p5.prototype.rect | |
✓ should be a function | |
✓ no friendly-err-msg, format I | |
✓ no friendly-err-msg, format II | |
> p5.js says: rect() was expecting Number for parameter #3 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/rect] | |
✓ missing param #3 | |
✓ missing param #4 | |
> p5.js says: rect() was expecting Number for parameter #1 (zero-based index), received string instead. [http://p5js.org/reference/#p5/rect] | |
✓ wrong param type at #1 | |
p5.prototype.triangle | |
✓ should be a function | |
✓ no friendly-err-msg | |
> p5.js says: triangle() was expecting Number for parameter #5 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/triangle] | |
✓ missing param #5 | |
> p5.js says: triangle() was expecting Number for parameter #1 (zero-based index), received string instead. [http://p5js.org/reference/#p5/triangle] | |
✓ wrong param type at #1 | |
Core | |
new p5(sketch, null, true) | |
✓ should define drawContext synchronously | |
new p5(sketch, null, false) | |
✓ should define drawContext asynchronously | |
new p5(sketch, node, true) | |
✓ should define drawContext synchronously | |
new p5(sketch, node) | |
✓ should define drawContext asynchronously | |
new p5(sketch, true) | |
✓ should define drawContext synchronously | |
new p5(sketch) | |
✓ should define drawContext asynchronously | |
p5.prototype.registerMethod | |
✓ should register and call "init" methods | |
new p5() / global mode | |
Resource Failed to Load: { url: 'http://localhost:9001/js/bind.js', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
✓ is triggered when "setup" is in window (70ms) | |
Resource Failed to Load: { url: 'http://localhost:9001/js/bind.js', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
✓ is triggered when "draw" is in window (111ms) | |
Resource Failed to Load: { url: 'http://localhost:9001/js/bind.js', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
✓ works when p5.js is loaded asynchronously (123ms) | |
Resource Failed to Load: { url: 'http://localhost:9001/js/bind.js', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
✓ works on-demand (54ms) | |
p5.prototype._createFriendlyGlobalFunctionBinder | |
✓ should warn when globals already exist | |
✓ should warn when globals are overwritten | |
✓ should allow overwritten globals to be overwritten | |
✓ should allow globals to be deleted | |
✓ should create enumerable globals | |
✓ should not warn about overwriting print() | |
✓ should not warn about overwriting preload methods | |
✓ should not warn about overwriting non-functions | |
Curves | |
p5.prototype.bezier | |
✓ should be a function | |
✓ no friendly-err-msg | |
> p5.js says: bezier() was expecting Number for parameter #6 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezier] | |
> p5.js says: bezier() was expecting Number for parameter #7 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezier] | |
> p5.js says: bezierVertex() was expecting Number for parameter #4 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html] at http://localhost:9001/lib/p5.js:51701:15. [http://p5js.org/reference/#p5/bezierVertex] | |
> p5.js says: bezierVertex() was expecting Number for parameter #5 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html] at http://localhost:9001/lib/p5.js:51701:15. [http://p5js.org/reference/#p5/bezierVertex] | |
✓ no friendly-err-msg. missing param #6, #7 | |
> p5.js says: bezier() was expecting Number for parameter #0 (zero-based index), received string instead. [http://p5js.org/reference/#p5/bezier] | |
✓ wrong param type at #0 | |
p5.prototype.bezierPoint | |
✓ should be a function | |
> p5.js says: bezierPoint() was expecting Number for parameter #0 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezierPoint] | |
> p5.js says: bezierPoint() was expecting Number for parameter #1 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezierPoint] | |
> p5.js says: bezierPoint() was expecting Number for parameter #2 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezierPoint] | |
> p5.js says: bezierPoint() was expecting Number for parameter #3 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezierPoint] | |
> p5.js says: bezierPoint() was expecting Number for parameter #4 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezierPoint] | |
✓ should return a number: missing param #0~4 | |
✓ should return the correct point on a Bezier Curve | |
p5.prototype.bezierTangent | |
✓ should be a function | |
> p5.js says: bezierTangent() was expecting Number for parameter #0 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezierTangent] | |
> p5.js says: bezierTangent() was expecting Number for parameter #1 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezierTangent] | |
> p5.js says: bezierTangent() was expecting Number for parameter #2 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezierTangent] | |
> p5.js says: bezierTangent() was expecting Number for parameter #3 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezierTangent] | |
> p5.js says: bezierTangent() was expecting Number for parameter #4 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/bezierTangent] | |
✓ should return a number: missing param #0~4 | |
✓ should return the correct point on a Bezier Curve | |
p5.prototype.curve | |
✓ should be a function | |
✓ no friendly-err-msg | |
> p5.js says: curve() was expecting Number for parameter #6 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curve] | |
> p5.js says: curve() was expecting Number for parameter #7 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curve] | |
> p5.js says: curveVertex() was expecting Number for parameter #0 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html] at http://localhost:9001/lib/p5.js:51711:15. [http://p5js.org/reference/#p5/curveVertex] | |
> p5.js says: curveVertex() was expecting Number for parameter #1 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html] at http://localhost:9001/lib/p5.js:51711:15. [http://p5js.org/reference/#p5/curveVertex] | |
✓ no friendly-err-msg. missing param #6, #7 | |
> p5.js says: curve() was expecting Number for parameter #0 (zero-based index), received string instead. [http://p5js.org/reference/#p5/curve] | |
> p5.js says: curveVertex() was expecting Number for parameter #0 (zero-based index), received string instead at http://localhost:9001/lib/p5.js:51708:15. [http://p5js.org/reference/#p5/curveVertex] | |
✓ wrong param type at #0 | |
p5.prototype.curvePoint | |
✓ should be a function | |
> p5.js says: curvePoint() was expecting Number for parameter #0 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curvePoint] | |
> p5.js says: curvePoint() was expecting Number for parameter #1 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curvePoint] | |
> p5.js says: curvePoint() was expecting Number for parameter #2 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curvePoint] | |
> p5.js says: curvePoint() was expecting Number for parameter #3 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curvePoint] | |
> p5.js says: curvePoint() was expecting Number for parameter #4 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curvePoint] | |
✓ should return a number: missing param #0~4 | |
✓ should return the correct point on a Catmull-Rom Curve | |
p5.prototype.curveTangent | |
✓ should be a function | |
> p5.js says: curveTangent() was expecting Number for parameter #0 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curveTangent] | |
> p5.js says: curveTangent() was expecting Number for parameter #1 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curveTangent] | |
> p5.js says: curveTangent() was expecting Number for parameter #2 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curveTangent] | |
> p5.js says: curveTangent() was expecting Number for parameter #3 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curveTangent] | |
> p5.js says: curveTangent() was expecting Number for parameter #4 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. [http://p5js.org/reference/#p5/curveTangent] | |
✓ should return a number: missing param #0~4 | |
✓ should return the correct point on a Catmull-Rom Curve | |
p5.Element | |
with no events | |
✓ attaches and gets events | |
✓ attaches mutiple handlers and only latest gets events | |
✓ detaches and doesnt get events | |
Error Helpers | |
validateParameters: Numbers + optional Constant | |
✓ arc(): no friendly-err-msg | |
> p5.js says: arc() was expecting Number for parameter #4 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html] at http://localhost:9001/node_modules/chai/chai.js:1589:7. [http://p5js.org/reference/#p5/arc] | |
> p5.js says: arc() was expecting Number for parameter #5 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html] at http://localhost:9001/node_modules/chai/chai.js:1589:7. [http://p5js.org/reference/#p5/arc] | |
✓ arc(): missing param #4, #5 | |
> p5.js says: arc() was expecting Number for parameter #0 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html] at http://localhost:9001/node_modules/chai/chai.js:1589:7. [http://p5js.org/reference/#p5/arc] | |
✓ arc(): missing param #0 | |
> p5.js says: arc() was expecting Number for parameter #4 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html] at http://localhost:9001/node_modules/chai/chai.js:1589:7. [http://p5js.org/reference/#p5/arc] | |
✓ arc(): missing param #4 | |
> p5.js says: arc() was expecting Number for parameter #5 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html] at http://localhost:9001/node_modules/chai/chai.js:1589:7. [http://p5js.org/reference/#p5/arc] | |
✓ arc(): missing param #5 | |
✓ arc(): missing param #6, no friendly-err-msg | |
> p5.js says: arc() was expecting Number for parameter #0 (zero-based index), received string instead at http://localhost:9001/node_modules/chai/chai.js:1589:7. [http://p5js.org/reference/#p5/arc] | |
✓ arc(): wrong param type at #0 | |
validateParameters: Numbers + optional Constant | |
✓ rect(): no friendly-err-msg | |
> p5.js says: rect() was expecting Number for parameter #3 (zero-based index), received an empty variable instead. If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html] at http://localhost:9001/node_modules/chai/chai.js:1589:7. [http://p5js.org/reference/#p5/rect] | |
✓ rect(): missing param #3 | |
> p5.js says: rect() was expecting Number for parameter #0 (zero-based index), received string instead at http://localhost:9001/node_modules/chai/chai.js:1589:7. [http://p5js.org/reference/#p5/rect] | |
✓ rect(): wrong param type at #0 | |
validateParameters: class, multi-types + optional Numbers | |
✓ ambientLight(): no friendly-err-msg | |
validateParameters: multi-format | |
✓ color(): no friendly-err-msg | |
✓ color(): no friendly-err-msg | |
✓ color(): no friendly-err-msg | |
✓ color(): optional parameter, incorrect type | |
✓ color(): extra parameter | |
> p5.js says: color() was expecting Number for parameter #0 (zero-based index), received array instead at http://localhost:9001/node_modules/chai/chai.js:1589:7. [http://p5js.org/reference/#p5/color] | |
✓ color(): incorrect element type | |
> p5.js says: color() was expecting 4 arguments, but received 8 at http://localhost:9001/node_modules/chai/chai.js:1589:7. [http://p5js.org/reference/#p5/color] | |
✓ color(): incorrect parameter count | |
helpForMisusedAtTopLevelCode | |
✓ help for constants is shown | |
✓ help for functions is shown | |
✓ help for variables is shown | |
Graphics | |
p5.prototype.createGraphics | |
✓ it creates a graphics | |
p5.Graphics | |
✓ it has necessary properties | |
✓ it has consistent sizes | |
✓ its canvas has consistent sizes | |
✓ it has a valid pixels array | |
p5.Graphics.pixelDensity | |
✓ it can change density | |
✓ it keeps valid sizes after change | |
✓ its canvas keeps valid sizes after change | |
✓ it keeps a valid pixel array after change | |
p5.Graphics.resizeCanvas | |
✓ it can call resizeCanvas | |
✓ it resizes properly with pixelDensity 1 | |
✓ its canvas resizes properly with pixelDensity 1 | |
✓ it resizes properly the pixels array with density 1 | |
✓ it resizes properly with pixelDensity 2 | |
✓ its canvas resizes properly with pixelDensity 2 | |
✓ it resizes properly the pixels array with density 2 | |
Renderer | |
p5.prototype.createCanvas | |
✓ should have correct initial colors | |
p5.prototype.resizeCanvas | |
✓ should resize canvas | |
✓ should restore fill color | |
✓ should restore stroke color | |
✓ should restore stroke weight | |
✓ should restore stroke cap | |
p5.prototype.blendMode | |
✓ should be a function | |
✓ should be able to ADD | |
✓ should be able to MULTIPLY | |
webgl assertions | |
✓ rotateX() should throw a WEBGL assertion Error | |
✓ rotateY() should throw a WEBGL assertion Error | |
✓ rotateZ() should throw a WEBGL assertion Error | |
✓ camera() should throw a WEBGL assertion Error | |
✓ perspective() should throw a WEBGL assertion Error | |
✓ ortho() should throw a WEBGL assertion Error | |
✓ orbitControl() should throw a WEBGL assertion Error | |
✓ ambientLight() should throw a WEBGL assertion Error | |
✓ directionalLight() should throw a WEBGL assertion Error | |
✓ pointLight() should throw a WEBGL assertion Error | |
✓ model() should throw a WEBGL assertion Error | |
✓ createShader() should throw a WEBGL assertion Error | |
✓ shader() should throw a WEBGL assertion Error | |
✓ normalMaterial() should throw a WEBGL assertion Error | |
✓ texture() should throw a WEBGL assertion Error | |
✓ ambientMaterial() should throw a WEBGL assertion Error | |
✓ specularMaterial() should throw a WEBGL assertion Error | |
✓ setAttributes() should throw a WEBGL assertion Error | |
✓ plane() should throw a WEBGL assertion Error | |
✓ box() should throw a WEBGL assertion Error | |
✓ sphere() should throw a WEBGL assertion Error | |
✓ cylinder() should throw a WEBGL assertion Error | |
✓ cone() should throw a WEBGL assertion Error | |
✓ ellipsoid() should throw a WEBGL assertion Error | |
✓ torus() should throw a WEBGL assertion Error | |
Structure | |
p5.frameCount | |
✓ starts at zero | |
✓ matches draw calls (217ms) | |
p5.prototype.loop and p5.prototype.noLoop | |
✓ noLoop should stop (101ms) | |
✓ loop should restart (102ms) | |
p5.prototype.push and p5.prototype.pop | |
✓ leak no state after fill() | |
✓ leak no state after noFill() | |
✓ leak no state after stroke() | |
✓ leak no state after noStroke() | |
✓ leak no state after tint() | |
✓ leak no state after noTint() | |
✓ leak no state after strokeWeight() | |
✓ leak no state after strokeCap() | |
✓ leak no state after strokeJoin() | |
✓ leak no state after imageMode() | |
✓ leak no state after rectMode() | |
✓ leak no state after ellipseMode() | |
✓ leak no state after colorMode() | |
✓ leak no state after textAlign() | |
✓ leak no state after textFont() | |
✓ leak no state after textStyle() | |
✓ leak no state after textSize() | |
✓ leak no state after textLeading() | |
p5.prototype.redraw | |
✓ resets the rendering matrix between frames | |
Dictionary Objects | |
p5.prototype.stringDict | |
✓ should be created | |
✓ has correct structure | |
✓ should have correct size | |
✓ should add new key-value pairs | |
✓ should add objects | |
✓ should change existing values | |
✓ should clear | |
p5.prototype.numberDict | |
✓ should be created | |
✓ has correct structure | |
✓ should have correct size | |
✓ should add new key-value pairs | |
✓ should change existing values | |
✓ should add values together | |
✓ should subtract from value | |
✓ should divide from value | |
✓ should multiply value | |
✓ should find minimum value | |
✓ should find maximum value | |
✓ should clear | |
loading images | |
✓ should call successCallback when image loads | |
✓ should call failureCallback when unable to load image | |
✓ should draw image with defaults | |
1) should draw cropped image | |
- Test in preload() with success callback | |
- Test in setup() after preload() | |
pixels | |
p5.Image.get | |
✓ works with integers | |
✓ rounds down when given decimal numbers | |
Files | |
✓ preload is a Boolean | |
httpDo() | |
✓ should be a function | |
✓ should work when provided with just a path | |
✓ should accept method parameter | |
✓ should accept type parameter | |
✓ should accept method and type parameter together | |
✓ should pass error object to error callback function | |
loadJSON() in Preload | |
✓ should be a function | |
✓ should return an Object | |
loadStrings() in Preload | |
✓ should be a function | |
✓ should return an array | |
loadXML() in Preload | |
✓ should be a function | |
✓ should return an Object | |
p5.prototype.myp5.loadJSON | |
✓ should be a function | |
✓ should call callback function if provided | |
✓ should pass an Array to callback function | |
✓ should call error callback function if provided | |
✓ should pass error object to error callback function | |
✓ should allow json to override jsonp in 3rd param | |
p5.prototype.loadStrings | |
✓ should be a function | |
✓ should call callback function if provided | |
✓ should pass an Array to callback function | |
✓ should call error callback function if provided | |
✓ should pass error object to error callback function | |
p5.prototype.loadXML | |
✓ should be a function | |
p5.prototype.loadTable | |
✓ should be a function | |
✓ should load a file without options | |
✓ the loaded file should be correct | |
✓ using the csv option works | |
✓ using the csv and tsv options fails | |
✓ using the header option works | |
✓ using the header and csv options together works | |
✓ CSV files should handle commas within quoted fields | |
✓ CSV files should handle escaped quotes and returns within quoted fields | |
p5.prototype.loadBytes | |
✓ should be a function | |
✓ should call callback function if provided | |
✓ should call error callback function if not found | |
✓ should pass an Object to callback function | |
✓ data.bytes should be an Array/Uint8Array | |
✓ should load correct data | |
Calculation | |
p5.prototype.abs | |
✓ should be a function | |
✓ should return a number | |
✓ should return an absolute value | |
p5.prototype.ceil | |
✓ should be a function | |
✓ should return ceil value given negative value | |
✓ should return a ceil value given positive value | |
✓ should return same number | |
p5.prototype.dist | |
✓ should be a function | |
✓ should return a number | |
✓ should return correct distance | |
✓ should return positive distance | |
✓ should return correct distance | |
✓ should return positive distance | |
✓ should not underflow | |
✓ should not overflow | |
✓ should return 0 for identical 2D points | |
✓ should return 0 for identical 3D points | |
p5.prototype.exp | |
✓ should be a function | |
✓ should return exp value given negative value | |
✓ should return exp value given positive value | |
✓ should return 1 | |
p5.prototype.floor | |
✓ should be a function | |
✓ should return floor value given negative value | |
✓ should return a floor value given positive value | |
✓ should return same number | |
p5.prototype.lerp | |
✓ should be a function | |
✓ should return start | |
✓ should return average | |
✓ should return stop | |
p5.prototype.log | |
✓ should be a function | |
✓ should return log value given negative value | |
✓ should return log value given positive value | |
✓ should return 0 | |
p5.prototype.mag | |
✓ should be a function | |
✓ should return a number | |
✓ should return correct magitude | |
✓ should return positive magnitude given negative inputs | |
p5.prototype.map | |
✓ should be a function | |
✓ should return a number | |
✓ should return scaled value | |
✓ should extrapolate by default | |
✓ shaould clamp correctly | |
p5.prototype.max | |
✓ should be a function | |
✓ should return larger left argument | |
✓ should return larger right argument | |
✓ should return single value | |
✓ should return larger value from array | |
✓ should return larger value from array | |
✓ should return single value from array | |
p5.prototype.min | |
✓ should be a function | |
✓ should return smaller right argument | |
✓ should return smaller left argument | |
✓ should return single value | |
✓ should return smaller value from array | |
✓ should return smaller value from array | |
✓ should return single value from array | |
p5.prototype.norm | |
✓ should be a function | |
✓ should return scaled decimal value | |
p5.prototype.constrain | |
✓ should be a function | |
✓ should return same number | |
✓ should return lower bound | |
✓ should return upper bound | |
p5.prototype.sq | |
✓ should be a function | |
✓ should return sauare value | |
✓ should return squared value given negative number | |
p5.prototype.pow | |
✓ should be a function | |
✓ should return pow for negative exponential | |
✓ should return pow for positive exponential | |
p5.prototype.round | |
✓ should be a function | |
✓ should round down | |
✓ should round up from midpoint | |
✓ should round up | |
p5.prototype.sqrt | |
✓ should be a function | |
✓ should return square root | |
Noise | |
p5.prototype.noise | |
✓ should return a number | |
✓ should return a number 0 < n < 1 | |
p5.prototype.noiseSeed | |
✓ should return a number 0 < n < 1 | |
✓ should return same sequence of numbers | |
p5.Vector | |
p5.prototype.createVector() | |
✓ should create instance of p5.Vector | |
✓ should have x, y, z be initialized to 0 | |
p5.prototype.createVector() | |
✓ should have x, y, z be initialized to 1,2,3 | |
new p5.Vector() | |
✓ should set constant to DEGREES | |
✓ should have x, y, z be initialized to 0 | |
new p5.Vector(1, 2, 3) | |
✓ should have x, y, z be initialized to 1,2,3 | |
new p5.Vector(1,2,undefined) | |
✓ should have x, y, z be initialized to 1,2,0 | |
p5.prototype.rotate() RADIANS | |
✓ should have x, y, z rotated to 0, -1, 0 (RADIANS) | |
p5.prototype.rotate() DEGREES | |
✓ should have x, y, z rotated to 0, -1, 0 (DEGREES) | |
p5.prototype.angleBetween() | |
✓ should not trip on rounding issues in 2D space | |
✓ should not trip on rounding issues in 3D space | |
✓ should return NaN for zero vector | |
set() | |
with p5.Vector | |
✓ should have x, y, z be initialized to the vector's x, y, z | |
with Array | |
✓ [2,4] should set x === 2, y === 4, z === 0 | |
✓ should have x, y, z be initialized to the array's 0,1,2 index | |
set(1,2,3) | |
✓ should have x, y, z be initialized to the 1, 2, 3 | |
copy() | |
✓ should not return the same instance | |
✓ should return the calling object's x, y, z | |
add() | |
with p5.Vector | |
✓ should add x, y, z from the vector argument | |
with Array | |
✓ should add the array's 0,1,2 index | |
add([2, 4]) | |
✓ should add the x and y components | |
add(3,5) | |
✓ should add the x and y components | |
add(2,3,4) | |
✓ should add the x, y, z components | |
p5.Vector.add(v1, v2) | |
✓ should return neither v1 nor v2 | |
✓ should be sum of the two p5.Vectors | |
sub() | |
with p5.Vector | |
✓ should sub x, y, z from the vector argument | |
with Array | |
✓ should substract from the array's 0,1,2 index | |
sub([2, 4]) | |
✓ should sub the x and y components | |
sub(3,5) | |
✓ should substract the x and y components | |
sub(2,3,4) | |
✓ should substract the x, y, z components | |
p5.Vector.sub(v1, v2) | |
✓ should return neither v1 nor v2 | |
✓ should be v1 - v2 | |
mult() | |
✓ should return the same object | |
p5.Vector.prototype.mult: n is undefined or not a finite number | |
✓ should not change x, y, z if no argument is given | |
p5.Vector.prototype.mult: n is undefined or not a finite number | |
✓ should not change x, y, z if n is not a finite number | |
with scalar | |
✓ multiply the x, y, z with the scalar | |
p5.Vector.mult(v, n) | |
✓ should return a new p5.Vector | |
✓ should multiply the scalar | |
div() | |
✓ should return the same object | |
p5.Vector.prototype.div: n is undefined or not a finite number | |
✓ should not change x, y, z if no argument is given | |
p5.Vector.prototype.div: n is undefined or not a finite number | |
✓ should not change x, y, z if n is not a finite number | |
with scalar | |
✓ divide the x, y, z with the scalar | |
p5.Vector.prototype.div: divide by 0 | |
✓ should not change x, y, z if n is 0 | |
p5.Vector.div(v, n) | |
✓ should not be undefined | |
✓ should return a new p5.Vector | |
✓ should divide the scalar | |
dot | |
✓ should return a number | |
with p5.Vector | |
✓ should be the dot product of the vector | |
with x, y, z | |
✓ should be the dot product with x, y | |
✓ should be the dot product with x, y, z | |
p5.Vector.dot(v, n) | |
✓ should return a number | |
✓ should be the dot product of the two vectors | |
cross | |
✓ should return a new product | |
with p5.Vector | |
✓ should cross x, y, z from the vector argument | |
p5.Vector.cross(v1, v2) | |
✓ should not be undefined | |
✓ should return neither v1 nor v2 | |
✓ should the cross product of v1 and v2 | |
dist | |
✓ should return a number | |
✓ should return distance between two vectors | |
✓ should return distance between two vectors | |
✓ should be commutative | |
p5.Vector.dist(v1, v2) | |
✓ should return a number | |
✓ should be commutative | |
normalize | |
✓ should return the same object | |
with unit vector | |
✓ should not change the vector | |
with 2,2,1 | |
✓ should normalize to 0.66,0.66,0.33 | |
limit | |
✓ should return the same object | |
with a vector larger than the limit | |
✓ should limit the vector | |
with a vector smaller than the limit | |
✓ should not limit the vector | |
setMag | |
✓ should return the same object | |
✓ should set the magnitude of the vector | |
✓ should set the magnitude of the vector | |
heading | |
✓ should return a number | |
✓ heading for vector pointing right is 0 | |
✓ heading for vector pointing down is PI/2 | |
✓ heading for vector pointing left is PI | |
rotate | |
✓ should return the same object | |
✓ should rotate the vector | |
✓ should rotate the vector | |
lerp | |
✓ should return the same object | |
with x, y, z, amt | |
✓ should lerp x by amt | |
✓ should lerp y by amt | |
✓ should lerp z by amt | |
with no amt | |
✓ should assume 0 amt | |
p5.Vector.lerp(v1, v2, amt) | |
✓ should not be undefined | |
✓ should be a p5.Vector | |
✓ should return neither v1 nor v2 | |
✓ should res to be [1, 1, 1] | |
p5.Vector.fromAngle(angle) | |
✓ should be a p5.Vector with values (0,1) | |
p5.Vector.random2D() | |
✓ should be a unit p5.Vector | |
p5.Vector.random3D() | |
✓ should be a unit p5.Vector | |
v1.angleBetween(v2) | |
✓ should be a Number | |
with [1,0,0] and [2,2,0] | |
✓ should be 45 deg difference | |
with [2,0,0] and [-2,0,0] | |
✓ should be 180 deg difference | |
with [2,0,0] and [-2,-2,0] | |
✓ should be 135 deg difference | |
✓ should be commutative | |
array | |
✓ should return an array | |
✓ should return an with the x y and z components | |
Random | |
p5.prototype.random | |
random() | |
✓ should return a number | |
✓ should return a number 0 <= n < 1 | |
✓ should return same sequence of numbers | |
random(5) | |
✓ should return a number 0 <= n < 5 | |
random(1, 10) | |
✓ should return a number 1 <= n < 10 | |
random(["apple", "pear", "orange", "grape"]) | |
✓ should return a fruit | |
Trigonometry | |
p5.prototype.angleMode | |
✓ should set constant to DEGREES | |
✓ should set constant to RADIANS | |
✓ should always be RADIANS or DEGREES | |
p5.prototype.degrees | |
✓ should return the angle in radians when angleMode is DEGREES | |
✓ should return the angle in radians when angleMode is RADIANS | |
p5.prototype.radians | |
✓ should return the angle in degrees when angleMode is RADIANS | |
✓ should return the angle in degrees when angleMode is DEGREES | |
p5.prototype.asin | |
✓ should handle degrees | |
✓ should handle radians | |
p5.prototype.atan | |
✓ should handle degrees | |
✓ should handle radians | |
p5.prototype.acos | |
✓ should handle degrees | |
✓ should handle radians | |
p5.prototype.sin | |
✓ should handle degrees | |
✓ should handle radians | |
p5.prototype.cos | |
✓ should handle degrees | |
✓ should handle radians | |
p5.prototype.tan | |
✓ should handle degrees | |
✓ should handle radians | |
p5.prototype.atan2 | |
✓ should handle degrees | |
✓ should handle radians | |
Font Loading | |
Test in preload() with success callback | |
✓ Load asynchronously and use success callback | |
setup() after preload() with success callback | |
✓ Resource should be loaded if preload() finished | |
Fonts outside preload() | |
✓ loadFont should be a function | |
loadFont() with callback | |
✓ should call success-cb w/ obj when font loads | |
✓ should call error-callback when font load fails | |
Array | |
p5.prototype.append | |
✓ should be a function | |
✓ should return an array with appended value | |
p5.prototype.arrayCopy | |
✓ should be a function | |
src, dst | |
✓ should return fully copied array | |
src, dst, len | |
✓ should return an array with first 2 elements copied over | |
✓ should return an array with first 4 elements copied over | |
src, srcPosition, dst, dstPosition, length | |
✓ should copy src[1 - 2] to dst[0 - 1] | |
✓ should copy src[1 - 2] to dst [1 - 2] | |
✓ should copy src[3 - 4] to dst[0 - 1] | |
p5.prototype.concat | |
✓ should concat empty arrays | |
✓ should concat arrays | |
p5.prototype.reverse | |
✓ should reverse empty array | |
✓ should reverse array | |
p5.prototype.shorten | |
✓ should not have error for shortening empty array | |
✓ should shorten array | |
p5.prototype.sort | |
✓ should not have error for sorting empty array | |
✓ should sort alphabetic array lexicographically | |
✓ should sort numerical array from smallest to largest | |
✓ should sort numerical array from smallest to largest for only first 2 elements | |
p5.prototype.splice | |
✓ should insert 4 into position 1 | |
✓ should splice in array of values | |
p5.prototype.subset | |
✓ should get subset from index 1 to end | |
✓ should subset arr[1 - 2] | |
String functions | |
p5.prototype.join | |
✓ should be a function | |
✓ should return joined string | |
p5.prototype.match | |
✓ should be a function | |
✓ should return correct index of match strings | |
p5.prototype.matchAll | |
✓ should be a function | |
✓ should return correct array of strings | |
p5.prototype.nf | |
✓ should be a function | |
✓ should return correct string | |
✓ should return correct string | |
p5.prototype.nfc | |
✓ should be a function | |
✓ should return correct string | |
✓ should return correct string | |
p5.prototype.nfp | |
✓ should be a function | |
✓ should return correct string | |
✓ should return correct string | |
p5.prototype.nfs | |
✓ should be a function | |
✓ should return correct string | |
✓ should return correct string | |
p5.prototype.split | |
✓ should be a function | |
✓ should return correct index of match strings | |
p5.prototype.splitTokens | |
✓ should be a function | |
✓ should return correct index of match strings | |
p5.prototype.trim | |
✓ should be a function | |
✓ should return correct strings | |
time and date | |
p5.prototype.year | |
✓ should be a function | |
✓ should return this year | |
p5.prototype.day | |
✓ should be a function | |
✓ should return todays day | |
p5.prototype.month | |
✓ should be a function | |
✓ should return today's month | |
p5.prototype.hour | |
✓ should be a function | |
✓ should return this hour | |
p5.prototype.second | |
✓ should be a function | |
✓ should return this second | |
p5.prototype.minute | |
✓ should be a function | |
✓ should return a number that is this minute | |
p5.prototype.millis | |
✓ should be a function | |
✓ result should be a number | |
✓ result should be greater than running time (50ms) | |
✓ result should be > newResult (50ms) | |
p5.RendererGL | |
createCanvas(w, h, WEBGL) | |
p5.RendererGL: enabled webgl context | |
✓ creates a p5.RendererGL renderer | |
p5.Shader | |
Shader | |
p5.RendererGL: enabled webgl context | |
✓ Shader Cache | |
p5.RendererGL: enabled webgl context | |
✓ Uniform Cache | |
p5.RendererGL: enabled webgl context | |
✓ Light Shader | |
p5.RendererGL: enabled webgl context | |
✓ Color Shader definition | |
p5.RendererGL: enabled webgl context | |
✓ Immediate Mode Shader definition | |
p5.RendererGL: enabled webgl context | |
✓ Normal Shader definition | |
p5.RendererGL: enabled webgl context | |
✓ Normal Shader is set after normalMaterial() | |
p5.RendererGL: enabled webgl context | |
✓ Color Shader is set after fill() | |
p5.RendererGL: enabled webgl context | |
✓ Shader switch between retain and immedate mode | |
p5.RendererGL: enabled webgl context | |
✓ Light shader set after ambientMaterial() | |
p5.RendererGL: enabled webgl context | |
✓ Light shader set after specularMaterial() | |
p5.RendererGL: enabled webgl context | |
✓ Able to setUniform empty arrays | |
p5.Texture | |
p5.Texture | |
p5.RendererGL: enabled webgl context | |
✓ Create and cache a single texture with p5.Image | |
p5.RendererGL: enabled webgl context | |
✓ Create and cache multiple p5.Image textures | |
pixels WebGL | |
loadpixels() | |
p5.RendererGL: enabled webgl context | |
✓ loadPixels color check | |
get() | |
✓ get() size check | |
✓ get() can create p5.Image | |
✓ get() singlePixel color and size | |
stroke WebGL | |
default stroke shader | |
p5.RendererGL: enabled webgl context | |
p5.RendererGL: enabled webgl context | |
✓ check default shader creation | |
p5.RendererGL: enabled webgl context | |
✓ check activate and deactivating fill and stroke | |
Test in preload() with success callback | |
✓ Load asynchronously and use success callback | |
setup() after preload() with success callback | |
✓ should be loaded if preload() finished | |
setup() after preload() without success callback | |
✓ Resource should be loaded if preload() finished | |
setup() after preload() without success callback | |
✓ should be loaded now preload() finished | |
699 passing (4s) | |
2 pending | |
1 failing | |
1) loading images should draw cropped image: | |
AssertionError: expected false to be true | |
at Function.assert.isTrue (http://localhost:9001/node_modules/chai/chai.js:2483:31) | |
at unit/image/loading.js:98:18 | |
⇢ EventBus { name: 'ended', | |
data: | |
{ suites: 276, | |
tests: 702, | |
passes: 699, | |
pending: 2, | |
failures: 1, | |
start: '2018-06-28T04:37:32.579Z', | |
end: '2018-06-28T04:37:36.430Z', | |
duration: 3851 } } | |
ChromeLauncher Killing all Chrome Instances +5s | |
Warning: [object Object] Use --force to continue. | |
Aborted due to warnings. | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 3 | |
npm ERR! p5@0.6.1 grunt: `grunt` | |
npm ERR! Exit status 3 | |
npm ERR! | |
npm ERR! Failed at the p5@0.6.1 grunt script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm run grunt --quiet | |
> p5@0.6.1 grunt /Users/kjhollen/src/p5.js | |
> grunt | |
Running "yuidoc:prod" (yuidoc) task | |
Failed to find lines for { name: 'Shape', | |
submodules: | |
{ '2D Primitives': 1, | |
Curves: 1, | |
Vertex: 1, | |
'3D Models': 1, | |
'3D Primitives': 1 }, | |
elements: {}, | |
classes: {}, | |
fors: { p5: 1 }, | |
namespaces: {} } | |
Failed to find lines for { name: 'Events', | |
submodules: { Acceleration: 1, Keyboard: 1, Mouse: 1, Touch: 1 }, | |
elements: {}, | |
classes: {}, | |
fors: { p5: 1 }, | |
namespaces: {} } | |
src/io/files.js:1335: method p5.save missing example | |
src/webgl/material.js:151: method p5.shader missing example | |
src/webgl/p5.Geometry.js:50: method p5.Geometry.computeFaces missing example | |
src/webgl/p5.Geometry.js:92: method p5.Geometry.computeNormals missing example | |
src/webgl/p5.Geometry.js:131: method p5.Geometry.averageNormals missing example | |
src/webgl/p5.Geometry.js:152: method p5.Geometry.averagePoleNormals missing example | |
src/webgl/p5.Geometry.js:245: method p5.Geometry.normalize missing example | |
src/webgl/p5.Shader.js:265: method p5.Shader.setUniform missing example | |
Start YUIDoc compile... | |
Scanning: src/, lib/addons/ | |
Output: docs/reference/ | |
YUIDoc compile completed in 1.051 seconds | |
Running "minjson:compile" (minjson) task | |
File "docs/reference/data.min.json" created: 1.37 MB → 934.95 kB | |
Running "eslint:build" (eslint) task | |
Running "eslint:source" (eslint) task | |
Running "eslint:test" (eslint) task | |
Running "eslint-samples:source" (eslint-samples) task | |
Running "browserify" task | |
>> Bundle lib/p5.js created. | |
Running "browserify:min" (browserify) task | |
>> Bundle lib/p5.pre-min.js created. | |
Running "uglify:dist" (uglify) task | |
>> 2 files created. | |
Running "requirejs:yuidoc_theme" (requirejs) task | |
Running "connect:server" (connect) task | |
Started connect web server on http://0.0.0.0:9001 | |
Running "mochaChrome:yui" (mochaChrome) task | |
EventBus initialized | |
ChromeLauncher:verbose created /var/folders/wv/z118dxf114b84t65rr9q5sxh0000gn/T/lighthouse.XXXXXXX.TVxKyG8v +0ms | |
ChromeLauncher:verbose Launching with command: | |
ChromeLauncher:verbose "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --disable-translate --disable-extensions --disable-background-networking --safebrowsing-disable-auto-update --disable-sync --metrics-recording-only --disable-default-apps --mute-audio --no-first-run --remote-debugging-port=61071 --user-data-dir=/var/folders/wv/z118dxf114b84t65rr9q5sxh0000gn/T/lighthouse.XXXXXXX.TVxKyG8v --disable-background-timer-throttling --disable-default-apps --disable-device-discovery-notifications --disable-gpu --disable-popup-blocking --disable-renderer-backgrounding --disable-translate --headless --no-default-browser-check --no-first-run --no-sandbox --mute-audio about:blank +466ms | |
ChromeLauncher:verbose Chrome running with pid 88245 on port 61071. +7ms | |
ChromeLauncher Waiting for browser. +1ms | |
ChromeLauncher Waiting for browser... +0ms | |
ChromeLauncher Waiting for browser..... +504ms | |
ChromeLauncher Waiting for browser.....✓ +3ms | |
Chrome Instance launched | |
CDP Client Connected | |
⇢ EventBus { name: 'width', data: '' } | |
⇢ EventBus { name: 'started', data: 50 } | |
Test Run Started - Running 50 Tests | |
src/color/creating_reading.js | |
alpha documentation | |
✓ example #1 works | |
blue documentation | |
220 | |
✓ example #1 works | |
brightness documentation | |
✓ example #1 works | |
color documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works | |
✓ example #8 works | |
green documentation | |
75 | |
✓ example #1 works | |
hue documentation | |
✓ example #1 works | |
lerpColor documentation | |
✓ example #1 works | |
lightness documentation | |
✓ example #1 works | |
red documentation | |
255 | |
✓ example #1 works | |
0.4980392156862745 | |
✓ example #2 works | |
saturation documentation | |
✓ example #1 works | |
src/color/p5.Color.js | |
toString documentation | |
✓ example #1 works | |
setRed documentation | |
✓ example #1 works | |
setGreen documentation | |
✓ example #1 works | |
setBlue documentation | |
✓ example #1 works | |
setAlpha documentation | |
✓ example #1 works | |
src/color/setting.js | |
background documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works | |
✓ example #8 works | |
✓ example #9 works | |
✓ example #10 works | |
✓ example #11 works | |
clear documentation | |
✓ example #1 works | |
colorMode documentation | |
✓ example #1 works (197ms) | |
✓ example #2 works (101ms) | |
✓ example #3 works | |
✓ example #4 works | |
fill documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works | |
✓ example #8 works | |
✓ example #9 works | |
✓ example #10 works | |
✓ example #11 works | |
noFill documentation | |
✓ example #1 works | |
1) example #2 works | |
noStroke documentation | |
✓ example #1 works | |
2) example #2 works | |
stroke documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works | |
✓ example #8 works | |
✓ example #9 works | |
✓ example #10 works | |
✓ example #11 works | |
src/core/2d_primitives.js | |
arc documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
ellipse documentation | |
✓ example #1 works | |
line documentation | |
✓ example #1 works | |
✓ example #2 works | |
point documentation | |
✓ example #1 works | |
quad documentation | |
✓ example #1 works | |
rect documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
triangle documentation | |
✓ example #1 works | |
src/core/attributes.js | |
ellipseMode documentation | |
✓ example #1 works | |
✓ example #2 works | |
noSmooth documentation | |
✓ example #1 works | |
rectMode documentation | |
✓ example #1 works | |
✓ example #2 works | |
smooth documentation | |
✓ example #1 works | |
strokeCap documentation | |
✓ example #1 works | |
strokeJoin documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
strokeWeight documentation | |
✓ example #1 works | |
src/core/constants.js | |
HALF_PI documentation | |
✓ example #1 works | |
PI documentation | |
✓ example #1 works | |
QUARTER_PI documentation | |
✓ example #1 works | |
TAU documentation | |
✓ example #1 works | |
TWO_PI documentation | |
✓ example #1 works | |
DEGREES documentation | |
✓ example #1 works | |
RADIANS documentation | |
✓ example #1 works | |
src/core/core.js | |
preload documentation | |
✓ example #1 works | |
setup documentation | |
✓ example #1 works | |
draw documentation | |
✓ example #1 works | |
remove documentation | |
✓ example #1 works | |
src/core/curves.js | |
bezier documentation | |
✓ example #1 works | |
✓ example #2 works | |
bezierDetail documentation | |
3) example #1 works | |
bezierPoint documentation | |
✓ example #1 works | |
bezierTangent documentation | |
✓ example #1 works | |
✓ example #2 works | |
curve documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
curveDetail documentation | |
4) example #1 works | |
curveTightness documentation | |
✓ example #1 works | |
curvePoint documentation | |
✓ example #1 works | |
curveTangent documentation | |
✓ example #1 works | |
src/core/environment.js | |
print documentation | |
The value of x is 10 | |
✓ example #1 works | |
frameCount documentation | |
✓ example #1 works | |
focused documentation | |
✓ example #1 works | |
cursor documentation | |
✓ example #1 works | |
frameRate documentation | |
✓ example #1 works | |
noCursor documentation | |
✓ example #1 works | |
displayWidth documentation | |
✓ example #1 works | |
displayHeight documentation | |
✓ example #1 works | |
windowWidth documentation | |
✓ example #1 works | |
windowHeight documentation | |
✓ example #1 works | |
windowResized documentation | |
✓ example #1 works | |
fullscreen documentation | |
✓ example #1 works | |
pixelDensity documentation | |
✓ example #1 works | |
✓ example #2 works | |
displayDensity documentation | |
✓ example #1 works | |
getURL documentation | |
✓ example #1 works | |
getURLPath documentation | |
✓ example #1 works | |
src/core/p5.Element.js | |
elt documentation | |
✓ example #1 works | |
parent documentation | |
✓ example #1 works | |
✓ example #2 works | |
id documentation | |
✓ example #1 works | |
class documentation | |
✓ example #1 works | |
mousePressed documentation | |
✓ example #1 works | |
doubleClicked documentation | |
✓ example #1 works | |
mouseWheel documentation | |
✓ example #1 works | |
mouseReleased documentation | |
✓ example #1 works | |
mouseClicked documentation | |
✓ example #1 works | |
mouseMoved documentation | |
✓ example #1 works | |
mouseOver documentation | |
✓ example #1 works | |
changed documentation | |
✓ example #1 works | |
✓ example #2 works | |
input documentation | |
✓ example #1 works | |
mouseOut documentation | |
✓ example #1 works | |
touchStarted documentation | |
✓ example #1 works | |
touchMoved documentation | |
✓ example #1 works | |
touchEnded documentation | |
✓ example #1 works | |
dragOver documentation | |
✓ example #1 works | |
dragLeave documentation | |
✓ example #1 works | |
drop documentation | |
✓ example #1 works | |
src/core/p5.Graphics.js | |
remove documentation | |
✓ example #1 works | |
✓ example #2 works | |
src/core/rendering.js | |
createCanvas documentation | |
✓ example #1 works | |
resizeCanvas documentation | |
✓ example #1 works | |
noCanvas documentation | |
✓ example #1 works | |
createGraphics documentation | |
✓ example #1 works | |
blendMode documentation | |
✓ example #1 works | |
✓ example #2 works | |
src/core/structure.js | |
noLoop documentation | |
✓ example #1 works | |
✓ example #2 works | |
loop documentation | |
✓ example #1 works | |
push documentation | |
✓ example #1 works | |
✓ example #2 works | |
pop documentation | |
✓ example #1 works | |
✓ example #2 works | |
redraw documentation | |
✓ example #1 works | |
✓ example #2 works | |
src/core/transform.js | |
applyMatrix documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
resetMatrix documentation | |
✓ example #1 works | |
rotate documentation | |
✓ example #1 works | |
rotateX documentation | |
5) example #1 works | |
rotateY documentation | |
6) example #1 works | |
rotateZ documentation | |
7) example #1 works | |
scale documentation | |
✓ example #1 works | |
✓ example #2 works | |
shearX documentation | |
✓ example #1 works | |
shearY documentation | |
✓ example #1 works | |
translate documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
src/core/vertex.js | |
beginContour documentation | |
✓ example #1 works | |
beginShape documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works | |
✓ example #8 works | |
✓ example #9 works | |
✓ example #10 works | |
✓ example #11 works | |
bezierVertex documentation | |
✓ example #1 works | |
✓ example #2 works | |
curveVertex documentation | |
✓ example #1 works | |
endContour documentation | |
✓ example #1 works | |
endShape documentation | |
✓ example #1 works | |
quadraticVertex documentation | |
✓ example #1 works | |
✓ example #2 works | |
vertex documentation | |
✓ example #1 works | |
src/data/p5.TypedDict.js | |
createStringDict documentation | |
true | |
true | |
✓ example #1 works | |
createNumberDict documentation | |
true | |
true | |
✓ example #1 works | |
size documentation | |
3 | |
✓ example #1 works | |
hasKey documentation | |
true | |
✓ example #1 works | |
get documentation | |
true | |
✓ example #1 works | |
set documentation | |
key:p5 value:JS | |
✓ example #1 works | |
create documentation | |
key:p5 value:js | |
key:happy value:coding | |
✓ example #1 works | |
clear documentation | |
true | |
false | |
✓ example #1 works | |
remove documentation | |
key:p5 value:js | |
key:happy value:coding | |
key:happy value:coding | |
✓ example #1 works | |
print documentation | |
key:p5 value:js | |
key:happy value:coding | |
✓ example #1 works | |
saveTable documentation | |
✓ example #1 works | |
saveJSON documentation | |
✓ example #1 works | |
add documentation | |
7 | |
✓ example #1 works | |
sub documentation | |
3 | |
✓ example #1 works | |
mult documentation | |
8 | |
✓ example #1 works | |
div documentation | |
4 | |
✓ example #1 works | |
minValue documentation | |
-10 | |
✓ example #1 works | |
maxValue documentation | |
3 | |
✓ example #1 works | |
minKey documentation | |
1.2 | |
✓ example #1 works | |
maxKey documentation | |
4 | |
✓ example #1 works | |
src/events/acceleration.js | |
rotationX documentation | |
8) example #1 works | |
rotationY documentation | |
9) example #1 works | |
rotationZ documentation | |
10) example #1 works | |
pRotationX documentation | |
clockwise | |
✓ example #1 works | |
pRotationY documentation | |
clockwise | |
✓ example #1 works | |
pRotationZ documentation | |
clockwise | |
✓ example #1 works | |
setMoveThreshold documentation | |
✓ example #1 works | |
setShakeThreshold documentation | |
✓ example #1 works | |
deviceMoved documentation | |
✓ example #1 works | |
deviceTurned documentation | |
✓ example #1 works | |
✓ example #2 works | |
deviceShaken documentation | |
✓ example #1 works | |
src/events/keyboard.js | |
keyIsPressed documentation | |
✓ example #1 works | |
key documentation | |
✓ example #1 works | |
keyCode documentation | |
✓ example #1 works | |
keyPressed documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
keyReleased documentation | |
✓ example #1 works | |
keyTyped documentation | |
✓ example #1 works | |
keyIsDown documentation | |
✓ example #1 works | |
src/events/mouse.js | |
mouseX documentation | |
✓ example #1 works | |
mouseY documentation | |
✓ example #1 works | |
pmouseX documentation | |
0 -> 0 | |
✓ example #1 works | |
pmouseY documentation | |
0 -> 0 | |
✓ example #1 works | |
winMouseX documentation | |
✓ example #1 works | |
winMouseY documentation | |
✓ example #1 works | |
pwinMouseX documentation | |
✓ example #1 works | |
pwinMouseY documentation | |
✓ example #1 works | |
mouseButton documentation | |
0 | |
✓ example #1 works | |
mouseIsPressed documentation | |
false | |
✓ example #1 works | |
mouseMoved documentation | |
✓ example #1 works | |
✓ example #2 works | |
mouseDragged documentation | |
✓ example #1 works | |
✓ example #2 works | |
mousePressed documentation | |
✓ example #1 works | |
✓ example #2 works | |
mouseReleased documentation | |
✓ example #1 works | |
✓ example #2 works | |
mouseClicked documentation | |
✓ example #1 works | |
✓ example #2 works | |
doubleClicked documentation | |
✓ example #1 works | |
✓ example #2 works | |
mouseWheel documentation | |
✓ example #1 works | |
src/events/touch.js | |
touches documentation | |
✓ example #1 works | |
touchStarted documentation | |
✓ example #1 works | |
✓ example #2 works | |
touchMoved documentation | |
✓ example #1 works | |
✓ example #2 works | |
touchEnded documentation | |
✓ example #1 works | |
✓ example #2 works | |
src/image/image.js | |
createImage documentation | |
✓ example #1 works (48ms) | |
✓ example #2 works | |
✓ example #3 works (138ms) | |
saveFrames documentation | |
✓ example #1 works | |
src/image/loading_displaying.js | |
loadImage documentation | |
✓ example #1 works | |
✓ example #2 works | |
image documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
tint documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
noTint documentation | |
✓ example #1 works | |
imageMode documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
src/image/p5.Image.js | |
width documentation | |
✓ example #1 works | |
height documentation | |
✓ example #1 works | |
pixels documentation | |
✓ example #1 works | |
✓ example #2 works (80ms) | |
loadPixels documentation | |
✓ example #1 works | |
updatePixels documentation | |
✓ example #1 works | |
get documentation | |
✓ example #1 works | |
set documentation | |
✓ example #1 works | |
resize documentation | |
✓ example #1 works | |
copy documentation | |
✓ example #1 works | |
mask documentation | |
✓ example #1 works | |
filter documentation | |
✓ example #1 works | |
blend documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
save documentation | |
✓ example #1 works | |
p5.Image documentation | |
✓ example #1 works | |
src/image/pixels.js | |
pixels documentation | |
✓ example #1 works (245ms) | |
blend documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
copy documentation | |
✓ example #1 works | |
filter documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
✓ example #5 works | |
✓ example #6 works | |
✓ example #7 works (68ms) | |
✓ example #8 works | |
get documentation | |
✓ example #1 works | |
✓ example #2 works | |
loadPixels documentation | |
✓ example #1 works | |
set documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
updatePixels documentation | |
✓ example #1 works | |
src/io/files.js | |
loadJSON documentation | |
✓ example #1 works (520ms) | |
✓ example #2 works | |
loadStrings documentation | |
✓ example #1 works | |
✓ example #2 works | |
loadTable documentation | |
3 total rows in table | |
3 total columns in table | |
["Goat","Leopard","Zebra"] | |
0 | |
Capra hircus | |
Goat | |
1 | |
Panthera pardus | |
Leopard | |
2 | |
Equus zebra | |
Zebra | |
✓ example #1 works | |
loadXML documentation | |
0, Capra hircus, Goat | |
1, Panthera pardus, Leopard | |
2, Equus zebra, Zebra | |
✓ example #1 works | |
loadBytes documentation | |
3c | |
3f | |
78 | |
6d | |
6c | |
✓ example #1 works | |
httpGet documentation | |
✓ example #1 works | |
httpPost documentation | |
✓ example #1 works | |
✓ example #2 works | |
httpDo documentation | |
✓ example #1 works | |
createWriter documentation | |
✓ example #1 works | |
saveJSON documentation | |
✓ example #1 works | |
saveStrings documentation | |
✓ example #1 works | |
saveTable documentation | |
✓ example #1 works | |
src/io/p5.Table.js | |
addRow documentation | |
0 | |
Capra hircus | |
Goat | |
1 | |
Panthera pardus | |
Leopard | |
2 | |
Equus zebra | |
Zebra | |
3 | |
Canis Lupus | |
Wolf | |
✓ example #1 works | |
removeRow documentation | |
1 | |
Panthera pardus | |
Leopard | |
2 | |
Equus zebra | |
Zebra | |
✓ example #1 works | |
getRow documentation | |
1 | |
Panthera pardus | |
Leopard | |
✓ example #1 works | |
getRows documentation | |
0 | |
Capra hircus | |
Unicorn | |
1 | |
Panthera pardus | |
Unicorn | |
2 | |
Equus zebra | |
Unicorn | |
✓ example #1 works | |
findRow documentation | |
Equus zebra | |
✓ example #1 works | |
findRows documentation | |
2 Goats found | |
✓ example #1 works | |
matchRow documentation | |
Panthera pardus | |
✓ example #1 works | |
matchRows documentation | |
Snake: Reptile | |
Lizard: Reptile | |
✓ example #1 works | |
getColumn documentation | |
["Capra hircus","Panthera pardus","Equus zebra"] | |
✓ example #1 works | |
clearRows documentation | |
0 total rows in table | |
3 total columns in table | |
✓ example #1 works | |
addColumn documentation | |
0 | |
Capra hircus | |
Goat | |
no | |
1 | |
Panthera pardus | |
Leopard | |
yes | |
2 | |
Equus zebra | |
Zebra | |
no | |
✓ example #1 works | |
getColumnCount documentation | |
✓ example #1 works | |
getRowCount documentation | |
✓ example #1 works | |
removeTokens documentation | |
[["Lion","Mammal"],["Snake","Reptile"]] | |
✓ example #1 works | |
{"status":400,"ok":false} | |
trim documentation | |
[["Lion,","Mammal"],["Snake","Reptile"]] | |
✓ example #1 works | |
removeColumn documentation | |
string | |
2 | |
✓ example #1 works | |
set documentation | |
0 | |
Canis Lupus | |
Wolf | |
1 | |
Panthera pardus | |
Leopard | |
2 | |
Equus zebra | |
Zebra | |
✓ example #1 works | |
setNum documentation | |
["0",1,"2"] | |
✓ example #1 works | |
setString documentation | |
[["0","Capra hircus","Goat"],["1","Panthera pardus","Leopard"],["2","Equus zebra","Zebra"],["3","Canis Lupus","Wolf"]] | |
✓ example #1 works | |
get documentation | |
Capra hircus | |
Capra hircus | |
✓ example #1 works | |
getNum documentation | |
101 | |
✓ example #1 works | |
getString documentation | |
0 | |
Capra hircus | |
Goat | |
1 | |
Panthera pardus | |
Leopard | |
2 | |
Equus zebra | |
Zebra | |
✓ example #1 works | |
getObject documentation | |
{"0":{"id":"0","species":"Capra hircus","name":"Goat"},"1":{"id":"1","species":"Panthera pardus","name":"Leopard"},"2":{"id":"2","species":"Equus zebra","name":"Zebra"}} | |
✓ example #1 works | |
getArray documentation | |
["0","Capra hircus","Goat"] | |
["1","Panthera pardus","Leopard"] | |
["2","Equus zebra","Zebra"] | |
✓ example #1 works | |
src/io/p5.TableRow.js | |
set documentation | |
[["0","Capra hircus","Unicorn"],["1","Panthera pardus","Unicorn"],["2","Equus zebra","Unicorn"]] | |
✓ example #1 works | |
setNum documentation | |
[[10,"Capra hircus","Goat"],[11,"Panthera pardus","Leopard"],[12,"Equus zebra","Zebra"]] | |
✓ example #1 works | |
setString documentation | |
[["0","Capra hircus","A Goat named George"],["1","Panthera pardus","A Leopard named George"],["2","Equus zebra","A Zebra named George"]] | |
✓ example #1 works | |
get documentation | |
["Goat","Leopard","Zebra"] | |
✓ example #1 works | |
getNum documentation | |
minimum id = 0, maximum id = -Infinity | |
✓ example #1 works | |
getString documentation | |
longest: Panthera pardus | |
✓ example #1 works | |
src/io/p5.XML.js | |
getParent documentation | |
mammals | |
✓ example #1 works | |
getName documentation | |
mammals | |
✓ example #1 works | |
setName documentation | |
mammals | |
fish | |
✓ example #1 works | |
hasChildren documentation | |
true | |
✓ example #1 works | |
listChildren documentation | |
["#text","animal","#text","animal","#text","animal","#text"] | |
✓ example #1 works | |
getChildren documentation | |
Goat | |
Leopard | |
Zebra | |
✓ example #1 works | |
getChild documentation | |
Goat | |
✓ example #1 works | |
Goat | |
✓ example #2 works | |
addChild documentation | |
Zebra | |
✓ example #1 works | |
removeChild documentation | |
, | |
, | |
Leopard | |
, | |
Zebra | |
✓ example #1 works | |
, | |
, | |
Leopard | |
, | |
Zebra | |
✓ example #2 works | |
getAttributeCount documentation | |
2 | |
✓ example #1 works | |
listAttributes documentation | |
["id","species"] | |
✓ example #1 works | |
hasAttribute documentation | |
true | |
false | |
✓ example #1 works | |
getNum documentation | |
0 | |
✓ example #1 works | |
getString documentation | |
Capra hircus | |
✓ example #1 works | |
setAttribute documentation | |
Capra hircus | |
Jamides zebra | |
✓ example #1 works | |
getContent documentation | |
Goat | |
✓ example #1 works | |
setContent documentation | |
Goat | |
Goat | |
✓ example #1 works | |
p5.XML documentation | |
0, Capra hircus, Goat | |
1, Panthera pardus, Leopard | |
2, Equus zebra, Zebra | |
✓ example #1 works | |
src/math/calculation.js | |
abs documentation | |
-3 | |
3 | |
✓ example #1 works | |
ceil documentation | |
✓ example #1 works | |
constrain documentation | |
✓ example #1 works | |
dist documentation | |
✓ example #1 works | |
exp documentation | |
✓ example #1 works | |
floor documentation | |
✓ example #1 works | |
lerp documentation | |
✓ example #1 works | |
log documentation | |
✓ example #1 works | |
mag documentation | |
36.05551275463989 | |
85.44003745317531 | |
72.80109889280519 | |
106.3014581273465 | |
✓ example #1 works | |
map documentation | |
✓ example #1 works | |
✓ example #2 works | |
max documentation | |
✓ example #1 works | |
min documentation | |
✓ example #1 works | |
norm documentation | |
✓ example #1 works | |
pow documentation | |
✓ example #1 works | |
round documentation | |
✓ example #1 works | |
sq documentation | |
✓ example #1 works | |
sqrt documentation | |
✓ example #1 works | |
src/math/math.js | |
createVector documentation | |
11) example #1 works | |
src/math/noise.js | |
noise documentation | |
✓ example #1 works | |
✓ example #2 works | |
noiseDetail documentation | |
✓ example #1 works (108ms) | |
noiseSeed documentation | |
✓ example #1 works | |
src/math/p5.Vector.js | |
toString documentation | |
p5.Vector Object : [20, 30, 0] | |
✓ example #1 works | |
✓ example #2 works | |
set documentation | |
✓ example #1 works | |
✓ example #2 works | |
copy documentation | |
true | |
✓ example #1 works | |
add documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
✓ example #3 works | |
sub documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
✓ example #3 works | |
mult documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
✓ example #3 works | |
div documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
✓ example #3 works | |
mag documentation | |
✓ example #1 works | |
53.85164807134504 | |
✓ example #2 works | |
magSq documentation | |
56 | |
✓ example #1 works | |
✓ example #2 works | |
dot documentation | |
20 | |
✓ example #1 works | |
10 | |
✓ example #2 works | |
cross documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
dist documentation | |
1.4142135623730951 | |
✓ example #1 works | |
1.4142135623730951 | |
✓ example #2 works | |
✓ example #3 works | |
normalize documentation | |
✓ example #1 works | |
✓ example #2 works | |
limit documentation | |
✓ example #1 works | |
✓ example #2 works | |
setMag documentation | |
✓ example #1 works | |
✓ example #2 works | |
heading documentation | |
1.0303768265243125 | |
0.8960553845713439 | |
1.1659045405098132 | |
✓ example #1 works | |
✓ example #2 works | |
rotate documentation | |
✓ example #1 works | |
✓ example #2 works | |
angleBetween documentation | |
1.5707963267948966 | |
✓ example #1 works | |
✓ example #2 works | |
lerp documentation | |
✓ example #1 works | |
[Circular] | |
✓ example #2 works | |
✓ example #3 works | |
array documentation | |
[20,30,0] | |
✓ example #1 works | |
10 | |
20 | |
30 | |
✓ example #2 works | |
equals documentation | |
true | |
false | |
✓ example #1 works | |
true | |
false | |
✓ example #2 works | |
fromAngle documentation | |
✓ example #1 works | |
fromAngles documentation | |
12) example #1 works | |
random2D documentation | |
{"x":-0.987253075077488,"y":-0.15915830405619347,"z":0} | |
✓ example #1 works | |
✓ example #2 works | |
random3D documentation | |
{"x":0.08194727407155564,"y":-0.7684640177446563,"z":0.6346240601363786} | |
✓ example #1 works | |
p5.Vector documentation | |
✓ example #1 works | |
src/math/random.js | |
randomSeed documentation | |
✓ example #1 works | |
random documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
randomGaussian documentation | |
✓ example #1 works | |
✓ example #2 works | |
src/math/trigonometry.js | |
acos documentation | |
3.141592653589793 : -1 : 3.141592653589793 | |
✓ example #1 works | |
3.9269908169872414 : -0.7071067811865477 : 2.3561944901923453 | |
✓ example #2 works | |
asin documentation | |
4.1887902047863905 : -0.8660254037844385 : -1.0471975511965974 | |
✓ example #1 works | |
4.1887902047863905 : -0.8660254037844385 : -1.0471975511965974 | |
✓ example #2 works | |
atan documentation | |
4.1887902047863905 : 1.7320508075688754 : 1.0471975511965972 | |
✓ example #1 works | |
4.1887902047863905 : 1.7320508075688754 : 1.0471975511965972 | |
✓ example #2 works | |
atan2 documentation | |
✓ example #1 works | |
cos documentation | |
✓ example #1 works | |
sin documentation | |
✓ example #1 works | |
tan documentation | |
✓ example #1 works | |
degrees documentation | |
0.7853981633974483 radians is 45 degrees | |
✓ example #1 works | |
radians documentation | |
45 degrees is 0.7853981633974483 radians | |
✓ example #1 works | |
angleMode documentation | |
✓ example #1 works | |
src/typography/attributes.js | |
textAlign documentation | |
✓ example #1 works | |
textLeading documentation | |
✓ example #1 works | |
textSize documentation | |
✓ example #1 works | |
textStyle documentation | |
✓ example #1 works | |
textWidth documentation | |
✓ example #1 works | |
textAscent documentation | |
✓ example #1 works | |
textDescent documentation | |
✓ example #1 works | |
src/typography/loading_displaying.js | |
loadFont documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
text documentation | |
✓ example #1 works | |
✓ example #2 works | |
textFont documentation | |
✓ example #1 works | |
✓ example #2 works (56ms) | |
src/typography/p5.Font.js | |
textBounds documentation | |
✓ example #1 works | |
textToPoints documentation | |
✓ example #1 works (52ms) | |
src/utilities/array_functions.js | |
append documentation | |
["Mango","Apple","Papaya"] | |
["Mango","Apple","Papaya","Peach"] | |
✓ example #1 works | |
arrayCopy documentation | |
["A","B","C"] | |
[1,2,3] | |
["B","C",3] | |
✓ example #1 works | |
concat documentation | |
["A","B","C"] | |
[1,2,3] | |
["A","B","C"] | |
[1,2,3] | |
["A","B","C",1,2,3] | |
✓ example #1 works | |
reverse documentation | |
["A","B","C"] | |
["C","B","A"] | |
✓ example #1 works | |
shorten documentation | |
["A","B","C"] | |
["A","B"] | |
["A","B"] | |
✓ example #1 works | |
shuffle documentation | |
[Circular] | |
[Circular] | |
[Circular] | |
[Circular] | |
✓ example #1 works | |
sort documentation | |
["banana","apple","pear","lime"] | |
["apple","banana","lime","pear"] | |
✓ example #1 works | |
[2,6,1,5,14,9,8,12] | |
[1,2,5,6,14,9,8,12] | |
✓ example #2 works | |
splice documentation | |
[0,1,2,3,4] | |
["A","B","C"] | |
[0,1,2,"A","B","C",3,4] | |
✓ example #1 works | |
subset documentation | |
[1,2,3,4,5] | |
[1,2,3] | |
[3,4] | |
✓ example #1 works | |
src/utilities/conversion.js | |
float documentation | |
✓ example #1 works | |
int documentation | |
10 | |
10 | |
-10 | |
1 | |
0 | |
[0,1,10,9] | |
✓ example #1 works | |
str documentation | |
10 | |
10.31 | |
-10 | |
true | |
false | |
["true","10.3","9.8"] | |
✓ example #1 works | |
boolean documentation | |
false | |
true | |
true | |
false | |
[false,true,true] | |
✓ example #1 works | |
byte documentation | |
127 | |
-128 | |
23 | |
23 | |
null | |
1 | |
[0,-1,100] | |
✓ example #1 works | |
char documentation | |
A | |
A | |
["A","B","C"] | |
ABC | |
✓ example #1 works | |
unchar documentation | |
65 | |
[65,66,67] | |
[65,66,67] | |
✓ example #1 works | |
hex documentation | |
000000FF | |
0000FF | |
["000000","00007F","0000FF"] | |
✓ example #1 works | |
unhex documentation | |
10 | |
255 | |
[255,170,0] | |
✓ example #1 works | |
src/utilities/string_functions.js | |
join documentation | |
✓ example #1 works | |
match documentation | |
✓ example #1 works | |
matchAll documentation | |
✓ example #1 works | |
nf documentation | |
✓ example #1 works | |
nfc documentation | |
✓ example #1 works | |
nfp documentation | |
✓ example #1 works | |
nfs documentation | |
✓ example #1 works | |
split documentation | |
✓ example #1 works | |
splitTokens documentation | |
["Mango"," Banana"," Lime"] | |
✓ example #1 works | |
trim documentation | |
✓ example #1 works | |
src/utilities/time_date.js | |
day documentation | |
✓ example #1 works | |
hour documentation | |
✓ example #1 works | |
minute documentation | |
✓ example #1 works | |
millis documentation | |
✓ example #1 works | |
month documentation | |
✓ example #1 works | |
second documentation | |
✓ example #1 works | |
year documentation | |
✓ example #1 works | |
src/webgl/camera.js | |
camera documentation | |
13) example #1 works | |
perspective documentation | |
14) example #1 works | |
ortho documentation | |
15) example #1 works | |
src/webgl/interaction.js | |
orbitControl documentation | |
16) example #1 works | |
src/webgl/light.js | |
ambientLight documentation | |
17) example #1 works | |
directionalLight documentation | |
18) example #1 works | |
pointLight documentation | |
19) example #1 works | |
src/webgl/loading.js | |
loadModel documentation | |
20) example #1 works | |
model documentation | |
21) example #1 works | |
src/webgl/material.js | |
loadShader documentation | |
22) example #1 works | |
createShader documentation | |
23) example #1 works | |
normalMaterial documentation | |
24) example #1 works | |
texture documentation | |
25) example #1 works | |
26) example #2 works | |
WARN: Element play method raised an error asynchronously {} | |
27) example #3 works | |
ambientMaterial documentation | |
28) example #1 works | |
specularMaterial documentation | |
29) example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/fingers.mov', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
src/webgl/p5.RendererGL.js | |
setAttributes documentation | |
30) example #1 works | |
31) example #2 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/fingers.mov', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
32) example #3 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/fingers.mov', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
src/webgl/primitives.js | |
plane documentation | |
33) example #1 works | |
box documentation | |
34) example #1 works | |
sphere documentation | |
35) example #1 works | |
cylinder documentation | |
36) example #1 works | |
cone documentation | |
37) example #1 works | |
ellipsoid documentation | |
38) example #1 works | |
torus documentation | |
39) example #1 works | |
lib/addons/p5.dom.js | |
select documentation | |
✓ example #1 works | |
✓ example #2 works | |
selectAll documentation | |
✓ example #1 works | |
✓ example #2 works | |
removeElements documentation | |
✓ example #1 works | |
createDiv documentation | |
✓ example #1 works | |
createP documentation | |
✓ example #1 works | |
createSpan documentation | |
✓ example #1 works | |
createImg documentation | |
✓ example #1 works | |
createA documentation | |
✓ example #1 works | |
createSlider documentation | |
✓ example #1 works | |
✓ example #2 works | |
createButton documentation | |
✓ example #1 works | |
createCheckbox documentation | |
✓ example #1 works | |
createSelect documentation | |
✓ example #1 works | |
createRadio documentation | |
✓ example #1 works | |
✓ example #2 works | |
createInput documentation | |
✓ example #1 works | |
createFileInput documentation | |
✓ example #1 works | |
createVideo documentation | |
✓ example #1 works | |
createAudio documentation | |
✓ example #1 works | |
createElement documentation | |
✓ example #1 works | |
addClass documentation | |
✓ example #1 works | |
removeClass documentation | |
✓ example #1 works | |
child documentation | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/beat.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
✓ example #2 works | |
center documentation | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/beat.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
html documentation | |
✓ example #1 works | |
✓ example #2 works | |
position documentation | |
✓ example #1 works | |
style documentation | |
✓ example #1 works | |
✓ example #2 works | |
✓ example #3 works | |
✓ example #4 works | |
attribute documentation | |
✓ example #1 works | |
removeAttribute documentation | |
✓ example #1 works | |
value documentation | |
✓ example #1 works | |
✓ example #2 works | |
show documentation | |
✓ example #1 works | |
hide documentation | |
✓ example #1 works | |
size documentation | |
✓ example #1 works | |
remove documentation | |
✓ example #1 works | |
src documentation | |
✓ example #1 works | |
play documentation | |
✓ example #1 works | |
stop documentation | |
✓ example #1 works | |
pause documentation | |
✓ example #1 works | |
loop documentation | |
✓ example #1 works | |
noLoop documentation | |
✓ example #1 works | |
volume documentation | |
✓ example #1 works | |
✓ example #2 works | |
time documentation | |
✓ example #1 works | |
duration documentation | |
✓ example #1 works | |
onended documentation | |
✓ example #1 works | |
WARN: Element play method raised an error asynchronously {} | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/lucky_dragons.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
showControls documentation | |
✓ example #1 works | |
hideControls documentation | |
✓ example #1 works | |
addCue documentation | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/doorbell.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
removeCue documentation | |
✓ example #1 works | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/lucky_dragons.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
clearCues documentation | |
✓ example #1 works | |
lib/addons/p5.sound.js | |
getAudioContext documentation | |
✓ example #1 works | |
midiToFreq documentation | |
✓ example #1 works | |
soundFormats documentation | |
✓ example #1 works | |
loadSound documentation | |
Resource Failed to Load: { url: 'http://localhost:9001/docs/reference/assets/beat.mp3', | |
method: 'GET', | |
reason: 'net::ERR_ABORTED' } | |
✓ example #1 works | |
playMode documentation | |
✓ example #1 works | |
pause documentation | |
✓ example #1 works | |
pan documentation | |
✓ example #1 works | |
rate documentation | |
✓ example #1 works | |
reverseBuffer documentation | |
✓ example #1 works | |
addCue documentation | |
✓ example #1 works | |
setInput documentation | |
✓ example #1 works | |
getLevel documentation | |
✓ example #1 works | |
analyze documentation | |
✓ example #1 works | |
getCentroid documentation | |
✓ example #1 works | |
freq documentation | |
✓ example #1 works | |
set documentation | |
✓ example #1 works | |
{} | |
setADSR documentation | |
✓ example #1 works | |
setRange documentation | |
✓ example #1 works | |
play documentation | |
✓ example #1 works | |
triggerAttack documentation | |
✓ example #1 works | |
triggerRelease documentation | |
✓ example #1 works | |
ramp documentation | |
✓ example #1 works | |
getSources documentation | |
✓ example #1 works | |
createConvolver documentation | |
[{"deviceId":"default","kind":"audioinput","label":"","groupId":"5f83b5ce33293d81f56f6d8c955e25af7b14829befde2d1ec6df1fdeb32dab59"},{"deviceId":"cbbbaedc8fa0d361fcf789eb7fd97a561d3be7d63081be0e6de3330d58c691a0","kind":"audioinput","label":"","groupId":"5f83b5ce33293d81f56f6d8c955e25af7b14829befde2d1ec6df1fdeb32dab59"}] | |
set source to {"deviceId":"default","kind":"audioinput","label":"","groupId":"5f83b5ce33293d81f56f6d8c955e25af7b14829befde2d1ec6df1fdeb32dab59"} | |
✓ example #1 works (143ms) | |
process documentation | |
✓ example #1 works (92ms) | |
onPeak documentation | |
✓ example #1 works | |
play documentation | |
✓ example #1 works | |
triggerAttack documentation | |
✓ example #1 works | |
triggerRelease documentation | |
✓ example #1 works | |
play documentation | |
✓ example #1 works | |
noteAttack documentation | |
✓ example #1 works | |
noteRelease documentation | |
✓ example #1 works | |
p5.SoundFile documentation | |
✓ example #1 works | |
p5.Amplitude documentation | |
✓ example #1 works | |
p5.FFT documentation | |
✓ example #1 works (38ms) | |
p5.Signal documentation | |
✓ example #1 works | |
p5.Oscillator documentation | |
✓ example #1 works | |
p5.Envelope documentation | |
✓ example #1 works | |
p5.Pulse documentation | |
✓ example #1 works | |
p5.AudioIn documentation | |
✓ example #1 works | |
p5.Filter documentation | |
✓ example #1 works | |
p5.EQ documentation | |
{} | |
✓ example #1 works (72ms) | |
p5.Delay documentation | |
✓ example #1 works | |
p5.Reverb documentation | |
✓ example #1 works (78ms) | |
p5.Convolver documentation | |
✓ example #1 works (92ms) | |
p5.Phrase documentation | |
✓ example #1 works | |
p5.Part documentation | |
✓ example #1 works | |
p5.SoundLoop documentation | |
✓ example #1 works | |
p5.SoundRecorder documentation | |
✓ example #1 works | |
p5.PeakDetect documentation | |
{} | |
✓ example #1 works | |
p5.Gain documentation | |
✓ example #1 works (43ms) | |
p5.MonoSynth documentation | |
✓ example #1 works | |
p5.PolySynth documentation | |
✓ example #1 works | |
642 passing (9s) | |
39 failing | |
1) src/color/setting.js noFill documentation example #2 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
2) src/color/setting.js noStroke documentation example #2 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
3) src/core/curves.js bezierDetail documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
4) src/core/curves.js curveDetail documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
5) src/core/transform.js rotateX documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
6) src/core/transform.js rotateY documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
7) src/core/transform.js rotateZ documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
8) src/events/acceleration.js rotationX documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
9) src/events/acceleration.js rotationY documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
10) src/events/acceleration.js rotationZ documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
11) src/math/math.js createVector documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
12) src/math/p5.Vector.js fromAngles documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
13) src/webgl/camera.js camera documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
14) src/webgl/camera.js perspective documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:4:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
15) src/webgl/camera.js ortho documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:4:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
16) src/webgl/interaction.js orbitControl documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
17) src/webgl/light.js ambientLight documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
18) src/webgl/light.js directionalLight documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
19) src/webgl/light.js pointLight documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
20) src/webgl/loading.js loadModel documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:9:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5._runIfPreloadsAreDone (http://localhost:9001/lib/p5.js:46830:15) | |
at p5._decrementPreload (http://localhost:9001/lib/p5.js:46840:15) | |
at http://localhost:9001/lib/p5.js:60142:12 | |
21) src/webgl/loading.js model documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:9:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5._runIfPreloadsAreDone (http://localhost:9001/lib/p5.js:46830:15) | |
at p5._decrementPreload (http://localhost:9001/lib/p5.js:46840:15) | |
at http://localhost:9001/lib/p5.js:60142:12 | |
22) src/webgl/material.js loadShader documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:7:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5._runIfPreloadsAreDone (http://localhost:9001/lib/p5.js:46830:15) | |
at p5._decrementPreload (http://localhost:9001/lib/p5.js:46840:15) | |
at http://localhost:9001/lib/p5.js:60142:12 | |
23) src/webgl/material.js createShader documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:31:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
24) src/webgl/material.js normalMaterial documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
25) src/webgl/material.js texture documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:7:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5._runIfPreloadsAreDone (http://localhost:9001/lib/p5.js:46830:15) | |
at p5._decrementPreload (http://localhost:9001/lib/p5.js:46840:15) | |
at Image.img.onload (http://localhost:9001/lib/p5.js:57949:10) | |
26) src/webgl/material.js texture documentation example #2 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:3:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
27) src/webgl/material.js texture documentation example #3 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:8:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5._runIfPreloadsAreDone (http://localhost:9001/lib/p5.js:46830:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46815:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
28) src/webgl/material.js ambientMaterial documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
29) src/webgl/material.js specularMaterial documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
30) src/webgl/p5.RendererGL.js setAttributes documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
31) src/webgl/p5.RendererGL.js setAttributes documentation example #2 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:2:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
32) src/webgl/p5.RendererGL.js setAttributes documentation example #3 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:3:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
33) src/webgl/primitives.js plane documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:3:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
34) src/webgl/primitives.js box documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:3:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
35) src/webgl/primitives.js sphere documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:3:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
36) src/webgl/primitives.js cylinder documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:3:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
37) src/webgl/primitives.js cone documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:3:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
38) src/webgl/primitives.js ellipsoid documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:3:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
39) src/webgl/primitives.js torus documentation example #1 works: | |
Error: Error creating webgl context | |
at p5.RendererGL._initContext (http://localhost:9001/lib/p5.js:74223:13) | |
at new p5.RendererGL (http://localhost:9001/lib/p5.js:74145:8) | |
at p5.createCanvas (http://localhost:9001/lib/p5.js:52146:36) | |
at p5.setup (eval at <anonymous> (test-reference.html:36:11), <anonymous>:3:3) | |
at p5.p.(anonymous function) [as setup] (test-reference.html:170:27) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46882:15) | |
at p5.<anonymous> (http://localhost:9001/lib/p5.js:46817:12) | |
at new p5 (http://localhost:9001/lib/p5.js:47106:12) | |
at test-reference.html:163:20 | |
at new Promise (<anonymous>) | |
⇢ EventBus { name: 'ended', | |
data: | |
{ suites: 549, | |
tests: 681, | |
passes: 642, | |
pending: 0, | |
failures: 39, | |
start: '2018-06-28T04:34:15.496Z', | |
end: '2018-06-28T04:34:24.138Z', | |
duration: 8642 } } | |
ChromeLauncher Killing all Chrome Instances +10s | |
Warning: [object Object] Use --force to continue. | |
Aborted due to warnings. | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 3 | |
npm ERR! p5@0.6.1 grunt: `grunt` | |
npm ERR! Exit status 3 | |
npm ERR! | |
npm ERR! Failed at the p5@0.6.1 grunt script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment