{"id":1298,"date":"2014-12-08T12:31:38","date_gmt":"2014-12-08T12:31:38","guid":{"rendered":"http:\/\/astoryisnotatree.net\/?p=1298"},"modified":"2020-04-29T21:25:09","modified_gmt":"2020-04-29T21:25:09","slug":"bw-exercise-3-atoms","status":"publish","type":"post","link":"https:\/\/astoryisnotatree.net\/?p=1298","title":{"rendered":"Games from Nothing: Black &#038; White Exercise #3 \u2014 Atoms"},"content":{"rendered":"<p>When I started making this game, I decided to start by coding three circles which each had three circles rotating around them (using translations). I wanted the movement and position of the circles to remind the player of the &#8220;Twist&#8221; rides you find at carnivals and amusement parks. When I coded those circles, I realized that they kind of resembled atoms &#8211; the three center circles were nuclei, and the rotating circles were atoms. I decided to abandon my former idea in favor of creating a basic\u00a0animated atom. This was the result:<\/p>\n<p><a href=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screen-Shot-2014-12-08-at-7.25.10-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-1299\" src=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screen-Shot-2014-12-08-at-7.25.10-AM-300x170.png\" alt=\"Screen Shot 2014-12-08 at 7.25.10 AM\" width=\"501\" height=\"284\" srcset=\"https:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screen-Shot-2014-12-08-at-7.25.10-AM-300x170.png 300w, https:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screen-Shot-2014-12-08-at-7.25.10-AM-1024x580.png 1024w, https:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screen-Shot-2014-12-08-at-7.25.10-AM-624x353.png 624w, https:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screen-Shot-2014-12-08-at-7.25.10-AM.png 1277w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/a><\/p>\n<p>The &#8220;electrons&#8221; circle their nuclei using a circular motion code. To make it appear as though the atoms are whirring slightly, the nuclei slowly move around the screen using a random motion code. I decided to make the objects more obviously reference atoms by adding slightly transparent strokes around the center, which makes the electrons&#8217; paths easier to follow. I think that I&#8217;m satisfied with the assignment because I accomplished what I set out to do, but I keep getting the nagging feeling that it&#8217;s missing something&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I started making this game, I decided to start by coding three circles which each had three circles rotating around them (using translations). I wanted the movement and position of the circles to remind the player of the &#8220;Twist&#8221;&#8230;<\/p>\n","protected":false},"author":29,"featured_media":1299,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[16,109],"class_list":["post-1298","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-games-from-nothing","tag-black-white-exercises","tag-particles-lab","wpcat-5-id"],"_links":{"self":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts\/1298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1298"}],"version-history":[{"count":3,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts\/1298\/revisions"}],"predecessor-version":[{"id":13861,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts\/1298\/revisions\/13861"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/media\/1299"}],"wp:attachment":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}