{"id":16,"date":"2008-09-15T23:39:28","date_gmt":"2008-09-16T03:39:28","guid":{"rendered":"http:\/\/itp.nyu.edu\/blogs\/ia303\/2008\/09\/15\/drawing-program\/"},"modified":"2008-09-15T23:39:28","modified_gmt":"2008-09-16T03:39:28","slug":"drawing-program","status":"publish","type":"post","link":"https:\/\/itp.indiamos.com\/blog\/2008\/09\/15\/drawing-program\/","title":{"rendered":"Drawing program"},"content":{"rendered":"<p><a href=\"http:\/\/itp.indiamos.com\/ICM\/week2\/line_drawer\/applet\/index.html\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/itp.indiamos.com\/ICM\/week2\/line_drawer\/line_drawer.png?resize=400%2C416\" width=\"400\" height=\"416\" alt=\"a doodle made by our Processing app\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Part two of this week&#8217;s ICM homework: &#8220;Make a painting program or a kaleidoscope that uses mouse interaction.&#8221;<\/p>\n<p>Neither Ruthie nor I could envision out how even an analog kaleidoscope might work, so we took the drawing program option. Again, we relied heavily on examples from the book (<a href=\"http:\/\/www.learningprocessing.com\/examples\/chapter-3\/example-3-4\/\">Drawing a Continuous Line<\/a> and <a href=\"http:\/\/www.learningprocessing.com\/examples\/chapter-3\/example-3-5\/\">mousePressed and keyPressed<\/a>), but instead of making a program that just draws a single, continuous black line, we added a mousePressed thing so that it draws a black box and changes the line color every time you click.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Part two of this week&#8217;s ICM homework: &#8220;Make a painting program or a kaleidoscope that uses mouse interaction.&#8221; Neither Ruthie nor I could envision out how even an analog kaleidoscope might work, so we took the drawing program option. Again, we relied heavily on examples from the book (Drawing a Continuous Line and mousePressed and &hellip; <a href=\"https:\/\/itp.indiamos.com\/blog\/2008\/09\/15\/drawing-program\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Drawing program<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[7,4,3,9,10],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3qY10-g","_links":{"self":[{"href":"https:\/\/itp.indiamos.com\/blog\/wp-json\/wp\/v2\/posts\/16"}],"collection":[{"href":"https:\/\/itp.indiamos.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itp.indiamos.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itp.indiamos.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/itp.indiamos.com\/blog\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":0,"href":"https:\/\/itp.indiamos.com\/blog\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"wp:attachment":[{"href":"https:\/\/itp.indiamos.com\/blog\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itp.indiamos.com\/blog\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itp.indiamos.com\/blog\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}