<?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 Syam Sundar K on Medium]]></title>
        <description><![CDATA[Stories by Syam Sundar K on Medium]]></description>
        <link>https://medium.com/@bugscripter?source=rss-95650f4b4c13------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XnGmeNh3_u_CmS-u6ZX6TA.jpeg</url>
            <title>Stories by Syam Sundar K on Medium</title>
            <link>https://medium.com/@bugscripter?source=rss-95650f4b4c13------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 12:09:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bugscripter/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[Using Android Native Animators / Interpolators on 3D Objects]]></title>
            <link>https://tech.furlenco.com/using-android-native-animators-interpolators-on-3d-objects-ed5e755b8d20?source=rss-95650f4b4c13------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed5e755b8d20</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[arcore]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[ar]]></category>
            <dc:creator><![CDATA[Syam Sundar K]]></dc:creator>
            <pubDate>Tue, 14 Apr 2020 10:29:43 GMT</pubDate>
            <atom:updated>2022-07-27T12:37:43.139Z</atom:updated>
            <content:encoded><![CDATA[<h3>Effectively pitching a complex product to the customers — the bounce story</h3><blockquote>The challenge</blockquote><p>We at <a href="https://www.furlenco.com/">Furlenco</a> had a challenge in explaining the uniqueness of one of our flagship products, <a href="https://www.furlenco.com/package-groups/bounce-brown-34">Bounce</a>. The peculiarity of Bounce is that it can be arranged in different forms/orientations. It was hard for us to present it to the customer just by using static images.</p><p>Some parts of this article can get really technically. I’ve tried my best to keep it in layman terms but a little bit of knowledge on geometry can come in handy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CYlJfig1qUXY00MtUax6OQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*WSiqkv8psHjpLQiJo8Nubg.gif" /><figcaption>Bounce Animation</figcaption></figure><blockquote>The Tech Call</blockquote><p>We decided to solve this problem using Sceneform SDK which ultimately relays on ARCore (Read more <a href="https://developers.google.com/ar/develop/java/sceneform">here</a>). There are 2 ways of doing this,</p><p><strong><em>Option I</em></strong> — Importing an <strong>Animated fbx file</strong> (Got from 3D Modelling artist) and let it take care of transitioning between orientations. This had a serious problem — Mutation between states/orientations can’t be controlled by the user. It just loops through all possible orientations without any control — like playing a video in a loop.</p><p><strong><em>Option II</em></strong>— Using <strong>Android Native Animators</strong> to achieve this. The entire animation loop can be handled using user-triggered events such as swipe, drag, etc. Perfect.!</p><p>Therefore, <strong><em>Option II</em></strong> Check.!</p><blockquote>The Resources</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LIdq26akFiJEZ7Qb1xPPig.jpeg" /><figcaption>Input Resources</figcaption></figure><p>We had sceneform generated files such as .sfb and .sfa only for 2 assets, i.e.</p><ul><li><em>Main Cushion</em></li><li><em>Side Cushion</em>.</li></ul><p>The required structures were cooked by duplicating these primary resources and augmenting into the structures we want.</p><blockquote>The Code Prerequisite</blockquote><p>Here are some stuff you need to know before moving to Code:</p><ul><li><strong>Vector3</strong> — Takes in x, y, z coordinates that represents a point in the virtual space.</li></ul><pre>Vector3(float x, float y, float z)</pre><ul><li><strong>Quaternion</strong> — Handles Rotation between two Cartesian coordinates provided in the form of Vector3.</li></ul><pre>Quaternion.axisAngle(Vector3(float x, float y, float z), degree)</pre><ul><li><strong>ObjectAnimator </strong>— Native Android Object Animators. Read more <a href="https://developer.android.com/reference/android/animation/ObjectAnimator">here</a>.</li><li><strong>Interpolator</strong> — Native Android Interpolators. Read more <a href="https://developer.android.com/reference/android/view/animation/Interpolator">here</a>.</li><li><strong>Evaluators</strong> — Evaluates if the performed Transformation Math is valid. These Evaluators are specific to scene form. — Types: <em>QuaternionEvaluator</em>, <em>Vector3Evaluator</em>.</li></ul><blockquote>The Code</blockquote><p>The code mainly involves a bit of 3D Math. Let’s break it down. Unlike 2D canvas that we are used to on Android, 3D follows relative coordinate spacing .ie., there is no world coordinates. The first object that you place is primitive and the remaining are placed relative to that. Here are some attempts that went wrong when we started experimenting:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gXgkv9w9sx994aDTbIzCiQ.jpeg" /><figcaption>Main Node Position</figcaption></figure><p>As you can infer, In <strong><em>Case(i)</em></strong><em>:</em> Making the Top-Left cushion as the primitive renderable and placing remaining renderable relative to it. This was a bad idea because, all the interactions done to transform the asset such as rotation, scaling and translation were with respect to the Top-Left cushion and not with respect to the entire augmented asset that consists of 4 cushions. <strong><em>Case(ii)</em></strong><em>: </em>Make a Transformable Node that isn’t associated with any renderable that stays in the center of the constructed asset and placing all renderable relative to it. Now all transformations happen with respect to the center of the asset. Perfect.!</p><pre>val mainNode = TransformableNode(arFragment?.<em>transformationSystem</em>)</pre><p>Explaining the code in entirety is quite complex, so let me explain focusing on one anim-set, you can extend this ideology to other anim-sets as well.</p><p><strong>Create Renderables:</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c803ccbbab7a636bcc66ae9a0f04fb62/href">https://medium.com/media/c803ccbbab7a636bcc66ae9a0f04fb62/href</a></iframe><p>This converts generated <em>.sfb file </em>in raw into Model Renderable that can be associated with a Transformable Node.</p><p><strong>Translation Animation:</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/86d71e2bb4f46acc3af32f93b9a3f176/href">https://medium.com/media/86d71e2bb4f46acc3af32f93b9a3f176/href</a></iframe><p>Here,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/286/1*EEQrpaZIybHp36tRSTcuwg.png" /></figure><ul><li><strong>ObjectAnimator</strong> is set with 2 Vector3 s — representing the start and end position. Notice <strong><em>mainLocalPosZ + 1.0f</em></strong> — translation happens along Z-axis for sideCushion, which is intended.</li><li><strong>Target</strong> is set to the intended Model Renderable. sideCushion renderable in this case.</li><li><strong>PropertyName</strong> and <strong>Evaluators</strong> are set to localPosition and <em>Vector3Evaluator() </em>respectively. Helps in identifying and Evaluating the performed Transformation.</li></ul><p><strong>Rotational Animation:</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e741f2fb84a34c13fe34e3876db57e3f/href">https://medium.com/media/e741f2fb84a34c13fe34e3876db57e3f/href</a></iframe><p>Here,</p><ul><li><strong>ObjectAnimator</strong> is set with 2 Quaternions which represent rotational start and end positions. Inputs to Quaternion.axisAngle() is a Vector3 and a Degree— representing the axis of rotation and Degree to which rotation happens.</li></ul><blockquote>Why do we use `<em>Quaternion.axisAngle()` instead of just giving Quaternion as Input— It turns out Calculating Quaternions manually is a hectic task — involves a lot a trigonomentry. Thus, we use `axisAngle` which handles it for us — giving out the desired Quaternion.</em></blockquote><ul><li><strong>Target</strong> is set to the intended Model Renderable. mainCushionrenderable in this case.</li><li><strong>PropertyName</strong> and <strong>Evaluators</strong> are set to localRotation and QuaternionEvaluator()<em> </em>respectively. Helps in identifying and Evaluating the performed Transformation.</li></ul><p>Hope this helps if you’re planning to work with 3D Animations on Android. Initially, I had a hard time figuring out the exact axis coordinates, you too will. But trust me it becomes easier with time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed5e755b8d20" width="1" height="1" alt=""><hr><p><a href="https://tech.furlenco.com/using-android-native-animators-interpolators-on-3d-objects-ed5e755b8d20">Using Android Native Animators / Interpolators on 3D Objects</a> was originally published in <a href="https://tech.furlenco.com/">Furlenco — Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to get Started with Open Source.!?]]></title>
            <link>https://medium.com/@bugscripter/how-to-get-started-with-open-source-fc45e2257e0?source=rss-95650f4b4c13------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc45e2257e0</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Syam Sundar K]]></dc:creator>
            <pubDate>Sat, 09 Jun 2018 15:29:08 GMT</pubDate>
            <atom:updated>2018-06-11T17:05:52.203Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*VQhduCD4tB5GaUNkW95aBg.png" /></figure><p>So you’ve been a developer for so long, doing all the stuffs in your local machine and gazing your work by yourself. Well, It’s time to make other developers gaze your work. Firstly, if you are familiar with Open Source and if you are aware of the ins’ and outs’ of Github this is not for you. This is mainly for developers who are about to make their entry into open source.</p><h4><strong>Learn to use Git and Github</strong></h4><p>There are a number of resources online that can help you learn git easily and quickly. Knowledge on these is quite essential for contributing to open source. Make most of the project that you do available on Github so that you can showcase your skills.</p><blockquote><strong>Cheat Sheet :</strong> <a href="https://services.github.com/on-demand/downloads/github-git-cheat-sheet.pdf">https://services.github.com/on-demand/downloads/github-git-cheat-sheet.pdf</a></blockquote><h4>Learn to setup projects</h4><p>The most important and the first part of getting to contribute to an open source project is to set up the project that big organisations run onto your local system. Most of the time <strong>README.md</strong> or <strong>Wiki</strong> in that repo may come in handy. If you come across difficulties in setting up the project, ask for help from that community of people in that organisation.</p><h4>Be wise in choosing the Project to Contribute</h4><p>For a single organisation there may be a number of repos of different genre. Say for an instance, a product of that organisation may have an android app, a progress web app and/or an iOS app. Me being an Android Developer will go for contributing to the Android part of the product because that is where I can show my skills off.</p><blockquote>To be precise, choose a repository that suits your skill set.</blockquote><p>I’m not saying if you are an android developer you shouldn’t contribute for web apps or iOS or apps of any other genre. I’m just saying go for where you can shine.</p><h4>Start Small</h4><p>Okay, now it’s time to code and actually contribute to a project, where shall I start.!? Well, first start by raising issues, to raise issues you should actually use the product and find fault with it, it’s easy right. Yeah, find fault with that product and raise it as an issue.</p><blockquote>Remember: There may be more than hundreds of open issue in your project repo but make sure the issue that you raise is not raised by any one else before.</blockquote><p>If you are confident that you can solve an existing open issue just fork the repo and commit on the changes on the forked repo and click on <strong>Make Pull Request </strong>button and BTW, while describing your pull request make sure to specify the <strong><em>#issue_number </em></strong>this will specify the issue that this PR fixes.</p><h4>Don’t be afraid</h4><p>Most of the people I see have skills to contribute to Open Source aren’t because they think</p><blockquote>Oh, this is a big project this has 1000+ commits, I’m no way near it. This project contains contributors who are geniuses who’ll mock me on my PRs.! so, I’m not gonna do it.</blockquote><p>Actually, People who are geniuses don’t mock others In fact, they appreciate others contribution, they always give hands for the budding developers. So, stop thinking and go do it.!</p><blockquote>Remember : Every master was once a beginner</blockquote><h4>Don’t get Disappointed</h4><p>If your PR get any <strong>changes </strong>or if your work is reviewed and <strong>closed directly</strong> by giving some comments don’t get disappointed. Changes are only to make the code much more consistent and optimised before merging into the main repo — nothing bad about it. If your PR is closed, read the comments given before closing the PR — chances are those changes may not me needed at this time or those features may be preserved for future releases.</p><blockquote>Remember : First step is always the toughest, if you’ve crossed it, the rest is dust.</blockquote><h4>Be Humble</h4><p>You may know a lot of things but be humble to developers who sought help from you. Be polite while commenting on a PR or on an issue. Being polite shall invite them to contribute more and more. So, it’s a win win situation for both the contributor and to the community.</p><blockquote>No matter how much you learn there is always something to learn. So, be humble</blockquote><p>Be open to take in others suggestion as well. Listening to others will only makes you stronger.</p><h4>Learn to Learn</h4><p>Doing changes in the code and giving out PRs from the concepts you know is good but always learn something new in every PR that you give out — this will increase your self-confidence and this is a strong point to show that you’re striving to improve yourself.</p><blockquote>If it doesn’t feel challenging to you then you are still in your comfort zone.</blockquote><p>Try to push yourself out of it.</p><h3>Voila,</h3><p>If you follow this you’ll be a successful open-source contributor. I’m not saying strictly follow this. Breaking the rules is good, so go for it. I’m just a developer speaking out my views and thoughts through my experience. So, now say,</p><blockquote>It’s a Developer’s life for me, savvy.!? ✌🏻</blockquote><h4>More where this came from</h4><p>This story is published in <a href="http://blog.usejournal.com/">Noteworthy</a>, where thousands come every day to learn about the people &amp; ideas shaping the products we love.</p><p>Follow our publication to see more stories featured by the <a href="https://usejournal.com/?/utm_source=usejournal.com&amp;utm_medium=blog&amp;utm_campaign=guest_post">Journal</a> team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc45e2257e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>