Coding in the Arts: Steam CS lessons |
WeTeach_CS Summit 2017 |
Austin, Texas -- June 5-7, 2017 |
Presentation by Karen North and Pamela Ossorio
|
Prerequisite: experience with www.bootstrapworld.org curriculum and www.wescheme.org programming environment or suggested tutorial: http://www.bootstrapworld.org/materials/fall2015/HourOfCode/Full Mondrian Art lesson Geometry Decoded Coding - Karen North |
Examples | Click image to see project details and links to live code | Excel file |
Mondrian_ex1
|
![]() |
Click here to download file with 400 x 400 pixel grid and wescheme programming code to draw a canvas for background, red square, and black rectangle for a line |
Mondrian_ex2
|
![]() |
Click here to download the Excel file to use for designing your own art. File with 400 x 400 grid and lines where you can write your code. |
Mondrian_ex3
|
![]() |
Click here to download the Excel file of Example 3 with cell shading and rectangle shapes for black lines |
Now it is your turn to draw your own rendition of mondrian like art! |
Design Recipe1 |
|||
Description |
Draw a rectangle of a given width and height in pixels |
||
Contract/Purpose statement |
|||
Function name |
Domain |
Range |
|
rectangle |
number number string string |
image |
|
Examples |
|||
Example 1 |
(rectangle 400 400 "solid" "White") |
||
Example 2 |
(rectangle 100 250 "outline" "blue") |
||
Definition |
rectangle (width height style color) |
Design Recipe 2 |
||||
Description |
Place rectangle at a specific location on canvas |
|||
Contract/Purpose statement |
||||
Function name |
Domain |
Range |
||
put-image |
rectangle |
image |
||
Examples |
||||
Example 1 |
(put-image (rectangle) 200 360) |
|||
Example 2 |
(put-image (rectangle) 150 350) |
|||
Definition |
(put-image (rectangle width height style color) x y) |
|||
Actual wescheme coding syntax: (define Mond-example (put-image ( ...) x y
|
Original Presentation at Houston Art Partners Conference, September 11th and 12th, 2015 |
|
Complete Mondrian Art Lesson |
Middle School activities |
Geometry Decoded Coding - Karen North |
WeScheme-HAP-Conference.html - Pamela Ossorio |
IDE |
![]() |
Curriculum Resources |