Posted on: Programming.Tagline: Rendering a 3D portrait from a single photo using Gaussian Splatting, Canvas 2D, and zero dependencies.I recently watched a video by Tsoding where he rendered a full 3D scene using just a plain canvas 2D element, without any WebGL or Three.js. The core of the video was a simple formula to calculate the position of each pixel: given (x, y, z) x' = y / z y' = x / z It tickled the part of my brain that loves graphics and it was enough to make me want to try the ...
No comments yet. Log in to reply on the Fediverse. Comments will appear here.