Last weekend, we enjoyed the snowshoes-guided tour of the Grottes du Glaciers de Zinal with our friends. This was my first time to be actually "inside" a glacier. A strange, oneness to be so close to this blue Giant.
Val d'Anniviers
Valais, CH
January 2010
Friday, January 29, 2010
Le Glacier de Zinal
Wednesday, January 20, 2010
Tuesday, January 19, 2010
Thursday, January 14, 2010
Yonghe Gong (Tibetan Lama Temple)
This place is a true sanctuary in the midst of the hustle and bustle in Beijing. The entire neighborhood is filled with the soothing smell of the burning incense being offered as prayers in all corners of the temple. Here's an empty chair for a temple guardian who decided to take a break.
Beijing, China
July 2009
Sunday, January 10, 2010
Saturday, January 9, 2010
Saturday, January 2, 2010
My Cloth Simulation
As a quick and fun programming exercise, I wrote this simple cloth simulator based on the mass-spring model. The cloth is a simple grid of 13x13 nodes, each node connected to its neighbors by three different types of springs (structural, shear, and flexion). The cloth is initially suspended in air, and each end gets detached by a programmed keystroke. The node position is determined by the influence of the internal spring forces, the gravity and the wind. And lastly, the simulation is based on the leap-frog numerical integration method, slightly a higher order of accuracy than the Euler.
There're many features that could be added to improve the system, like adding a few more user-interaction GUI controls for the spring constants and the integration timestep size, as well as improving the lighting and rendering aspects.
Over all, it was a fun and rewarding exercise which kept me occupied for a few days.
January 2010