好吧,标题党了。这其实是一个生成“丑头像”(Ugly avatar)的在线工具。
到底有多丑呢,直接感受一波:
https://txstc55.github.io/ugly-avatar/
我只想说, 头像确实不错, 有一种难以形容的美,特别是有两个眼睛,一个鼻子和嘴巴,正正好好,不多不少,最妙的是头发正好长在头顶上。
由于头像丑得不尽相同,大家纷纷都进行了更换,目前已出现“人传人”现象。
对了,Ugly avatar 作者刚刚已将该项目的代码开源。
从项目结构来看,Ugly avatar 的核心代码负责生成头像的眼睛、脸、头发和嘴巴。
根据代码的实现细节,Ugly avatar 并不是使用素材进行组合,而是完全通过 前端技术来随机绘制,并且是纯 JavaScript 浏览器本地生成——
保 证 大家的头像丑得千奇百怪、独一无二!
作者还有另外两个头像生成的工具,画风如下:
https://txstc55.github.io/simple-avatar/
https://txstc55.github.io/duck-duck-duck/
https://github.com/txstc55/ugly-avatar
https://news.ycombinator.com/item?id=39813560
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.