Implimentation

Key:

elementImplemented in p5 canvasImplement in MyCanvas
Strings (p5 canvas has 10 strings, 50% implemented)
_textFontxx r
_textStylexx r
_textAlignxx r
_textBaselinex
_rectModexx r
_ellipseModexx r
_colorModegx r
_imageModex
_cachedStrokeStylex
_cachedFillStylex
_cachedBlendModex
_idx r
Numbers (p5 canvas has 5 numbers, 60% implemented
100% of the non "_" numbers)
widthxx r
heightxx r
_textSizexx r
_textLeadingx
_curveTightnessx
_strokeWeightx r
_textWeightx r
_textStrokeWeightx r
functions (p5 canvas has 93 functions, 52% implemented
69% of the non "_" related functions)
_applyDefaultsx
resizeCanvasxx
backgroundxx
clearxx
fillxx
strokexx
erasex
noErasex
imagexx
_getTintedImageCanvasx
blendModex
blend functionx
_getPixel x
loadPixelsx
set x
updatePixels x
_acuteArcToBezierx
arcxx
ellipsexx
linexx
pointxx
quadxx
rectxx
trianglexx
endShapexx
strokeCapxx
strokeJoinx
strokeWeightxx
_getFill x
_setFill x
_getStrokex
_setStrokex
bezierxx
curvex
_doFillStrokeClosex
applyMatrix xx
resetMatrixxx
rotatexx
scalexx
translatexx
textxx
_renderTextx
textWidthx
_applyTextPropertiesx
pushx
popx
getx
textLeadingx
textSize xx
textStylexx
textAscent x
textDescentx
textAlignxx
_isOpenTypex
_updateTextMetricsx
parent xx
id xx
classx
mousePressedxx
doubleClicked xx
mouseWheelxx
mouseReleasedxx
mouseClickedxx
mouseMovedxx
mouseOverxx
mouseOutxx
touchStartedxx
touchMovedxx
touchEndedxx
dragOverxx
dragLeave xx
_setPropertyx
changedx
input x
addClass x
removeClassx
hasClass x
toggleClassx
childxx
centerxx
htmlxx
positionxx
_translatex
_rotate x
stylexx
attributex
removeAttributex
value x
showxx
hidexx
sizex
removex
dropxx
colorgx
colorModegx r
loadImagegx
noFillgx r
noStrokegx r
rectModegx r
ellipseModegx r
textFontgx r
squaregx
circlegx
bezierPointgx
bezierTangentgx
bezierPointgx
_decrementPreloadgx
beginShapegx r
vertexgx r
convertImageToMyCanvasx
keyDownx
keyUpx
objects (p5 canvas has 9 objects, 56% implemented
100% of the non "_" objects)
elt xx
_pixelsStatex
_pInstxx
_eventsxx
canvas xx
_textAscentx (null)
_textDescentx (null)
_tint x (null)
drawingContextxx
_backgoundColorx r
_fillColorx r
_strokeColorx r
touchesgx r
_colorMaxesgx r
boolean (p5 canvas has 6 boolean variables, 33% implemented
100% of the non "_" objects)
_isMainCanvasxx
_doStrokex
_doFillx
_strokeSetx
_fillSetx
_dragDisabledxx
mouseIsPressedgx
keyIsPressedgx
isOverx r
_strokeTextx
_dragStartedx

By this count, there are non "_" elements either in a p5 canvas or are related but global. MyCanvas implements (at least in part) 72 or 72% of them.

James Brink, 5/26/2020