Server-side JSON/image creation: partitioning maths homework

Another homework-inspired demo of generating JSON + images on the server. This kind of thing can also easily be done with client side scripting. The advantages of doing it on the server is simplified client-side code (for older / less powerful devices) and nothing valuable on the client side for pirates! Arrr.

A script embedded in the page source requests a JSON response containing a sum with two ‘hundred square’ images showing the summands. Also in the response is an URL for an image showing a method of working out the sum using tens-and-units partitioning.

Enjoy!

What is the sum of ? and ??

Leave a Reply

Your email address will not be published. Required fields are marked *