{"id":142,"date":"2026-06-07T23:31:42","date_gmt":"2026-06-07T23:31:42","guid":{"rendered":"https:\/\/voidcam.com\/?p=142"},"modified":"2026-06-07T23:31:42","modified_gmt":"2026-06-07T23:31:42","slug":"structure-3-functions","status":"publish","type":"post","link":"https:\/\/voidcam.com\/?p=142","title":{"rendered":"Structure 3: Functions"},"content":{"rendered":"\n<p class=\"has-small-font-size wp-block-paragraph\">Working through the examples in <em>Processing: A Programming Handbook for Visual Designers and Artists<\/em> by Casey Reas and Ben Fry.<\/p>\n\n\n\n<div style=\"height:21px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"609\" height=\"213\" src=\"https:\/\/voidcam.com\/wp-content\/uploads\/2026\/06\/functions_1.png\" alt=\"functions exercise\" class=\"wp-image-143\" srcset=\"https:\/\/voidcam.com\/wp-content\/uploads\/2026\/06\/functions_1.png 609w, https:\/\/voidcam.com\/wp-content\/uploads\/2026\/06\/functions_1-300x105.png 300w\" sizes=\"auto, (max-width: 609px) 100vw, 609px\" \/><\/figure>\n\n\n\n<div style=\"height:21px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-text-align-center is-style-text-subtitle has-small-font-size is-style-text-subtitle--1 wp-block-paragraph\">Click sketch to redraw.<\/p>\n\n\n\n<iframe loading=\"lazy\" src=\"https:\/\/editor.p5js.org\/voidcam\/full\/itnN88xkY\" width=\"580\" height=\"620\" style=\"width:580px; height:622px; border:none; display:block; margin: 0 auto;\"><\/iframe>\n","protected":false},"excerpt":{"rendered":"<p>Working through the examples in Processing: A Programming Handbook for Visual Designers and Artists by Casey Reas and Ben Fry. Click sketch to redraw.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-processing"],"_links":{"self":[{"href":"https:\/\/voidcam.com\/index.php?rest_route=\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/voidcam.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/voidcam.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/voidcam.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/voidcam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=142"}],"version-history":[{"count":3,"href":"https:\/\/voidcam.com\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":147,"href":"https:\/\/voidcam.com\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions\/147"}],"wp:attachment":[{"href":"https:\/\/voidcam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/voidcam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/voidcam.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}