The p5.accessibility library is made of the following parts:
Interceptors refer to the class that is called over the execution of each p5 function. The interceptors call the respective entities (through register) and take the required information that is displayed to the user.
Refers to a class that takes care of specific p5 functions All of the entities are registered in a registry. This is done so that when a function is called, the program knows which entity needs to be used.
- Base entity (base class)
- Fill entity (takes care of fill function)
- Shape entity (takes care of all the 2d shape functions)
This class contains a register of entities and their respective p5 functions.
The data is essentially a list of all functions, their parameters, and outputs. This file it generated by the p5.js library.