37 张手绘图例37 hand-drawn figures
32 张会动,滚到哪张就画哪张;其余 5 张按「看它怎么画」也能一笔一笔重画。每张都是几十行代码,拿去改比照着画快:换字、换颜色、换数据。手机上图框可以左右拖,图里的字不会缩到看不清。32 are animated and draw when you scroll to them; the other 5 redraw stroke by stroke on "Watch it drawn". Each is a few dozen lines of code: changing words, colours or data beats redrawing. On a phone, drag a figure sideways; its labels never shrink below readable.
角色与道具Cast and props
能反复出场的小角色和常用物件。拿去换姿势、换颜色,拼成自己的场景。Small characters and everyday objects to reuse. Change the pose or colour and build your own scene.
场景插画Scenes
一幅画讲一个比喻:谁在做什么。画面里不写字,字放在网页上叠上去。One picture, one metaphor: who is doing what. No words inside the drawing; the page lays text on top.
电影画风Cinematic
宽银幕、一个光源、镜头在动。同一支铅笔,换成讲故事的节奏。Widescreen, one light source, a moving camera. The same pencil, paced like a film.
框图与架构Block and architecture
方框、分层、连线。手绘让结构图不像规范文档,读者更愿意看下去。Boxes, layers and wires. Drawn by hand, a structure diagram stops looking like a spec.
越用越懂你Learns your taste
你挑的每一张、说的每一句「太密了」、审查器的每条意见,都记进口味日志,下一张图照它画。这几张图是学习算法自己画的:数字都是 taste.js 真算出来的。Every pick, every "too dense", every reviewer note goes into a taste log, and the next drawing follows it. These figures are drawn by the learner itself: every number is computed by taste.js.
流程图Flowcharts
判断、分支、回路。会动的那一笔沿着流程走,告诉读者现在走到哪。Decisions, branches and loops. The moving mark walks the flow and shows where we are.
代码大白话Code in plain words
左边是代码,右边是它在做的事:LRU 缓存怎么淘汰、调用栈怎么一层层摞起来。当前那一行和画面同步高亮。Code on one side, what it does on the other: how an LRU cache evicts, how the call stack piles up. The current line and the picture move together.
数学与算法Maths and algorithms
把公式和算法的每一步画出来:方波由一圈圈正弦叠出来、拉格朗日插值和乘数、内核调度器挑下一个任务、球往山下滚。数都由代码当场算。Each step of a formula or algorithm, drawn: a square wave built from circling sines, Lagrange interpolation and multipliers, the kernel scheduler picking the next task, a ball rolling downhill. Every number is computed by the code.
数据图Charts
手绘坐标轴,真实数据。点和线是铅笔画的,数字照样要对。Hand-drawn axes, real numbers. The dots are pencil; the values still have to be right.
标注与叠层Marks and overlays
圈重点、画箭头、贴便签、深色终端卡:叠在插画或截图上用。Circles, arrows, sticky notes and a dark terminal card, laid over a drawing or a screenshot.