Alvin Wan

  PhD in artificial intelligence at UC Berkeley, focusing on small neural networks in perception for autonomous vehicles. Big fan of cheesecake, corgis, and Disneyland.

   



5 Stories by Alvin Wan

How to use scroll-linked animations the right way

When it comes to scroll-linked animations, here are two takeaway tips: use Javascript observer patterns and CSS where possible.
1 8 min read

How JavaScript works: Optimizing for parsing efficiency

To write JavaScript more efficiently, consider deferring parsing to worker threads or avoiding parsing entirely by maximizing the cache.
0 5 min read

How JavaScript works: Optimizing the V8 compiler for efficiency

Front-end devs can use Javascript optimization methods to reduce deoptimization and avoid unoptimizable megamorphic functions.
0 7 min read

When to use HTML5’s canvas

The HTML5 canvas has the potential to become a staple of the web, enjoying ubiquitous browser and platform support in addition to widespread webpage...
1 7 min read

The noob’s guide to 3D transforms with CSS

Most websites and interfaces are constrained to two dimensions, at most mimicking 3D-esque effects. Take your most common day-to-day interfaces: social media, mobile device...
3 7 min read