Of code and color
Musings on software and front-end development
Graph search in JavaScript: DFS, BFS and A-star
I recently played through Untrusted, a JavaScript game that encourages you to add code to its levels, in order to progress. It has been quite fun, especially level 13, which required you to write AI for a bot in the game. Without spoiling the fun for you, this post explores...
Cuttle: Determine color transition functions
Ever wondered which color transition function to use to get from one color to another? Ever wanted to create a site without hard-coding all similar colors?
Downloading CSS resources via wget
Imagine that you need to borrow a hosted CSS file, along with its resources. You paste the CSS contents in a text editor, and start searching for url() patterns within it. After seeing 100+ matches, you bless the name of the CSS sprite-oblivious person who built it.
Learning Vim interactively
Quite a bit of people find the default vimtutor too static for their learning style. Here's a list of sites that let you learn Vim in a more interactive way.
js13kgames 2013 post-mortem
Have you ever wondered how it feels to write a HTML5 game? Мy wife and I did, and we created the game Life of Blobb for the js13kgames competition. The participation has proved very educational, especially because of the constraints: