Creating an Image Collage
This post will take a look at how to create a randomized collage of images, including some of the more complicated aspects of the overall algorithm. This script will handle the positioning, sizing and...
View ArticleUsing Hooks with Git
Commit hooks within Git can be incredibly useful for automatically incorporating third-party tools into the pre and post commit process. Hooks are written in shell script (BASH) and can therefore...
View ArticleCSS Hairline Arrows
At some point, most developers have needed to implement some sort of arrow into a design, whether it is to navigate through content or to act as a simple pointer. Whilst these arrows are relatively...
View ArticleCustom Event Delegator
This post looks at a custom event handler that I wrote using vanilla JS for a project a few weeks ago. The project could not use any additional plugins such as jQuery, as the overheads had to be...
View ArticleScrolling Progress Bar
This script looks at creating an animated progress bar that truly reflects the current scroll position on the web page. A seemingly simplistic feature that can be difficult to get right. A while ago, I...
View ArticleCapturing Scroll
Quite often (ok, let’s say daily), I find myself browsing online award sites like Awwwards and CSS Design Awards for inspiration and coding ideas; typically, most of the nominated sites are quite...
View ArticleInternationalization in Ruby on Rails
One of the implied goals of any application, is to connect with and be valued by its target demographic(s). Typically, demographics are targeted by age and other contributing factors that are usually...
View Article