add square(3)
authordaniel watson <ozzloy@gmail.com>
Thu, 5 May 2016 21:31:48 +0000 (14:31 -0700)
committerdaniel watson <ozzloy@gmail.com>
Sat, 11 Jun 2016 05:00:22 +0000 (22:00 -0700)
curriculum/makefile
curriculum/square.scm

index 3fc87962b2d7a8ac7bdee6f5fcbe349cf838ecee..94465193aaa2b1d3986d0251790698a998eccc51 100644 (file)
@@ -22,7 +22,15 @@ square2.png: square2.scad makefile
          --imgsize=931,634 \
          square2.scad
 
-square.html: square.scm square.png square1.png square2.png makefile
+square3.png: square3.scad makefile
+       @openscad \
+         --render \
+         -o square3.png \
+          --camera=1.27,1.57,0.01,0,0,0,9.05 \
+         --imgsize=931,634 \
+         square3.scad
+
+square.html: square.scm square.png square1.png square2.png square3.png makefile
        @skribilo square.scm > square.html
 
 clean:
index d01fbeb22cb724c8647aaa4dfa4da813610230a7..d7d8852a05238a43743dd69618219454752c1798 100644 (file)
   (p [here's the output of ,(source :language c [square(2)\;])])
   (figure
    :legend "square(2);"
-   (image :file "square2.png" :height 500))))
+   (image :file "square2.png" :height 500))
+  (p [note that it is twice the size of the prior 2 examples.]))
+ (chapter
+  :title [square(3)\;]
+  :number #f
+  (p [here's the output of ,(source :language c [square(3)\;])])
+  (p [how big do you expect this square to be?])
+  (figure
+   :legend "square(3);"
+   (image :file "square3.png" :height 500))))