Trying to implement a ray tracer on the TIC-80 fantasy computer following Ray Tracer in One Weekend.
- [X] a function to reassign the entire palette
- [X] a function that renders
a frameeach pixel - [X] a function to colour quantise a scanline worth of pixels
- [X] implement median cut clustering
- [X] draw a frame of scanlines, each with their own palettes, to screen using
BDR
A basic sphere:
A sphere with ground and normal vectors:
Antialiasing:
First diffuse sphere:
Diffuse sphere with shadow acne fix:
Lambertian reflexions:
Gamma correction:
Shiny metal spheres:
Fuzzed metals spheres:








