Everybody loves the vintage game Pong, right? We sure do. What's more fun? Building it yourself!
That's why we decided to create one with SVG.js - to highlight some aspects of our library. It might seem like a complex idea for a small tutorial, but as you'll see, it's simpler than it sounds. Let's dive into it!
Here's the finished product:
SVG.js is available through Github, npm, bower or CDN.js. There are plenty of options for getting your hands on SVG.js, so use whatever you are most comfortable with.
Start out by creating a new HTML document and include the library. Create an empty
... read the whole story at css-tricks.com.
<div> to serve as a wrapper for the SVG document, and give it an