Category Archives: Programming

Verlet Integration: real-time cloth-like simulation

I’ve implemented a simple verlet-integration based 2D cloth simulation in Javascript here. This code is written in standard Javascript and uses the Three.js library for rendering through WebGL / Canvas through any modern browser. This was done as a quick debugging project … Continue reading

Posted in Programming | Leave a comment

A light discussion on programming languages

Programming languages are to programmers what saws are to carpenters. It is one of our most important tools among many we need, but there are still many different types of saws needed that vary enormously across different applications. This analogy fits perfectly … Continue reading

Posted in Programming | Leave a comment

Mini Web Server

Ever wanted to write a mini web server? Maybe you need an offline web GUI, or just wanted to see how a server works at the bare basics? Today I wrote a 400-line web server application that does the bare … Continue reading

Posted in Programming | 4 Comments