The Many Libraries of ADCIRC.io
As I’ve made my way through the first few months of development of ADCIRC.io, there is one thing that has become abundantly clear: there is a library for just about everything in Javascript. And not just libraries that are used in the code itself, but libraries that are used to help write the code itself. So I thought it might be appropriate at this stage in development, having written some 15,000-odd lines of code thus far, to take a quick step back and take a look at all of the code that I use but haven’t written.
The List
First, a list of all of the libraries. Well, two lists, one for libraries ADCIRC.io uses and one for libraries used to create ADCIRC.io. I’ll include a little blurb about each one in the following sections talking about what the library is and how it is used in ADCIRC.io.
Production Libraries
Development Libraries
Three.js
We’ll start off with the library that does most of the heavy lifting in ADCIRC.io, three.js. As the name implies, three.js is a lightweight 3D library that takes advantage of the <canvas> element in HTML5, which exposes WebGL functionality. Put more simply, it lets us do really cool 3D visualization, like the one seen below, within the browser by giving the browser access to your computer’s graphics card.

Leave a Comment