While developing Soundbeam I had to create some functions that helped me draw the beam. More or less, I had to calculate the outline of a path and the control points of a bezier curve. Since this is something that would interest many developers, I decided to make the functions publicly available and wrote a small documentation on how to use them.

I have created a demo that makes crystal clear what these function actually produce. You can view it as a video here. To download the code, visit my github repo. A more detailed post can be found in my blog.

And download Soundbeam app, if you haven’t done so already..