前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >残体字符设计:INVETA

残体字符设计:INVETA

作者头像
Jean
发布2023-02-10 19:54:27
2710
发布2023-02-10 19:54:27
举报
文章被收录于专栏:Web行业观察Web行业观察

残体字符设计是logo设计中很常见的一种风格,它通过删减“多余”的笔画来实现残缺的字符,让读者通过“脑补”还原出原来的文字,以此独特的风格加深用户的产品印象。Github支持STL文本格式的3D模型预览,奈何STL格式非常简陋,难以表示复杂的形状和颜色,只能尽可能用最少的三角形来传达更多的信息,思来想去,最终我准备用12个三角形设计一套“INVETA”的残体logo,在 https://github.com/inveta 上可以看到。SVG的源代码如下:

代码语言:javascript
复制
<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 12.5 2" style="background-color:black;">
    <polygon points="1,2 0.5,0.5 0,2" />
    <polygon points="1,0 0,0 0.5,1.5" />
    <polygon points="3,0.7 2,0 2,2" />
    <polygon points="2.5,1.3 3.5,2 3.5,0" />
    <polygon points="5,1 5,2 6,0" />
    <polygon points="5,1 4,0 5,2" />
    <polygon points="11.5,1 12.5,2 11.5,0" />
    <polygon points="11.5,1 11.5,0 10.5,2" />
    <polygon points="9.8,2 9.5,0 9.2,2" />
    <polygon points="10.5,0 8.5,0 9.5,0.5" />
    <polygon points="8,0 6.5,0 7,1" />
    <polygon points="8,2 7,1 6.5,2" />
</svg>

这就很简单粗暴了,每个字母用2个三角形表示,使用<polygon>多边形来实现每一个三角形,其中viewBox限定了坐标系的展示范围。然后就要把它转换成STL三维模型的ASCII文本格式,这个格式虽然简陋啰嗦,但也一目了然,就是把每个三角形的每个顶点的XYZ和朝向都罗列出来,仅此而已,把上面的svg代码转换成stl非常简单,stl代码如下:

代码语言:javascript
复制
solid Exported from Blender-3.4.0
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 1.000000 0.000000 0.000000
vertex 0.500000 1.500000 0.000000
vertex 0.000000 0.000000 0.000000
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 1.000000 2.000000 0.000000
vertex 0.000000 2.000000 0.000000
vertex 0.500000 0.500000 0.000000
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 3.000000 1.300000 0.000000
vertex 2.000000 2.000000 0.000000
vertex 2.000000 0.000000 0.000000
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 2.500000 0.700000 0.000000
vertex 3.500000 0.000000 0.000000
vertex 3.500000 2.000000 0.000000
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 5.000000 1.000000 0.000000
vertex 5.000000 0.000000 0.000000
vertex 6.000000 2.000000 0.000000
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 5.000000 1.000000 0.000000
vertex 4.000000 2.000000 0.000000
vertex 5.000000 0.000000 0.000000
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 11.500000 1.000000 0.000000
vertex 12.500000 0.000000 0.000000
vertex 11.500000 2.000000 0.000000
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 11.500000 1.000000 0.000000
vertex 11.500000 2.000000 0.000000
vertex 10.500000 0.000000 0.000000
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 9.800000 0.000000 0.000000
vertex 9.500000 2.000000 0.000000
vertex 9.200000 0.000000 0.000000
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 10.500000 2.000000 0.000000
vertex 8.500000 2.000000 0.000000
vertex 9.500000 1.500000 0.000000
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 8.000000 2.000000 0.000000
vertex 6.500000 2.000000 0.000000
vertex 7.000000 1.000000 0.000000
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex 8.000000 0.000000 0.000000
vertex 7.000000 1.000000 0.000000
vertex 6.500000 0.000000 0.000000
endloop
endfacet
endsolid Exported from Blender-3.4.0

这堆STL代码可以直接写在README.md里,然后GitHub会自动渲染,虽然这种做法的性价比不高,每个三角形居然需要7行代码来表示,但出于尝鲜的目的,inveta的GitHub首页就给安排上了,具体的仓库在 https://github.com/inveta/.github 。下面我们来鉴赏一下这个logo的艺术水准。

每个字符是等高等距的,都占2x2个单位空间,因此整体比较对称,字符间隙适中,整体看上去很舒适。由于是抽象派的残体字符,文字的辨识度并不高,比如E和A就很难辨识,某种程度上来说并不算是一个好的设计,只能说仁者见仁了。为了对齐网格,每个顶点的X和Y大都是0.5的倍数,这也能减少文件体积。

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2022-12-13,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 WebHub 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档