3D_testing

just a simple repo for testing and practice on 3D conceptes in HTML 2D canvas pure JavaScript no libraries or frameworks .

perview

tasks

  • vec4d “class point”
  • class triangle
  • class mesh
  • orthographic projection
  • perspective projection
  • perspective divide
  • NDC
  • field of view
  • aspect ratio
  • x y z movement
  • x y z rotation
  • camera
  • x y clipping
  • z near clipping
  • back-face culling
  • 2D line’s
  • 2D curves
  • rasterization
  • z-buffer
  • anti alias
  • MSAA
  • SSAA
  • gradient
  • light
  • shading
  • shadow
  • ambient
  • reflections
  • glow
  • ray tracing

GitHub

View Github