Skip to content
0:00 / 0:00

#craftinginterpreters#bookillustration#drawing

Illustrating Crafting Interpreters

Bob Nystrom

626 subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 on Hacker News.
  • Presented by Bob Nystrom, author of Crafting Interpreters

Beginner. No background in the topic needed.

12K views8 years ago2 recommendations

Tools and practiceCompilers and interpretersOpen source

Bob Nystrom demonstrates his meticulous process of hand-drawing and inking the diagrams for his book Crafting Interpreters.

I'm writing a book on programming languages. I hand draw all of the diagrams and illustrations in it. Here's what the process looks like. You can read the book here: craftinginterpreters.com Each diagram starts with a couple of pencil sketches on graph paper where I figure out how I want it to look, scale, etc. Once I have a solid sketch that I like, I overlay that with a sheet of tracing paper and trace over it in ink. I use a Pigma Micron 0.1 for most of it and a 0.005 for some of the finer lines. I hand letter the text using a little guide I printed to make sure all of the text is the same size. I draw registration markers — the two little dots in the corners of the page in the video — to ensure that every illustration is scaled the same in book. Once the ink is done, I scan it in at 1200 DPI and bring it into Photoshop. The ridiculously high resolution is for the print edition I'll be doing later. I crank the levels to eliminate paper texture. I brush out any remaining dust or light spots. Then I hand-kern all of the text. I know, I'm obsessive. But I'm not great at lettering, so when I'm drawing, I try to focus on the letter shapes and not worry too much about spacing. Then I fix the spacing later. Often, I'll make mistakes on a few letters and I'll try alternates and then remove the mistake and put in the alternate in Photoshop. Once it's all good, I crop it — using the registration marks above — scale it down, and export it as a PNG. Then all that remains is to add an img tag to put it in the book. The video here was shot using my

Why it's here

2 people recommend this

What people say. Recommended as a fascinating look at the dedication and artistic craft behind the illustrations in Crafting Interpreters.

airstrikeon Hacker News • Recommends

On “Crafting “Crafting Interpreters””

> I used to do graphic design, and I have this weird tic where any time I see something that looks handwritten, I look for multiple instances of the same letter to see if they are different or if the design just used a handwriting font. It’s almost always a handwriting font and I die a little inside to see the illusion evaporate. Not a graphic designer, but I do the exact same thing and feel the exact same way... Happy to see I'm not crazy alone And his look like really neat hand-drawn diagrams! I certainly appreciate the degree of craftsmanship and care displayed throughout both books As a someone put it on YouTube, the time-lapse video of the entire process is like ASMR for geeks link to this video

vishnuguptaon Hacker News • Recommends

On “Crafting Interpreters – Web Version”

Related. The author's love for their craft oozes through their work. If I'm not wrong every single illustration in the book is hand-drawn ; like literally. Take a look: link to this video

munificenton Hacker News • Mentions

On “Crafting Interpreters is available in print”

Literally hand drawn with my hands. Here's a video of me making one: link to this video It's, like, comically time consuming. But also pretty satisfying.

munificenton Hacker News • Mentions

On “Why Writing by Hand Is Better for Memory and Learning”

You're welcome! People always assume I drew them digitally somehow, but nope, literally on paper with pencil and pen. Here's a video I put together showing the process: link to this video