# Computer Graphics from Scratch by Gabriel Gambetta

6 Hacker News commenters recommended Computer Graphics from Scratch by Gabriel Gambetta and 0 criticized it, November 2025 to November 2026. It was recommended in 3 of 13 months.

**Verdict:** Recommended as a free, approachable introduction to computer graphics covering both rasterization and raytracing.

## Why people recommend it

- Good introduction to rasterization and raytracing (2 comments): "May I add Computer Graphics From Scratch, which covers both rasterization and raytracing?" ([source](https://news.ycombinator.com/item?id=46826110)) "I really enjoyed this one as an introduction" ([source](https://news.ycombinator.com/item?id=46455706))
- Well-made, hard-working free resource (2 comments): "I really enjoy the website content and appreciate the hard work to create it." ([source](https://news.ycombinator.com/item?id=46414077)) "Ah yes, great book; thanks for pointing it out." ([source](https://news.ycombinator.com/item?id=46826255))

## Alternatives hackers recommend

- [Physically Based Rendering by Pharr, Jakob and Humphreys](https://hackerapproved.com/p/physically-based-rendering.md): 7 recommend
- [Real-Time Rendering by Akenine-Möller, Haines and Hoffman](https://hackerapproved.com/p/real-time-rendering.md): 5 recommend
- [Computer Graphics: Principles and Practice by Foley and van Dam](https://hackerapproved.com/p/computer-graphics-principles-and-practice.md): 4 recommend

## Where to get it

- [See price on Amazon](https://www.amazon.com/dp/1718500769?tag=hackerapprove-20) (affiliate link)
- [Bookshop.org](https://bookshop.org/a/130825/9781718500761) (affiliate link)

## Cite as

Hacker Approved, "Computer Graphics from Scratch by Gabriel Gambetta", https://hackerapproved.com/p/computer-graphics-from-scratch/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
