p5.accessibility.js makes the p5 canvas more accessible to people who are blind and visually impaired. It can be used with any p5.js sketch and it is used in the p5.js web editor.
I realized things like the below line from fillEntity.js use the name shapeObject which perhaps makes sense in shapeEntity.js but the meaning doesn't carry through for newer methods. Maybe we can rename it to methodObject ? I sure helps me understand the code a lot better.
function FillEntity(Interceptor, shapeObject, fillArgs, canvasX, canvasY)
For reference, if I console.log(shapeObject) I get this
Nature of issue
I realized things like the below line from
fillEntity.js
use the nameshapeObject
which perhaps makes sense inshapeEntity.js
but the meaning doesn't carry through for newer methods. Maybe we can rename it tomethodObject
? I sure helps me understand the code a lot better.For reference, if I
console.log(shapeObject)
I get thisThoughts?