Mathura MG

All that is ITP

Processing: July 11th Week — July 16, 2016

Processing: July 11th Week

Aim for this week –

  • Make the IDE more screen reader friendly by adding roles and labels
  • User test with Chancey about the usability of the IDE
  • Test if monkey patching worked with the IDE
  • Add indentation to preferences

Continue reading

Processing: July 4th week — July 10, 2016

Processing: July 4th week

This week my aim was the following –

  • Implement decorator function for one of the p5 functions (say rectangle())
  • Implement a generic decorator function using the data file for all the p5 functions
  • Include indentation in the p5 IDE preferences
  • Include a div for the codemirror sample for testing

Continue reading

Processing: June 27th week — July 2, 2016

Processing: June 27th week

This week was full of experiments. The aim was to make a shadow DOM for the canvas so that those using screen readers can focus on the canvas and hear what is being drawn on the canvas.

To do this, I first started using esprima Рit breaks down code into its function calls and parameters. Once this was done it was possible to get what functions were being called in the setup() and draw() function and what parameters were being passed into them.

Once this was available – next was to get the documentation that is generated by p5 using yuidocs. This json file provides data of the function name and the definition of the arguments.

Continue reading