<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Grace</title>
    <description>The latest articles on Forem by Grace (@yaycake).</description>
    <link>https://forem.com/yaycake</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F285901%2Ffbed0697-9e3d-4236-995f-da37840481c6.jpeg</url>
      <title>Forem: Grace</title>
      <link>https://forem.com/yaycake</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/yaycake"/>
    <language>en</language>
    <item>
      <title>Crashing Into Creative Coding</title>
      <dc:creator>Grace</dc:creator>
      <pubDate>Tue, 13 Oct 2020 06:45:31 +0000</pubDate>
      <link>https://forem.com/yaycake/crashing-into-creative-coding-5he9</link>
      <guid>https://forem.com/yaycake/crashing-into-creative-coding-5he9</guid>
      <description>&lt;p&gt;When a friend of mine approached me to make an interactive audio website for her album project, I was terrified of pursuing this creative project I could easily envision the concept in my mind, but hardly knew how to execute. &lt;/p&gt;

&lt;p&gt;In climbing/bouldering, we call each climbing route a ‘problem’; as you climb more regularly and understand your own strengths and limitations, you’re able to look at a problem and see where the most challenging part of it will be for you-- the crux of the problem. Climbers will break the project into sequences measured either by momentum, personal strengths, cadences, and where they think their crux is. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UHdaf2sP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/91y4xff6bukloggrq8bh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UHdaf2sP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/91y4xff6bukloggrq8bh.png" alt="grace_bouldering" title="Me, Bouldering, embracing/lounging on my crux"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This post outlines how I approached this project, the vision, and broke down the challenge so I could work through taking apart a creative concept into simpler, manageable logistics. I write this in hopes it helps or encourages someone else to pursue new and unfamiliar ideas with a little more confidence and excitement, clearing clouds of doubt so that they may focus on the wonderful and infinite possibilities in the art of creation.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Idea
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fro6LrJ0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://muse.hku.hk/wp-content/uploads/2017/10/Lim-Giong.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fro6LrJ0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://muse.hku.hk/wp-content/uploads/2017/10/Lim-Giong.jpg" alt="Lin Qiang" title="Lin Qiang / 林強"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A is producing an album for Lin Qiang( Lim Giong), a famous Taiwanese pop star turned experimental musician. A is a forward-thinking millennial, and decides the album release needs a type of digital presence to signal boost the experience and concept of the album into the 21st century world; something like Holodec &amp;amp; Bureau Cool's very cool image-melting AI-powered website &lt;a href="http://www.holodec.world"&gt;Holodec.world&lt;/a&gt; but less 'extra'; something that mirrored the physical album cover design but played with the soundscape of each track.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fJm_XFcT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/54ch5qjkpyv5tq7while.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fJm_XFcT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/54ch5qjkpyv5tq7while.png" alt="Screen Shot 2020-10-12 at 12.19.06 PM" title="Holodec.world by Bureau Cool"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;We collaborate and decide on a type of audio visualization: &lt;strong&gt;wouldn't it be cool if the audio of each track was visualized through the ripple of each track's image?&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Research
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step One | Identify Your General/Current Unknowns&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once I've gotten the basic non-interactive functions features out of the way using &lt;a href="https://www.gatsbyjs.com/%20"&gt;Gatsby.js&lt;/a&gt; I'm faced with the following unknowns:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;How do I access data from each track?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;How do I begin learning what I need to know about animating without drowning in all the things I don't know (WebGL and learning C#)?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;How do I adapt these solutions to React hooks?&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dZnFoveq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.titogoldstein.com/wp-content/uploads/2014/06/leo-cullum-i-ll-be-happy-to-give-you-innovative-thinking-what-are-the-guidelines-new-yorker-cartoon.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dZnFoveq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.titogoldstein.com/wp-content/uploads/2014/06/leo-cullum-i-ll-be-happy-to-give-you-innovative-thinking-what-are-the-guidelines-new-yorker-cartoon.jpg" alt="Innovative Thinking comic"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step Two | Give Myself General Guidelines as I Begin Research&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Because I feel like there's so much I don't know, I try and give myself guidelines. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Find examples/similar concepts and see what tools they use&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Find and follow creative coders and see what tools they use&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Focus on focusing (Is this something worth reviewing, or do I feel like I'm getting too off track?)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--itmIFhqi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.prepary.com/wp-content/uploads/2013/12/Levin-04.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--itmIFhqi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.prepary.com/wp-content/uploads/2013/12/Levin-04.jpg" alt="Answers comic" title="we're running a bit short of time tonight, so let's skip the questions and go right to the answers"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step Three | Break down Questions Into Smaller Specifics&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;As you conduct your research, be sure to go back to those initial questions as a way to map out your progress. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;How do I access data from each track? &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API"&gt;Web audio API&lt;/a&gt; allows you to access audio data, and read the &lt;a href="https://en.wikipedia.org/wiki/Sampling_%28signal_processing%29"&gt;sampling&lt;/a&gt; of the sound waves in sequences so you can &lt;em&gt;do&lt;/em&gt; something with it. You can adjust the rate at which you sample your audio data through AudioBuffers.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;"Audio visualizations are achieved by accessing an output of audio data over time, usually gain or frequency data... the Web Audio API has an &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode"&gt;AnalyzerNode&lt;/a&gt; that doesn't alter" but instead reads the audio signal passing through it... "can be passed to a visualization technology such as "&lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Basic_concepts_behind_Web_Audio_API"&gt;*&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;To port available vanilla javascript solutions into my React hooks project, I'll have to see which variables need to change, be constant, or be available to pass between audio and animation functions&lt;/em&gt; &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;How do I begin learning what I need to know about animating without drowning in all the things I don't know (WebGL and learning C#)?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;a href="https://www.curtainsjs.com/"&gt;CurtainsJS&lt;/a&gt; provides a great, narrower scope of what I need in terms of animating images on a canvas element&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Fundamentals of WebGL/ Curtains include understanding canvases, planes, textures, vertex and shader code&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;I will probably need to take audio data passed through an AnalyzerNode and push it into an animation effect per audio track&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;How do I adapt available vanilla javascript solutions into React hooks? &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;There are multiple ways to store shader and vertex code data-- inline and in variables&lt;/em&gt; &lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Audio contexts don't need to change on rerenders/track changes, but their sources do.&lt;/em&gt; &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--A4dY639m--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://media.newyorker.com/cartoons/5ceec71f0efb4e0af6330c19/master/w_1600%252Cc_limit/190610_a22224.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A4dY639m--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://media.newyorker.com/cartoons/5ceec71f0efb4e0af6330c19/master/w_1600%252Cc_limit/190610_a22224.jpg" alt="Boiling down"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Don't reinvent the wheel, find a wheel and use it
&lt;/h3&gt;

&lt;p&gt;Let's go back to my guidelines for research to organize and orient myself. I can create a tangible, logical workspace for me to visualize a kind of execution and what it takes to get there: which tools I'll look into learning and using, and which I can ignore.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UQ_uDgRF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.pinimg.com/originals/fe/b8/5f/feb85fa043d1977ef9cb3651c03aea11.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UQ_uDgRF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.pinimg.com/originals/fe/b8/5f/feb85fa043d1977ef9cb3651c03aea11.jpg" alt="Borrow comic"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step Four | Compile My Resources &amp;amp; Workspace&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Find examples/similar concepts and see which tools they use (part of this is not only figuring out how to execute, but honing your vision: discover standards of interactivity, improvements, or clarifications on how you'd like the animation to perform and interact with viewers).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;a href="https://codepen.io/collection/AKyKPy"&gt;CodePen: Sound Visualization&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt; &lt;em&gt;&lt;a href="https://css-tricks.com/animate-images-and-videos-with-curtains-js/"&gt;Animate Images and Videos With CurtainsJs (CSS Tricks)&lt;/a&gt;&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;&lt;a href="http://info.thinkfun.com/stem-education/visualizing-music-through-code"&gt;Visualizing Music Through Code&lt;/a&gt;&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;Find and follow creative coders and see what tools they use&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://zach.li/"&gt;Zach Lieberman&lt;/a&gt; (OpenProcessing)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.cassie.codes/"&gt;Cassie Evans&lt;/a&gt; ( CSS, SVGs)&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.bureau.cool"&gt;Bureau Cool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.martin-laxenaire.fr/"&gt;Martin Laxenaire&lt;/a&gt; (CurtainsJs)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://greensock.com/"&gt;Greensock&lt;/a&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Could potentially be something I use, but so general/broad in use cases and animation effects/elements&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.threejs.org"&gt;Three.js&lt;/a&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Originally what I thought I'd end up using, but very steep learning curve&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.openprocessing.org/"&gt;OpenProcessing&lt;/a&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Cool generative art framework, but not quite the fit for my use case/vision&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://get.webgl.org/"&gt;WebGL&lt;/a&gt; 

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Like ThreeJS, my assumption was I'd use something WebGL, but the learning curve is very steep&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;Focus on Focusing: terms, concepts, and tools I've found that may or may not help me; I have to ask 'is this something worth reviewing, or do I feel like I'm getting too off track?'&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On music/sound: &lt;a href="https://en.wikipedia.org/wiki/Fourier_transform"&gt;Fourier Transform&lt;/a&gt;, &lt;a href="https://en.wikipedia.org/wiki/Frequency"&gt;Frequency&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://webglfundamentals.org/"&gt;WebGL Fundamentals&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pBYPBkyM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.pinimg.com/originals/b7/5f/cf/b75fcfec006b6a32890d985b1fdc2801.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pBYPBkyM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.pinimg.com/originals/b7/5f/cf/b75fcfec006b6a32890d985b1fdc2801.png" alt="P.Byrnes Comic" title="We Need A Better Piling System"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step Five | Focus Your Resources&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Examples I'd like to replicate or try (or use pieces of):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/mdn/voice-change-o-matic"&gt;Voice-Change-O-Matic&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;A Github repository for a project that distorts your voice and visualizes the effects of audio distortion&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://css-tricks.com/animate-images-and-videos-with-curtains-js/"&gt;CSS Tricks: Animate Images and Videos with CurtainsJs&lt;/a&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;I keep on coming back to this article-- I like the effects and execution, and it seems to offer a good balance of learning curve + narrower scope of effects&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.curtainsjs.com/examples/simple-plane/index.html"&gt;CurtainsJS Example: A Simple Plane&lt;/a&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://medium.com/@gg_gina/how-to-music-visualizer-web-audio-api-aa007f4ea525"&gt;How To: Music Visualizer(Web Audio API) byGina Lee&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Helpful References:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.curtainsjs.com/"&gt;CurtainsJS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Visualizations_with_Web_Audio_API"&gt;Visualizations with Web Audio API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Basic_concepts_behind_Web_Audio_API"&gt;Basic Concepts Behind Web Audio API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API"&gt;Web Audio API&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--btmsLGy5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://qph.fs.quoracdn.net/main-qimg-97a7923ff625756cc0d7667adb21f364" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--btmsLGy5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://qph.fs.quoracdn.net/main-qimg-97a7923ff625756cc0d7667adb21f364" alt="focus comic"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Experimentation
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step Six | Create a Testing Environment&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A safe space to experiment, make mistakes, and isolate your problem-solving makes for easier troubleshooting. You don't want outlying variables to block your learning and understanding how different code or frameworks work. &lt;/p&gt;

