惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
爱范儿
爱范儿
MongoDB | Blog
MongoDB | Blog
腾讯CDC
aimingoo的专栏
aimingoo的专栏
月光博客
月光博客
Engineering at Meta
Engineering at Meta
C
Check Point Blog
N
Netflix TechBlog - Medium
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LangChain Blog
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
Microsoft Security Blog
Microsoft Security Blog
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
B
Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
WordPress大学
WordPress大学
博客园 - 司徒正美

endtimes.dev

Happy new year | endtimes.dev why lowercase letters save data Practical betterments | endtimes.dev Short posts and some site updates Input Output | endtimes.dev Actually, dark mode can save the planet Why your website should be under 14kB in size HTML and CSS only multiple color scheme picker Why your website should work without Javascript. An HTML and CSS only dark-mode toggle button. you can use css to remove the double-tap zoom feature on iOs Missing Dice | endtimes.dev Can Dark Mode Save Battery Life and Human Civilzation? Your DNS has a significant impact on site speed. Add spaces to the dock on MacOS You can leave out <html>, <head>, and <body> tags. Listen for changes between dark and light mode with javascript Use a keyboard shortcut to quickly toggle light and dark mode on MacOs. Why Your Website Should Use Dithered Images You can restore the startup chimes on MacOS Emoji Clipboard | endtimes.dev You can use Emojis as Favicons .dev and HSTS preload | endtimes.dev Prod — Block Distractions. Achieve your goals. Green Quarantine | endtimes.dev Qwitter Bot | endtimes.dev
Pattern generator | endtimes.dev
2020-10-05 · via endtimes.dev

The pattern generator was originally some code I wrote to add patterns to graphs.

1 in 12 men and 1 in 200 women are color blind. So it was important the graphs used patterns instead of colors to contrast elements.

At first it was stripes of varying width, then dots, grids, and hexagons. It quickly became its own project, and one I thought other web devs would find useful.

svg patterns also have the advantage of being smaller in size compared to raster images. They allow for expressive design without sacrificing load times.

The typical pattern produced by the pattern generator is around 600 bytes. (and there are some opportunities for further optimisation)

Doodad.dev #

The pattern generator was fun to make, and got a lot of positive feedback from developers. So, I decided to make more tools with the goal of making the web faster, more accessible, and more expressive. I'll host all these tools on doodad.dev.

published
4 Oct 2020
modified
4 Oct 2020
author
Nathaniel
tags
posts post project doodad