<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Satish Goda on Medium]]></title>
        <description><![CDATA[Stories by Satish Goda on Medium]]></description>
        <link>https://medium.com/@satishgoda?source=rss-becceb5b4e63------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*BP3MYIFXhScvuJB3.jpeg</url>
            <title>Stories by Satish Goda on Medium</title>
            <link>https://medium.com/@satishgoda?source=rss-becceb5b4e63------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 04:34:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@satishgoda/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My first day with Animation Nodes in Blender 2.80+]]></title>
            <link>https://medium.com/@satishgoda/my-first-day-with-animation-nodes-in-blender-2-80-45f578a0fc73?source=rss-becceb5b4e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/45f578a0fc73</guid>
            <category><![CDATA[blender]]></category>
            <category><![CDATA[blender3d]]></category>
            <category><![CDATA[procedural-generation]]></category>
            <category><![CDATA[animation-node]]></category>
            <dc:creator><![CDATA[Satish Goda]]></dc:creator>
            <pubDate>Fri, 17 Jan 2020 22:04:32 GMT</pubDate>
            <atom:updated>2020-01-17T22:04:32.178Z</atom:updated>
            <content:encoded><![CDATA[<p>Today I finally decided to get started with Animation Nodes.</p><p>Wait. What! Animation Nodes?</p><blockquote><strong>Animation Nodes is a Node based visual scripting system designed for motion graphics in Blender.</strong></blockquote><p>For comprehensive details, following is the link to Animation Nodes website.</p><p><a href="https://animation-nodes.com/">Animation Nodes</a></p><h3>Installation and Troubleshooting</h3><p>Downloading the Animation Nodes build for 2.80+ and installation worked well. But while enabling the addon I ran into an error. After looking at the troubleshooting guide, I had to download and install <a href="https://aka.ms/vs/16/release/vc_redist.x64.exe">vc_redist.x64.exe</a>.</p><p>Then I was able to enable the add-on.</p><p>The official documentation for Animation Nodes did not have a getting started tutorial, but after Googling I found a link to a YouTube playlist.</p><p>The following tutorial helped me get started with Animation Nodes</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLJSCK4DjIWhk-JIGOIJKLUB1bGXfDBgzZ&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dbyi1oGsVTAA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fbyi1oGsVTAA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/de21296622ac91d5d167d8c26b2577f4/href">https://medium.com/media/de21296622ac91d5d167d8c26b2577f4/href</a></iframe><p>Following the tutorial above, I was able to create my first Node network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n7SvajAthONe8xZgFAwAOQ.png" /></figure><p>Following is a recording of a video of my setup.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fr358kstE_84%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dr358kstE_84&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fr358kstE_84%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/762b131afffc0f7b34eb966e7e76168c/href">https://medium.com/media/762b131afffc0f7b34eb966e7e76168c/href</a></iframe><p>I look forward to studying Animation Nodes and create procedural worlds in Blender.</p><p>Satish Goda<br><a href="http://twitter.com/satishgoda">@satishgoda</a></p><h3>References</h3><ul><li><a href="https://github.com/JacquesLucke/animation_nodes">https://github.com/JacquesLucke/animation_nodes</a></li><li><a href="https://animation-nodes-manual.readthedocs.io/en/latest/">https://animation-nodes-manual.readthedocs.io/en/latest/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45f578a0fc73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Attribute Access using __getattr__ and __getattribute__]]></title>
            <link>https://medium.com/@satishgoda/python-attribute-access-using-getattr-and-getattribute-6401f7425ce6?source=rss-becceb5b4e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/6401f7425ce6</guid>
            <category><![CDATA[data-model]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Satish Goda]]></dc:creator>
            <pubDate>Fri, 13 Dec 2019 19:49:42 GMT</pubDate>
            <atom:updated>2019-12-14T00:06:57.349Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, I happened to forget the difference between __getattr__ and __getattribute__ methods and what they accomplish in Python’s Data Model.</p><p>So I am writing this story down to serve as a quick and simple reference for me and anyone interested.</p><p>I first studied the official documentation for <strong>__getattr__</strong> and <strong>__getattribute__</strong></p><h4>__getattr__</h4><blockquote>Called when an attribute lookup has not found the attribute in the usual places (i.e. it is not an instance attribute nor is it found in the class tree for self). name is the attribute name. This method should return the (computed) attribute value or raise an <a href="https://docs.python.org/2.7/library/exceptions.html#exceptions.AttributeError">AttributeError</a> exception.</blockquote><blockquote>Note that if the attribute is found through the normal mechanism, <a href="https://docs.python.org/2.7/reference/datamodel.html#object.__getattr__">__getattr__()</a> is not called. (This is an intentional asymmetry between <a href="https://docs.python.org/2.7/reference/datamodel.html#object.__getattr__">__getattr__()</a> and <a href="https://docs.python.org/2.7/reference/datamodel.html#object.__setattr__">__setattr__()</a>.) This is done both for efficiency reasons and because otherwise <a href="https://docs.python.org/2.7/reference/datamodel.html#object.__getattr__">__getattr__()</a> would have no way to access other attributes of the instance. Note that at least for instance variables, you can fake total control by not inserting any values in the instance attribute dictionary (but instead inserting them in another object). See the <a href="https://docs.python.org/2.7/reference/datamodel.html#object.__getattribute__">__getattribute__()</a> method below for a way to actually get total control in new-style classes.</blockquote><p>Source: <a href="https://docs.python.org/2.7/reference/datamodel.html#customizing-attribute-access">Python Data Model : Customizing Attribute Access</a></p><h4>__getattribute__</h4><blockquote>Called unconditionally to implement attribute accesses for instances of the class. If the class also defines <a href="https://docs.python.org/2.7/reference/datamodel.html#object.__getattr__">__getattr__()</a>, the latter will not be called unless <a href="https://docs.python.org/2.7/reference/datamodel.html#object.__getattribute__">__getattribute__()</a> either calls it explicitly or raises an <a href="https://docs.python.org/2.7/library/exceptions.html#exceptions.AttributeError">AttributeError</a>. This method should return the (computed) attribute value or raise an <a href="https://docs.python.org/2.7/library/exceptions.html#exceptions.AttributeError">AttributeError</a> exception. In order to avoid infinite recursion in this method, its implementation should always call the base class method with the same name to access any attributes it needs, for example, object.__getattribute__(self, name).</blockquote><p>Source: <a href="https://docs.python.org/2.7/reference/datamodel.html#more-attribute-access-for-new-style-classes">Python Data Model : More Attribute Access for New Style Classes</a></p><p>After studying the official documentation, I wrote the following simple Python class that overrides the base class implementation and injected some print statements followed by calling base class methods.</p><pre>class Yeah(object):<br>    def __init__(self, name):<br>        self.name = name</pre><pre>    # Gets called when an attribute is accessed<br>    def __getattribute__(self, item):<br>        print &#39;__getattribute__ &#39;, item<br>        # Calling the super class to avoid recursion<br>        return super(Yeah, self).__getattribute__(item)</pre><pre>    # Gets called when the item is not found via __getattribute__<br>    def __getattr__(self, item):<br>        print &#39;__getattr__ &#39;, item<br>        return super(Yeah, self).__setattr__(item, &#39;orphan&#39;)</pre><p>And then using an instance of the class above shined light on the mechanics of attribute access.</p><pre>&gt;&gt; y1 = Yeah(&#39;yes&#39;)</pre><pre>&gt;&gt; y1.name<br>__getattribute__  name<br>&#39;yes&#39;</pre><pre>&gt;&gt; y1.foo<br>__getattribute__  foo<br>__getattr__  foo</pre><pre>&gt;&gt; y1.foo<br>__getattribute__  foo<br>&#39;orphan&#39;</pre><pre>&gt;&gt; y1.goo<br>__getattribute__  goo<br>__getattr__  goo</pre><pre>&gt;&gt; y1.__dict__<br>__getattribute__  __dict__<br>{&#39;__members__&#39;: &#39;orphan&#39;,<br> &#39;__methods__&#39;: &#39;orphan&#39;,<br> &#39;foo&#39;: &#39;orphan&#39;,<br> &#39;goo&#39;: &#39;orphan&#39;,<br> &#39;name&#39;: &#39;yes&#39;}</pre><p>I think it is a bit more clear now. If it is not, let us discuss in the comments below.</p><p>Satish Goda</p><h4>References</h4><ul><li><a href="https://stackoverflow.com/a/371833/1152323">https://stackoverflow.com/a/371833/1152323</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6401f7425ce6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On Being Creative]]></title>
            <link>https://medium.com/@satishgoda/on-being-creative-a18b407c36d3?source=rss-becceb5b4e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/a18b407c36d3</guid>
            <category><![CDATA[making]]></category>
            <category><![CDATA[creativity]]></category>
            <dc:creator><![CDATA[Satish Goda]]></dc:creator>
            <pubDate>Tue, 01 Oct 2019 17:36:50 GMT</pubDate>
            <atom:updated>2019-10-01T17:45:52.374Z</atom:updated>
            <content:encoded><![CDATA[<p>Think</p><p>Realise</p><p>Design</p><p>Create</p><p>Test</p><p>Improve</p><p>Document</p><p>Release</p><p>Maintain</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a18b407c36d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting up Blender 2.8 for Developing with Python 3.7]]></title>
            <link>https://medium.com/@satishgoda/setting-up-blender-2-8-for-developing-with-python-3-7-6330d87c17b4?source=rss-becceb5b4e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/6330d87c17b4</guid>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[scripting]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[interactive-design]]></category>
            <category><![CDATA[blender3d]]></category>
            <dc:creator><![CDATA[Satish Goda]]></dc:creator>
            <pubDate>Sat, 10 Aug 2019 01:50:44 GMT</pubDate>
            <atom:updated>2019-08-25T04:08:17.879Z</atom:updated>
            <content:encoded><![CDATA[<h3>Setting up Blender 2.80 for Development with Python</h3><blockquote>You can download Blender 2.80 at <a href="https://www.blender.org/download/releases/2-80/">https://www.blender.org/download/releases/2-80/</a></blockquote><p>Launch Blender 2.80 (to be called as Blender during rest of this article).</p><p>Let us now step through the process of configuring Blender so that artists and developers can have a better user experience creating Python programs and scripts. As of Blender 2.80, Blender embeds the Python 3.7 interpreter and provides the <strong>bpy</strong> Python API that lets you configure, customize and extend the functionality of Blender.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CI-pIjZA_yOCc_8LiTn0Rw.png" /></figure><p>Select an object and hover your mouse over a property in the Properties Editor.</p><blockquote>In the example below, I am hovering over the <strong>location </strong>property.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/401/1*5rzWekXaW783F17YnJJC7A.png" /></figure><p>Next up, switch to <strong>Modifiers Context</strong> in the <strong>Properties Editor</strong> and click the <strong>Add Modifier </strong>drop down and hover your mouse over one of the modifier types.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*ND-eJTiLP-Sjsif3VNYrGg.png" /></figure><p>Well, you see a nice tool tip and that is it. Not really helpful for a developer.</p><p>Let us now make Blender 2.8 developer friendly.</p><h3>Edit -&gt; Preferences</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*TSrkUGpc2Cmq1AdEXFu9Sw.png" /></figure><p>You should see a window called “Blender Preferences” popup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ne6GmANiHy6qGmdPnvOFiA.png" /></figure><p>Now if you hover your mouse over a property, you will see Python and data path tool tips as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ptN1Qj9t7YAw6tTMJFn6A.png" /></figure><ol><li>Property defined on the Object type</li><li>Data path location of the property</li></ol><h3>Interactive Scripting in Blender’s Python REPL</h3><p>You can copy/paste the property name (not the full path)</p><p>As can be seen from the following screenshot, the code below was typed first</p><blockquote>bpy.context.active_object.</blockquote><p>and then</p><ol><li>The required property was copied using CTRL+SHIFT+C</li><li>And then pasted using CTRL+V</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kcrLD2onMmihbCILS6-FOw.png" /></figure><p>The full data-path of the property under the mouse pointer can be copied by pressing the CTRL+ALT+SHIFT+C keyboard shortcut.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q3g-O8eu5-5ZcRwYWtma1A.png" /><figcaption>Copying the full data path of the property under the mouse pointer</figcaption></figure><p>And now you can start using the REPL for your interactive programming exploration on Blender data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*66373Oqq23ei0DjYPfEW2A.png" /></figure><p>You can also press CTRL+SPACE for command completion</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*fQxtZjR90ggM5-upv11CmA.png" /></figure><h3>Launching Documentation</h3><p>If you right click on the property, you can see additional developer friendly options</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*PooRX86K7YRRemliRLjxpQ.png" /></figure><ol><li>The <a href="https://docs.blender.org/manual/en/2.80/scene_layout/object/properties/transforms.html#bpy-types-object-location">documentation for the property</a> is opened in your default web browser</li><li>The <a href="https://docs.blender.org/api/2.80/bpy.types.Object.html#bpy.types.Object.location">Python documentation for the property </a>is opened.</li><li>Python source code defining the user interface for the current properties context is opened in the Text Editor inside Blender (I will cover this in detail in a different article)</li></ol><h3>Operators</h3><p>Operators are context sensitive functions that operate on certain data set in the context (Like when you select something in the viewport)</p><p>Select the default Cube object and open the Properties editor for Modifiers. Then right click on the Subdivision Surface menu item.</p><p>You can now “Copy Python Command”. Yes, this copies the entire command path into the buffer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*x4PrxzrcHyGK2PMr8gUeJQ.png" /></figure><p>You can now do a lot of things with the copied command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sZssaGyyIoAELyuOthjRWQ.png" /></figure><ol><li>Paste the copied operator command in the Blender Python Editor</li><li>Execute the operator</li><li>See the result in the viewport</li><li>Adjust the Modifier properties</li><li>Select the line in the output area and then copy the property modification statement using CTRL+C</li><li>Paste the code in the Blender Text Editor.</li></ol><p>You are now ready to start prototyping and writing Python programs in Blender. You can use the Python script templates available from the Text Editor in Blender as a starting point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QQV4h6xIl6JCl3lqeGxvXw.png" /></figure><ol><li>Browse the Python script templates</li><li>Choose the one you like</li><li>Edit the instanced template in the Text block (You can have more than one python text files in the Text Editor)</li></ol><p>You can enable the Text Editor Sidebar to have access to handy tools to make you development easier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tuds4HBPWl_ageH8PatB_Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*RfNIheDj_BGAhqIFlmkw7A.png" /></figure><p>Time to run the Python script.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GTVV8IS1HxgBvruwMeZ5wQ.png" /></figure><ol><li>Switch to Edit Mode in the 3D Viewport (The script template which I instantiated requires the mesh object to be in Edit Mode)</li><li>Click the <strong>Run Script</strong> button.</li><li>See the Mesh move by 1 unit on X-axis everytime you perform Step 2</li><li>Don’t forget to check the Blender Python commands being executed</li></ol><p>Any finally any errors during execution will be displayed in the console attached to Blender.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QS_G9E7C90HDfsMlGvH-pA.png" /></figure><p>Hope this walk through helps you. Feel to share your comments and claps for this awesome article :)</p><p>Thank you,</p><blockquote>Satish Goda (satishgoda at live dot com)</blockquote><h3>Pingbacks</h3><h3>Satish Goda on Twitter</h3><p>I just published Setting up Blender 2.8 for Developing with Python 3.7 https://t.co/V1x1LfHTM6 #b3d #b280 #python</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6330d87c17b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Blender 2.80]]></title>
            <link>https://medium.com/@satishgoda/introducing-blender-2-80-9d2d59203f62?source=rss-becceb5b4e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d2d59203f62</guid>
            <category><![CDATA[3d-animation-software]]></category>
            <category><![CDATA[blender3d]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Satish Goda]]></dc:creator>
            <pubDate>Thu, 08 Aug 2019 16:17:30 GMT</pubDate>
            <atom:updated>2019-08-08T23:37:26.937Z</atom:updated>
            <content:encoded><![CDATA[<p>Blender Foundation has released Blender 2.80, the revamped and rejuvenated version of Blender. Major changes have been made to Blender, so if you are coming from Blender 2.79, brace yourself to adjust to workflows, UI and loads of improvements.</p><p>You can download Blender 2.80 at the link below</p><p><a href="https://www.blender.org/download/releases/2-80/">2.80 - blender.org</a></p><h3>User Preferences (Basic)</h3><p>After you install Blender 2.80, and launch Blender for the first time, you will be presented with the Quick Setup panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*80QJ4Fu-4PuFed8BEpWWOQ.png" /><figcaption>Quick Setup Panel (Displayed only if preferences have not been saved before for this version of Blender)</figcaption></figure><blockquote>1. I like tools to be displayed when hitting the Spacebar, so I chose that option</blockquote><blockquote>2. Then save my choices as into the use preferences file.</blockquote><p>Following is the location on disk (in my case, on Windows 10) where the user preferences are saved.</p><blockquote>C:\Users\satish.goda\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend</blockquote><h3>Application Templates</h3><p>The Blender 2.80 splash screen displays various application templates under the <strong>New File</strong> section. Application templates are a combination of blend files and python scripts that setup Blender 2.80 and its user interface tuned for a specific task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sjy_vOnn7Qg5--x_lguZsw.png" /></figure><blockquote>1. General is the default application template that is embedded inside of Blender</blockquote><blockquote>2. 2D Animation/Sculpting/VFX/Video Editing are templates specific to the named category of users. They are located at the path below (I am on Windows and used the MSI installer, so the files are located under Program Files)</blockquote><blockquote>C:\Program Files\Blender Foundation\Blender\2.80\scripts\startup\bl_app_templates_system</blockquote><p>If you used a zip file to extract Blender 2.80, you will find the application templates under</p><blockquote>%EXTRACTED_DIR%\2.80\scripts\startup\bl_app_templates_system</blockquote><p>The application templates can also be accessed from the <strong>File -&gt; New</strong> menu</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G32NzKEOac-H0kToVCc1Nw.png" /></figure><h3>First Steps with Blender 2.80</h3><p>The fine folks at the Blender Institute have created a set of videos to help you get up and running with Blender 2.80. The playlist is below and I highly encourage you to go through them to get an overview of Blender.</p><p><a href="https://www.youtube.com/playlist?list=PLa1F2ddGya_-UvuAqHAksYnB0qL9yWDO6">https://www.youtube.com/playlist?list=PLa1F2ddGya_-UvuAqHAksYnB0qL9yWDO6</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLa1F2ddGya_-UvuAqHAksYnB0qL9yWDO6&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLa1F2ddGya_-UvuAqHAksYnB0qL9yWDO6&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FMF1qEhBSfq4%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLD7kewySCA7qwCXH2atosQxZzMUYw%26days_since_epoch%3D18986&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e4fbbca999ddb7644ca7b30b8aeb5388/href">https://medium.com/media/e4fbbca999ddb7644ca7b30b8aeb5388/href</a></iframe><h3>References</h3><ul><li><a href="https://www.blender.org/">blender.org - Home of the Blender project - Free and Open 3D Creation Software</a></li><li><a href="https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/UI">Reference/Release Notes/2.80/UI</a></li></ul><blockquote><em>Satish Goda (satishgoda at live dot com)</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d2d59203f62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple Interactive Experience using MIT Scratch : Flying Eggs]]></title>
            <link>https://medium.com/@satishgoda/simple-interactive-experience-using-mit-scratch-flying-eggs-4f8bdbf6a764?source=rss-becceb5b4e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f8bdbf6a764</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[scratch-programming]]></category>
            <category><![CDATA[stem]]></category>
            <category><![CDATA[mit]]></category>
            <category><![CDATA[kindergarten]]></category>
            <dc:creator><![CDATA[Satish Goda]]></dc:creator>
            <pubDate>Thu, 27 Jun 2019 20:52:01 GMT</pubDate>
            <atom:updated>2019-07-01T20:36:04.675Z</atom:updated>
            <content:encoded><![CDATA[<h3>Simple Interactive Experience using MIT Scratch : Shooting Eggs</h3><h3>About</h3><p><em>These eggs fly where I want them to :)</em></p><p>Today, I have setup a simple interactive experience using MIT Scratch Programming environment wherein the mouse movement and clicks are used to shoot eggs. The eggs travel in the direction of initial release and then bounce around the edges of the screen. They vanish after sometime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pwa4QMFuXB9Wadnr0CSOqg.gif" /></figure><h3>Workspace Overview</h3><p>In the following GIF, you can see a quick overview of the my Scratch workspace for this project. All the block based logic for this interactive experience is spread out between the Stage and two sprites.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nVnOeFNxXQyrTk3UIKDo_A.gif" /></figure><h3>Blocks In Detail</h3><p>In the following sections I explain the blocks for Stage and sprites in detail.</p><h4>Blocks for Stage</h4><p>The stage has a global variable called “<em>direction</em>” and a message called “fire”. The message is fired when the stage is clicked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yVtwl6J8BL3ogcxXQ71WFw.png" /></figure><h4>Blocks for Arrow</h4><p>The arrow Sprite always points towards the mouse and its direction is synced with the Stage’s “<em>direction</em>” global variable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AoTgSiBKBBMzohYBZj07OA.png" /></figure><h4>Costumes for Egg</h4><p>The egg Sprite has two costumes (one for the normal state and other for the broken state). The broken state costume is displayed when the egg Sprite reaches a limit for its motion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ggKz2a4CEqXi0Rw4GA7hMQ.png" /></figure><h4>Blocks for Egg</h4><p>The Egg sprite is hidden by default and when it receives the “fire” message from the Stage and it clones itself.</p><p>Once the egg clones itself, it sets the default costume, location and direction and show’s itself. Then it starts moving 50 units each for twenty times and bounces if it hits the edge of the screen. Afterwards it switches its costume to the broken state, waits two seconds and then deletes itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3YyLxngjiXKdnpgYtz76-w.png" /></figure><h3>Summary</h3><p>Hope you enjoyed this breakdown of my MIT Scratch programming project. If you liked this article, please clap for it and leave a comment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f8bdbf6a764" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple App Development using MIT Scratch : Draw Shapes with Color]]></title>
            <link>https://medium.com/@satishgoda/simple-app-development-using-mit-scratch-draw-shapes-with-color-ba31abb15266?source=rss-becceb5b4e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba31abb15266</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[stem]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[scratch-programming]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <dc:creator><![CDATA[Satish Goda]]></dc:creator>
            <pubDate>Wed, 26 Jun 2019 06:36:43 GMT</pubDate>
            <atom:updated>2019-07-05T16:03:34.109Z</atom:updated>
            <content:encoded><![CDATA[<h3>Simple App Development using MIT Scratch : Draw Shapes with Color</h3><p>Following is a quick overview of a simple App I am prototyping using MIT Scratch programming environment. MIT Scratch allows one to create visual stories, interactions by stacking chunks of “pre-programmed” blocks together. Chunks of blocks can communicate with each other by broadcasting messages and receiving message and act accordingly. You are not really writing code but are building code using equivalent Lego like code objects.</p><blockquote>When you click the flag, a square shape is drawn in red color. You can then click the canvas so that the next shape is drawn there. Click on the colored buttons to choose drawing color. Click on the shapes to draw that shape.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fTGruF_8Y4rcS0rW8t8dig.gif" /></figure><blockquote>NOTE: This app is based on concepts covered in my other article on Medium</blockquote><p><a href="https://medium.com/@satishgoda/learning-mit-scratch-stage-global-variables-and-messages-71128f392b87">Learning MIT Scratch : Stage Global Variables and Messages</a></p><p>Click on “SHOW EMBED” and view the video of my simple app workspace for drawing shapes with different color. (I would recommend watching in full-screen mode)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FD7682v6fih4%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DD7682v6fih4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FD7682v6fih4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c3d87cd3cb3f99ab47cad80605dbf2ab/href">https://medium.com/media/c3d87cd3cb3f99ab47cad80605dbf2ab/href</a></iframe><h3>Blocks At A Glance</h3><blockquote><strong>Blocks for Stage</strong></blockquote><p><strong>Initialization</strong></p><ol><li>The Stage level variables (global to all the sprites as well) are initialized here. These variables are used by the Sprite for drawing the chosen shape with the chosen color.</li><li>Any existing pen drawings are erased</li><li>A “draw” message is broadcasted.</li></ol><p><strong>Mouse Interaction</strong></p><p>When the stage is clicked with the mouse, a “move_to_cursor” message is broadcast.</p><p><em>The user clicks the Stage to position the Sprite from which the chosen shape is drawn.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GMdeY1-EvzEwt39KtE3IFg.png" /></figure><blockquote><strong>Blocks for Pen</strong></blockquote><p><em>When the user chooses the color of the pen by clicking the three different sprites representing the pen color:</em></p><ol><li>The Stage level global variable “pen color” is set (0 for Red, 1 for Green, 2 for Blue).</li><li>A message called “update_settings_color” is broadcast (The pen drawing Sprite receives it and sets the actual Pen color)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mlfuCSFWFY4A9eG39Ljvog.png" /><figcaption>Blocks for Red Pen</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rRiSOqBkSJZ9AWAXZD3kmg.png" /><figcaption>Blocks for Green Pen</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u8DYD1iZ2AZJroqc1JHBgQ.png" /><figcaption>Blocks for Blue Pen</figcaption></figure><blockquote><strong>Blocks for Shapes</strong></blockquote><p><em>When the user chooses the desired shape to be drawn:</em></p><ol><li>The Stage global variable “time_to_repeat” is set (3 for Triangle, 4 for Square and 5 for Pentagon)</li><li>The Stage global variable “turn_by_angle” is set (120 for Triangle, 90 for Square and 72 for Pentagon)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9SSmBpS3pOGEvXEZSVuRkQ.png" /><figcaption>Blocks for Triangle Shape</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NRwNH05oYWiQr_uJJ3gE8w.png" /><figcaption>Blocks for Square Shape</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q66u1xKmKgG9R0ZqFamTJg.png" /><figcaption>Blocks for Pentagon Shape</figcaption></figure><blockquote><strong>Blocks for Drawing Sprite</strong></blockquote><p>The Sprite that draws the shapes contains various sets of composite blocks that set the drawing state and also draw as well.</p><p><strong>Initialization</strong></p><p>The Sprite</p><ol><li>Moves to the center of the canvas</li><li>Faces towards Right</li></ol><p><strong>Mouse Interaction</strong></p><ol><li>When the “move_to_cursor” message is received</li><li>The Sprite moves to the position of the mouse cursor</li></ol><p><strong>Changes in Global Variables</strong></p><ol><li>When “<em>update_settings_color</em>” message is received, the current Pen color is set based on the Stage global variable “<em>pen color</em>”</li><li>When “<em>update_settings_shape</em>” message is received, the “<em>draw</em>” message is broadcast.</li></ol><p><strong>Drawing</strong></p><p>When the “<em>draw</em>” message is received, the shape is drawn based on the current values of Pen color and shape properties (“<em>times_to_repeat</em>” and “<em>turn_by_angle</em>”).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fknQ5JSQkPF1cGxzbhd8iA.png" /></figure><h3>Summary</h3><p>You should now have an idea about structuring a simple App using various Scratch constructs like Global variables, Messages and also use Extensions to add power to vanilla Scratch environment.</p><p>If you think this article has created value, please show it by clapping and/or leaving a comment.</p><blockquote>Cheers,</blockquote><blockquote>Satish Goda (satishgoda at live dot com)</blockquote><h3>References</h3><ul><li><a href="https://scratch.mit.edu/">https://scratch.mit.edu</a></li><li><a href="https://bootuppd.org/curriculum-3rd-grade-plus/">https://bootuppd.org/curriculum-3rd-grade-plus/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba31abb15266" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning MIT Scratch : Stage Global Variables and Messages]]></title>
            <link>https://medium.com/@satishgoda/learning-mit-scratch-stage-global-variables-and-messages-71128f392b87?source=rss-becceb5b4e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/71128f392b87</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[kindergarten]]></category>
            <category><![CDATA[scratch-programming]]></category>
            <category><![CDATA[mit]]></category>
            <category><![CDATA[stem]]></category>
            <dc:creator><![CDATA[Satish Goda]]></dc:creator>
            <pubDate>Wed, 26 Jun 2019 04:34:36 GMT</pubDate>
            <atom:updated>2019-06-28T21:28:03.542Z</atom:updated>
            <content:encoded><![CDATA[<h3>Learning MIT Scratch : Stage Variables</h3><h3>About</h3><p>In MIT Scratch Programming language, variables created on a Stage are available to all the sprites.</p><p>To create a variable on a Stage</p><ol><li>Select the Stage</li><li>Navigate to the “Variables” blocks.</li><li>Click on “Make a Variable” button</li><li>Give a name to your variable.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hg2zVSP3pRbCFU_gCM8KHQ.png" /></figure><p>Using one Stage variable, the following interactive app was created using MIT Scratch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*q6FGywDdwtWUhFwohhmHNA.gif" /></figure><h3>Stage</h3><p><strong>Variables</strong></p><p>A variable called “<em>drawing_in_progress</em>” is created with a value of 0. This variable is set to 1 by the sprite that is being drawn.</p><p><strong>Blocks</strong></p><ol><li>When the flag is clicked we are going to erase all the Pen drawings</li><li>When the Stage is clicked and if no drawing is currently in progress (checked using the Stage variable “<em>drawing_in_progress</em>”), we broadcast a message called “<em>new position</em>”. The sprite is going to receive this and act accordingly: Move to the new position, set the Stage variable “<em>drawing_in_progress</em>” to 1 and draw the shape with its pen.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MP3JRC8xJxpXOFOD9wNEQg.png" /></figure><h3>Sprite</h3><p><strong>Blocks</strong></p><ol><li>Select the ‘Cat’ Sprite</li><li>Enable the stage global variable (“<em>drawing_in_progress”</em>) so that we can see its value on the canvas.</li><li>Setup the initialization blocks for the sprite (Initialization happens when the Flag is clicked)</li><li>When the sprite receives a “<em>new position</em>” message, it will move to the location of the mouse pointer, stop speaking and then draw a square shape with its pen (by sending itself a message “<em>draw square</em>”)</li><li>Blocks for drawing the square shape.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*frrtcLQa8WKvUCD_7ha97g.jpeg" /></figure><h3>Demo</h3><p>Check the following video see the application in action.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fme4NDqxMJD8%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dme4NDqxMJD8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fme4NDqxMJD8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/277e455ea7e703b1a2d365a0fffa4eed/href">https://medium.com/media/277e455ea7e703b1a2d365a0fffa4eed/href</a></iframe><h3>Related Articles</h3><p>You can also read my articles below that have examples using the technique covered in earlier sections.</p><p><a href="https://medium.com/@satishgoda/simple-app-development-using-mit-scratch-draw-shapes-with-color-ba31abb15266">Simple App Development using MIT Scratch : Draw Shapes with Color</a></p><h3>References</h3><p><a href="https://scratch.mit.edu/">https://scratch.mit.edu</a></p><ul><li><a href="https://techcrunch.com/2019/01/03/scratch-3-0-is-now-available/">Scratch 3.0 is now available</a></li><li><a href="https://en.wikipedia.org/wiki/Message_passing">Message passing - Wikipedia</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71128f392b87" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Programming using MIT Scratch For Kids — Pen Extension]]></title>
            <link>https://medium.com/@satishgoda/programming-using-mit-scratch-for-kids-pen-extension-ee5047c826e9?source=rss-becceb5b4e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee5047c826e9</guid>
            <category><![CDATA[mit]]></category>
            <category><![CDATA[kindergarten]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[scratch-programming]]></category>
            <category><![CDATA[stem]]></category>
            <dc:creator><![CDATA[Satish Goda]]></dc:creator>
            <pubDate>Tue, 25 Jun 2019 18:31:08 GMT</pubDate>
            <atom:updated>2019-06-26T00:44:44.308Z</atom:updated>
            <content:encoded><![CDATA[<h3>Programming using MIT Scratch For Kids — Pen Extension</h3><p>The Pen extension in MIT Scratch allows sprites to draw on the canvas. Using the various command blocks provided by the extension you can create artwork on the canvas.</p><p>Below, you can see the Pen extension in action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xsss51GujhemYgve6hrwfQ.gif" /><figcaption>Programming in Scratch : Demo of Pen Extension in Action</figcaption></figure><p>The following blocks are provided by Pen Extension</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*-A72zpuFIi5GYp7SdF2nzw.png" /></figure><p>You can read more about the Pen extension at <a href="https://en.scratch-wiki.info/wiki/Pen_Extension">https://en.scratch-wiki.info/wiki/Pen_Extension</a></p><p>Following is an advanced demo created using the Pen extension.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*s9jco0LoVbgtwSsGSsQbag.gif" /></figure><h3>References</h3><ul><li><a href="http://scratch.redware.com/scratch/overview">http://scratch.redware.com/scratch/overview</a></li><li><a href="https://github.com/LLK">https://github.com/LLK</a></li><li><a href="https://scratch.mit.edu/developers">https://scratch.mit.edu/developers</a></li><li><a href="http://scratchjr.org/">http://scratchjr.org</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee5047c826e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Programming using MIT Scratch For Kids — “Move Back and Forth”]]></title>
            <link>https://medium.com/@satishgoda/programming-using-mit-scratch-for-kids-move-back-and-forth-f6a9e52c12a0?source=rss-becceb5b4e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6a9e52c12a0</guid>
            <category><![CDATA[stem]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[scratch-programming]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[kindergarten]]></category>
            <dc:creator><![CDATA[Satish Goda]]></dc:creator>
            <pubDate>Mon, 24 Jun 2019 18:14:43 GMT</pubDate>
            <atom:updated>2019-07-02T06:08:13.707Z</atom:updated>
            <content:encoded><![CDATA[<h3>Programming using MIT Scratch For Kids — “Move Back and Forth”</h3><h3>About</h3><p>In this Scratch programming task, A Cat can be moved back and forth by clicking the red and green circles respectively.</p><p>The colored circles send messages to the cat and the Cat responds by moving appropriately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/479/1*7d-T-TV75KVzcJNZ6trFMg.gif" /></figure><h3>Commands for Back Button</h3><p>When the red colored circle is clicked, it will send a “move back” message out (broadcast). Anyone can catch this message and respond accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9SmxV_EEvn3OLEuMeX0ALg.png" /></figure><h3>Commands for Front Button</h3><p>When the green colored circle is clicked, it will send a “move front” message out (broadcast). Anyone can catch this message and respond accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WSOAoGNtUQbrt81wIMm_-w.png" /></figure><h3>Commands for Cat</h3><p>The Cat is interested in receiving the “move back” and “move front” messages.</p><ul><li>When the cat receives the “move back” message, it will move back by 10 steps.</li><li>When the cat receives the “move front” message, it will move front by10 steps.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w6i7Xmsg0P3l15zoLlfkng.png" /></figure><h3>Summary</h3><p>In this simple Scratch project you have seen the process of adding user -interaction to sprites and also the results of user-interaction by passing messages between sprites.</p><p>If you gained value from this article, please show it by clapping for this article and/or commenting on it.</p><p>Thank you,</p><blockquote>Satish Goda (satishgoda at live dot com)</blockquote><h3>References</h3><ul><li><a href="https://scratch.mit.edu/">https://scratch.mit.edu/</a></li><li><a href="https://www.media.mit.edu/projects/scratch-3-0/overview/">https://www.media.mit.edu/projects/scratch-3-0/overview/</a></li><li><a href="https://en.scratch-wiki.info/wiki/Scratch_3.0">https://en.scratch-wiki.info/wiki/Scratch_3.0</a></li><li><a href="http://www.utdallas.edu/~veerasam/scratch/">http://www.utdallas.edu/~veerasam/scratch/</a></li><li><a href="https://inventwithscratch.com/">https://inventwithscratch.com/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6a9e52c12a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>