Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

An annoying SVG animation bug in Chrome

· 550 words · Viewed ~842 times


Logo for the Chromium browser.

Writing web standards is hard. You have to write a formal specification which is useful for machines, humans, and web developers. I recently stumbled across what I think is a little bug which might be caused by a misreading of the SVG Animation specification. Here you should see two overlapping circles gradually appear: If you're on Chrome, you…

Getting lots of BIMI images using Python

· 650 words · Viewed ~230 times


Glowing computer text showing dot com dot info etc.

I've written before about the moribund BIMI specification. It's a way for brands to include a trusted logo when they send emails. It isn't much used and, apparently, is riddled with security issues. I thought it might be fun to grab all the BIMI images from the most popular websites, so I can potentially use them in my SuperTinyIcons project. BIMI images are SVGs. Links to a site's BIMI are…

Responsible Disclosure: Content Injection flaw in Gett's Website

· 450 words · Viewed ~240 times


A basic form asking for users' credit card details.

Bit of a boring write-up, but here we go. Taxi app Gett had a content injection flaw in its search function. By searching for an HTML string, it was possible for an attacker to add links or images to a page. It was really hard to contact them - but the threat of media attention sprung them into action. For example, searching for a specially crafted string meant that an arbitrary SVG could be…

Minimum Viable Tweet to Semantic SVG

· 3 comments · 350 words · Viewed ~302 times


The Twitter logo.

One of the problems with OEmbeds of Tweets is that they're heavy. Lots of JavaScript, tracking cookies, and other detritus. See this excellent post by Matt Hobbs looking at how to make your website faster by removing Twitter embeds and replacing them with images. Here's my attempt to turn a Tweet into a semantic SVG! This doesn't attempt to faithfully recreate the exact look and feel of an…

Three small tips for shrinking SVG images

· 8 comments · 300 words · Viewed ~816 times


Rows of icons - each one has the size printed next to it.

I work on the SuperTinyIcons project. Our aim is to make pixel perfect SVG icons in under 1KB. Because SVG can be quite verbose, every single redundant byte we can eliminate is a byte we can use in drawing. Here are three quick tips for shaving a few bytes off an SVG. Decimal Magic SVG co-ordinates can have decimal precision, like: 123.456. But what about co-ordinates which are less than one? …

Some updates to SuperTinyIcons

· 250 words


Rows of icons - each one has the size printed next to it.

I love reading Changelogs - but I hate writing them. Here's what's changed with SuperTinyIcons since I launched it in 2017. It's a project to create SVG logos of popular services in under 1KB. Maximum filesize is 1,023 bytes. New Contributors! What started off as just me noodling around, has now attracted over 60 contributors! Some just drive-by and make a single change, others stay for a…

This SVG always shows today's date

· 20 comments · 250 words · Viewed ~52,481 times


A graphic of a calendar showing the date "February 25 Sunday"

For my contact page, I wanted a generic calendar icon to let people view my diary. Calendar icons are almost always a skeuomorph of a paper calendar, but I wondered if I could make it slightly more useful by creating a dynamic icon. Here it is, an SVG calendar which always display's today's date: The background image is derived from the Twitter TweMoji Calendar icon - CC-BY. Text support in …

Super Tiny Website Logos in SVG

· 24 comments · 200 words · Viewed ~51,445 times


Rows of icons - each one has the size printed next to it.

You may not realise it, but bandwidth is expensive. It costs you time, money, and battery power whenever you download a file larger than it needs to be. That's why I've become a little bit obsessed with SVG - Scalable Vector Graphics. They're the closest thing to magic that the web has when it comes to image compression. Let me show you what I mean. This is the standard Twitter Logo. It's 512 …

Put a test-card at the start of your slides

· 450 words · Viewed ~535 times


A test card is displaying on a television screen

I do a lot of talks and presentations - sometimes in boring conference centres, sometimes in pubs, and occasionally in the middle of a field. One of the things that I've learned is the audio-visual equipment is unreliable. The colours can be off, the projection can be blocked by detritus on stage, or the screen can be defective. It's never a fun experience to flip to your first slide and…

An Animation of Every Emoji

· 2 comments · 400 words · Viewed ~663 times


A friendly looking chicken stares at you

The Video Terence Eden is on Mastodon@edentEVERY EMOJI! pic.x.com/2fcuqwu67c❤️ 1,306💬 54🔁 020:09 - Tue 24 October 2017 Download the WEBM version (19MB). The Process Mostly notes to myself, but I thought you lot might be interested 🙂 Get Every Emoji from Twemoji Twitter maintain the Twemoji Project - it contains high quality SVGs of every emoji. They generously make them available under CC-BY…

The Twitter Logo As SVG Circles

· 100 words · Viewed ~1,503 times


The Twitter logo drawn in circles.

Five years ago, Twitter updated its logo and demonstrated that it could be made entirely of circles. Interestingly, the official Twitter logo doesn't use circles directly. So, here is an SVG I've made which is only circles: Or, without the edges, and no transparency: And the raw code: <svg height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg"> <circle…

How I built a responsive & semantic "Contact Me" page in under 16KB

· 1 comment · 800 words · Viewed ~8,785 times


A website which looks like a phone homescreen.

Recently, I've become obsessed with the speed and efficiency of my web sites. I'm in the middle of slimming down this blog - but I thought I'd take a first attempt at my contact site - https://edent.tel/ A few weeks ago, the .tel registry released their domain restrictions - users can now host their site anywhere. I'd already experimented with about.me/edent as a contact site - but even that…