Tuesday, October 06, 2009
Fractional guessing
I created a basic guessing game. It involves guessing the percentage that a piece of a pie chart occupies. Put your guess of what percentage the orange pie piece is out of the whole in to the text field below then hit the submit button.
Most of the time spent on this application was in creating the pie chart. You'll notice when a small piece is generated, less than 5% in size, that there is a line that seems to form a tangent to the edge of the pie chart. I was unable to figure out what was causing this to happen.
Most of the time spent on this application was in creating the pie chart. You'll notice when a small piece is generated, less than 5% in size, that there is a line that seems to form a tangent to the edge of the pie chart. I was unable to figure out what was causing this to happen.
Labels: pie chart, Silverlight
Subscribe to Posts [Atom]