Meditation on JavaScript’s SetTimeout(), Recursion, and Execution Context

JavaScript’s setTimout and setInterval functions are for scheduling future work. They provide a way to schedule either a single or recurring execution of a function. In this article, we’ll play around with some fun and interesting capabilities that can be had using setTimeout. To get going we’ll need a few examples in place. Here isContinue reading “Meditation on JavaScript’s SetTimeout(), Recursion, and Execution Context”

Making Parallax Animation Effects With JavaScript

The Term “Parallax” means a difference in the apparent position of an object viewed along two different lines of sight, and is measured by the angle of inclination between those two lines. The positional difference between objects creates a visual illusion that is specific to the position of the observer. ¬†A simple everyday example ofContinue reading “Making Parallax Animation Effects With JavaScript”