3 Feb 2011

Illustrator: Hagakure wallpaper

Hagakure by Darian Cabot

Here’s a Hagakure wallpaper I made after watching Ghost Dog (excellent movie). I created the kamon symbol in Illustrator and put the wallpaper together in Photoshop. This is the kamon featured on some publications of the Hagakure (a kamon is a Japanese family symbol, like a coat of arms) and on the cover of the […]

2 Feb 2011

JavaScript: Useful number formatting functions

Source code

Recently I’ve been developing a lot of reporting applications in JavaScript and have collected a few helper functions that I use regularly for number formatting. Here’s a look at each function and how you can use it in your own projects. Rounding a number to a defined decimal precision Input: 1234.567 Output: 1234.6 (to one […]