Categories
JavaScript Web development

Fun with canvas transforms

Making use of coordinate system transformations can make drawing on the html5 element canvas much easier. But sometimes it is confusing how transforms work. What is it that is actually transformed? Let’s clear that up and see how to use it.

Categories
Web development

SVG sprites transforms

Investigation if working with SVG sprites is practical. Especially in combination with transforms.

Categories
CSS Web development

Transforming a static element

When a CSS transform is applied to an element, that element’s position property is forced to relative. This side effect introduces quirky behaviour, when you depend on the position being static.