So today (and actually for a number of days) I have been working on a "Fraction Maker" tool, to help create curriculum and playthinks for kids. I have been going through multiple iterations (a good habit to teach the kids).
|Fraction Box w/Controls|
The user can specify the object to use (in the above case I used a rectangle, but you could use any shape or graphic), the user can specify the # of rows and columns. The object used has information about the color changes (or other changes such as changing graphic) and whether the event occurs on MouseDown or MouseEnter. Hmmm, I think I should move that MouseDown or MouseEnter to the Fraction Object and just ensure each object used to "fill" the fraction has a "toggle" script.
Here are a couple of things I want the Fraction Box to be able to do:
- When a user clicks on (or mouse's over) a box it will change color
- Let user (teacher or kids) specify the colors
- Button to hand the user a copy of the Fraction Box
- Button to "lock" the Fraction Box (so the mouseEnter or mouseDown events stop changing colors)
- Button to hand the user a copy of the Fraction Maker (Fraction Box + buttons)
Some challenges/design issues:
- When "handing the user a copy of the box, unless I put a "border" (not an etoys border) around the "Fraction Box" it is not obvious how to "pick up" and move it. Ideally you could easily get the halo, but that doesn't work too well as I currently have the size of the playfield set to the size of the fraction box, so the only way to "select it" (get its Halo) is to "shift drag" select, which is easy to teach, but not obvious until you are shown how to do it (hmmm, sounds like I need another Etoys minute).
- The scripting to do all I want to do (lock/unlock Fraction Box), etc. not hard it just takes time and some figuring out