&lt;p&gt;I created a /test page for my project; while most of the static code functionalities (i.e. play list, switching images and tracks when clicking an artist) was up and working on the index page, I didn't want to entangle myself in that existing code + logic.&lt;/p&gt;

&lt;p&gt;If you don't want to add things to your project files, go ahead and try in-browser sandboxes like &lt;a href="https://codepen.io/"&gt;Codepen&lt;/a&gt;, &lt;a href="https://repl.it/"&gt;Repl.it&lt;/a&gt;, or &lt;a href="https://glitch.com/"&gt;Glitch&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LrK2-_qB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.pinimg.com/originals/07/7c/c5/077cc513eb7ed7f9e699721b782fdf27.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LrK2-_qB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.pinimg.com/originals/07/7c/c5/077cc513eb7ed7f9e699721b782fdf27.jpg" alt="Thought Experiment Comic" title="His is a thought experiment"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step Seven | Pre-Map your Progress&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Understanding the pieces of code/frameworks I need to learn and comprehend, it's unlikely I'll solve it all at once. Referencing those general initial questions I formulated in Step One, I'll create general milestones and goal markers to measure the progress of my experiments (and to keep me on track). &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Figure out how to use Audio Web API to play/pause a track + extract any type of data from a track/audio element&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run the CurtainsJS simple plane project on the test page&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Access the audio data output from passing the audio track through the AudioAnalyzer; find what needs to be passed through to the canvas. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once I've familiarized myself and completed these tasks: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Successfully connect audio data and animation: have the animation respond to the track as it plays&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Learn and understand how to customize/ tweak the animation effect &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And the last step of experimentation, once I've completed all of the above: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Integrate the audio + animation effects into the rest of the code&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If any of these steps become more overwhelming/complicated than you can bear or focus on, I suggest breaking things down even further. This may or may not happen as you continue experimenting!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HGYMotWG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.pinimg.com/originals/2c/aa/69/2caa6937025ee89d98ed25b5d4fa6710.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HGYMotWG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.pinimg.com/originals/2c/aa/69/2caa6937025ee89d98ed25b5d4fa6710.jpg" alt="Map"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Execution
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;And there you have it: a roadmap to execution.&lt;/strong&gt; You started from nothing, and now you have a solid plan to attempt what you've never attempted before. &lt;/p&gt;

