A PHP port of liquidmetal.js