+ Reply to Thread
Results 1 to 3 of 3

Thread: Counter

  1. #1


    I use this activity with my students on the first day of school to get them thinking after a long summer break. The goal is for them to state that their are 27 triangles in the figure shown. I have set up the sketch to hide and show each triangle but am wondering if there is a way to create a counter to tally the triangles as they are shown? Hopefully there is an easy way to do this? Thanks.
    Attached Files

  2. #2
    Sketchpad Developer
    Join Date
    Oct 2010

    Creating a Counter

    Here's a suggestion for creating a counter to accompany the triangle model:

    —Choose Number | New Parameter and create a parameter n with value 0.

    — Choose Number | Calculate and compute n + 1.

    — Select n and n + 1 in your sketch. Then, choose Edit | Action Buttons | Movement. In the dialog box that appears, set the speed to instant and click OK. You now have a Move Parameter button that, each time it's pressed, increments the value of n by 1.

    —To incorporate the Move Parameter button into a Show button that reveals a single triangle, select both buttons and choose Edit | Action Buttons | Presentation to create a button that both reveals a triangle and increments the count by 1.

    I hope this explanation is helpful.



  3. #3
    Thanks. It works great now.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts