WeScheme Project - Introduction, April 19, 2012, Cardinal Forest Elementary School

WeScheme website
Bootstrap World
Racket language (Scheme)
WeScheme: The Browser is your Programming Environment (pdf paper)
Back to WeScheme Projects

  • Introduction to WeScheme

  • Practice with speaking Scheme:

    Colors available in WeScheme - no spaces, and capital letters are optional

    1. Rectangle:

      (rectangle 40 20 "solid" "green")
      

      (rectangle 40 20 "solid" "forestgreen")
      

      (rectangle 80 40 "solid" "crimson")
      
    2. Circle

      (circle 40 "solid" "olive")
      

      (circle 80 "outline" "red")
      

    3. Triangle

      (triangle 80 "solid" "purple")
      

      (triangle 150 "outline" "blue")
      

    4. Square

      (square 60 "solid" "green")
      

      (square 60 "solid" "green")
      (triangle 60 "solid" "blue")
      (circle 60 "solid" "purple")
      

    5. Polygon

      (regular-polygon 40 6 "solid" "purple")
      

      (regular-polygon 40 12 "solid" "lime")
      

      (regular-polygon 40 6 "solid" "purple")
      (regular-polygon 40 12 "solid" "lime")
      

    6. Overlay

      (overlay (circle 10 "solid" "red")
               (circle 20 "solid" "black")
               (circle 30 "solid" "red")
               (circle 40 "solid" "black")
               (circle 50 "solid" "red")
               (circle 60 "solid" "black")
      )
      

      (overlay (square 10 "solid" "green")
               (square 20 "solid" "blue")
               (square 30 "solid" "green")
               (square 40 "solid" "blue")
               (square 50 "solid" "green")
               (square 60 "solid" "blue")
      )
      

      (overlay (triangle 40 "solid" "blue")
                 (triangle 60 "solid" "yellow")
                 (triangle 80 "solid" "green")
                 (triangle 100 "solid" "cyan")
                 (triangle 120 "solid" "purple"))
      

    7. Try to do these pictures with overlay: