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

推荐订阅源

S
Schneier on Security
Hugging Face - Blog
Hugging Face - Blog
V
Visual Studio Blog
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
博客园 - 叶小钗
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
TaoSecurity Blog
TaoSecurity Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
J
Java Code Geeks
爱范儿
爱范儿
宝玉的分享
宝玉的分享
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
量子位
N
News and Events Feed by Topic
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Recent Commits to openclaw:main
Recent Commits to openclaw:main
SecWiki News
SecWiki News
MyScale Blog
MyScale Blog
AI
AI
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - 【当耐特】
Security Archives - TechRepublic
Security Archives - TechRepublic
F
Fortinet All Blogs
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
有赞技术团队
有赞技术团队
W
WeLiveSecurity
Project Zero
Project Zero
T
Tor Project blog
Help Net Security
Help Net Security
L
LINUX DO - 最新话题
IT之家
IT之家
The Hacker News
The Hacker News
腾讯CDC
Schneier on Security
Schneier on Security
N
News and Events Feed by Topic
C
Cisco Blogs
博客园 - 聂微东
Webroot Blog
Webroot Blog
Forbes - Security
Forbes - Security
M
MIT News - Artificial intelligence
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
A
About on SuperTechFans

0x7f Blog

telephony42 完全指南:从零开始在 dn42 构建电话网络 telephony42 完全指南:从零开始在 dn42 构建电话网络 在 Telephony42 中配置 E.164 ENUM 在 Telephony42 中配置 E.164 ENUM 有关 DN42 的本质及诸多暴论 有关 DN42 的本质及诸多暴论 线香简评(持续更新) 线香简评(持续更新) 美味冰淇淋的制作方法 美味冰淇淋的制作方法 一场有关数字世界自决权的战争 一场有关数字世界自决权的战争 在 rDNS 上念诗!(加强版) 在 rDNS 上念诗!(加强版) 木桶饭杂谈 其二 木桶饭杂谈 其二 木桶饭杂谈 其一 木桶饭杂谈 其一 杂牌对讲机的写频 杂牌对讲机的写频 科研随想 (21.09) 科研随想 (21.09) IFSolver Reloaded 系列 0x03:解码生成 IFSolver Reloaded 系列 0x03:解码生成 IFSolver Reloaded 系列 0x02:特征匹配 IFSolver Reloaded 系列 0x02:特征匹配 IFSolver Reloaded 系列 0x01:特征提取与存储 IFSolver Reloaded 系列 0x01:特征提取与存储 新站点启用,以及一些小细节 IFSolver Reloaded 系列 0x00:总体结构 IFSolver Reloaded 系列 0x00:总体结构 IFSolver 的原理解析 IFSolver 的原理解析 博客静态迁移 博客静态迁移 DN42系列 0x03:Peer Finder & Looking Glass DN42系列 0x02:Peering DN42系列外传 0x00 : 利用Nebula建立p2p网络 日常翻车实录 日常翻车实录 智(能)(避)障小车项目研究 基本思路 智(能)(避)障小车项目研究 基本思路 五月站点更新
新站点启用,以及一些小细节
Yukari Chiba · 2021-07-30 · via 0x7f Blog

由于大家都注册了萌萌的 .moe 域名,我也来效仿一个。

光敏性癫痫提示
对于极少数人群,网站中的动画效果可能会引发癫痫或眩晕症状。
如果您感到头晕、恶心、眼睛抽搐、癫痫发作,请即刻关闭页面并立即就医。

ewe.moe

一些文字小技巧

中间的 🐑 logo 其实是字体,嘤为 threejs 对透明度图片的资瓷并不好。

然而,在 threejs 官方给的 typefont json 文件中,并没有提供中文/emoji 资瓷,为此,需要手动加入。

这个 facetype.js 可以将字体文件转换成 threejs 可以导入的 json 文件。但是,由于这个作者依然没考虑到 emoji,🐑 依然无法被导出。

那么就需要借助 IcoMoon 来导出一个自定义的字体文件。我预先将 🐑 的路径合并,然后将其作为字母 y 导入,这样生成出的 ttf 文件仅包含一个字符 y。使用上面的 facetype.js 即可将其对应的 json 导出。

一些长按小技巧

该内容最终并未加入到网站中。

vue 里处理长按事件是比较麻烦的,这里使用了 setTimeout 来解决这个问题。

1
<div @mousedown="clickStart" @mouseup="clickEnd" />
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
methods: {
clickStart: () => {
if (timer === null) {
timer = setTimeout(() => {
// ...
}, 2000);
}
};
clickEnd: () => {
if (timer !== null) {
clearTimeout(timer);
timer = null;
}
};
},
data: ()=>({
timer: null
})