On the idea of artifacts to empower teacher writing interactive learning contents, I come to write a Fraction Box Morph after a discussion with Steve Thomas.

It is an artifact to represent n parts among m parts. It comes with Etoys tiles to adjust the n and m parts, then the color of the selected parts.

Download Fraction Box Morph code source.

A programmable morph to represent n parts among m parts