Hacker GitHub

← All repos

magcius/sw3dv

View on GitHub ↗ ★ 6 JavaScript

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2016-09-27 · latest 2022-09-11

Mentions per year 3 mentions · busiest year 2016 (1)
20082026
  1. …to do your rotations without a matrix, for the learners ( just expand out the functions, e.g. https://github.com/magcius/sw3dv/blob/gh-pages/b_vert.glsl#L... )
  2. You can write a basic (read: slow) rasterizer in 100 lines or so. It's mostly math. https://github.com/magcius/sw3dv/blob/gh-pages/sw_rast.js#L1...
    comment by Jasper_ · 2020-12-01 · in Computer Graphics from Scratch (2017)
  3. …C++, if you want a second opinion of "how it works": http://magcius.github.io/sw3dv/sw_rast.html https://github.com/magcius/sw3dv/blob/gh-pages/sw_rast.js The math and geometry behind 3D projection and 3D rendering is fairly basic once it…