A little time to work on this today! Today's update has several playability improvements, as well as a new feature: the divisor text box (visible when the roller tool is picked up) now has friendly buttons for increasing or decreasing the divisor.

Extant problem: the "server" tool (lousy name, but I'm not sure what else to call it) isn't so good at lifting up a small slice. If you cut the pizza into, say 128ths, you will have some difficulty in picking them up and putting them down. I guess that's to be expected, but it doesn't need to be quite so difficult as it is now. The method that lifts the slice ("liftSlice") is started by an event listener that is assigned to the pizza and to the lines of division that sit on top of the pizza, so I'm not sure why it would be that I can't pick up a 1/128 slice- ANY 1/128 slice- unless I click on the thing repeatedly. Why doesn't it work right away? Not sure yet. The only work-around I have in mind for this so far would require that I add an event listener for liftSlice to the stage itself, but only when the tool is over the pizza. That would mess with a lot of the program as it's already written, however, so I'm trying to think of a cheaper solution.

Other than that, I'm satisfied enough with it that I'll move ahead with bringing in the quiz element (the next time I get a chance to work on it).


Leave a Reply


    My name is Alex Teich. I teach math, and I also like to make things, like this fraction manipulative. I'm going to chart my progress with it on this blog. Any advice or feedback is welcome- from programmers, mathematicians, educators, or anyone with an opinion.


    May 2012
    April 2012
    March 2012