In 2015 I created QuickShader… which just takes the boilerplate out of showing a shader in the browser. Here are a few examples:
Have a look on github: https://github.com/ZevanRosser/QuickShader
In 2015 I created QuickShader… which just takes the boilerplate out of showing a shader in the browser. Here are a few examples:
Have a look on github: https://github.com/ZevanRosser/QuickShader
Being able to draw smooth lines that connect arbitrary points is something that I find myself needing very frequently. This is a port of an old snippet that does just that. By averaging control points of a quadratic bezier curve we ensure that our resulting Bezier curves are always smooth.
See the Pen Bezier Skin by [...]
Awhile back I thought it would be interesting to add some quick fake lighting to a personal project of mine - that for lack of a better description is a windows management system.
Here is a screenshot of the windows management system with lighting turned on:
Here is a video of me using the system:
I whipped up [...]
For some reason I decided to port a snippet from AS3 to JS. Chose this one:
http://actionsnippet.com/?p=2969#comment-5674
…pretty much at random.
Here is the port in a pen:
See the Pen Closet Point on a Line by Zevan Rosser (@ZevanRosser) on CodePen.
This is actually a port of a port from this old thread:
http://www.gamedev.net/topic/444154-closest-point-on-a-line/