Modeling Physics in JavaScript: Introduction

Physics in Javascript Table of Contents: Gravity and Drag Spring-Mass-Damper (Car Suspension, Part 1) Rigid Bodies, Part 1 (Pendulum Clock) Another post that starts with “I love”: I love physics. I really do. Once upon a time I was a…

Similar

How JavaScript linters cause bugs

I was doing code review for a coworker yesterday, and it soon became obvious that he used a linter and that the linter gave him a bright idea: use strict comparisons. Using strict comparisons is a great rule to follow. === instead of ==, !== instead of !=... (more…)

Read more »

Sorting Arrays in JavaScript

This is the second article in The JavaScript Snippet Series. In the previous episode we discussed three methods of getting unique values from JavaScript. In this article, we will discuss various ways of sorting arrays in JavaScript. Sorting is a com... (more…)

Read more »