Original caption
Update your portfolio's, this is "living" 3D avatar is actually a flat <canvas> swapping pre-rendered images — confirmed zero Three.js anywhere in the bundle. Render 16 pre-made expression/pose images onto a single <canvas> with drawImage() — confirmed: rest, closed, half, up, down, left, right, upleft, upright, downleft, grin, hearts, angry, and more. Track the cursor's angle relative to the face's center with Math.atan2() on every pointermove, and pick the matching directional pose from that angle — confirmed directly in the source. Run a randomized blink timer that swaps in the closed/half images every few seconds for a natural-feeling blink — confirmed 13 references to blink logic in the code. Layer a small WebGL shader pass on top for extra polish — but the illusion itself is 100% image-swapping, zero 3D geometry. A years of building sites taught me: a "3D character" doesn't need a 3D engine — sometimes 16 photos and one angle formula do the job. Comment PROMPT, and I’ll send you exactly workflow + files! #canvas #javascript #webdesign #buildinpublic #portfolio