&lt;p&gt;The road to success will be a bumpy rollercoaster of emotions: there will be mighty successes followed by a squall of bugs and what feels like failure: but just remember that until you decisively give up, &lt;strong&gt;you're just not done yet.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Light for you in dark places when all other lights go out
&lt;/h2&gt;

&lt;p&gt;Looking back, here are a few things that have helped me through challenges: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When you hit a wall, deep read the code (and re-read it again): 

&lt;ul&gt;
&lt;li&gt;If you don't understand a detail, Google and read up. Allow yourself to get lost in a concept for a little bit-- with a time limit. &lt;/li&gt;
&lt;li&gt;For code you've copied, make sure what you copy is relevant to your project. &lt;/li&gt;
&lt;li&gt;What does each framework method aim to do? What does it return? How is it called later, and why? 

&lt;ul&gt;
&lt;li&gt;A good ol' console.log never hurts anybody
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lzQ8Tn86--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://tutorialzine.com/media/2018/04/the-art-of-programming.jpg" alt="Code comic"&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Compare examples, solutions, and the different ways to skin a cat

&lt;ul&gt;
&lt;li&gt;Specific to my project, I had to sort between different ways to load images onto a plane, or store shader code. What works for the environment/code you're using? Which is a simpler solution? &lt;/li&gt;
&lt;li&gt;Keep in mind different solutions and examples from different coders are influenced by their own strengths, weaknesses, and backgrounds. Play to your strengths, reuse your experiences, and freak what you got. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Take breaks!!!

&lt;ul&gt;
&lt;li&gt;Being able to step away and absorb new learnings/bugs/mistakes and concepts helps digest and organize your mental workspace (and re-up your enthusiasm). &lt;/li&gt;
&lt;li&gt;Talk to someone about it; rubber ducky your challenges out loud. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yodyGegx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.pinimg.com/originals/dd/e7/a1/dde7a116528dd9de8b6b5ea9cf032031.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yodyGegx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.pinimg.com/originals/dd/e7/a1/dde7a116528dd9de8b6b5ea9cf032031.jpg" alt="new yorker comic: aliens" title="First, I'd like to thank everyone who believed in me"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;This is a post on the de-abstraction of my process. I'll be updating this post with links to a more technical article on how I executed these steps with code. &lt;/p&gt;

&lt;p&gt;In the meantime, check out my completed project at &lt;a href="http://www.apureperson.com"&gt;A Pure Person&lt;/a&gt;. &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>tutorial</category>
      <category>productivity</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
