~/talk

Bitmaps! Or "Images and Animations Without Linking External Libraries"

Talkat C++ on Sea 2021 · 2021-06-30..07-02· [creative-coding, c-and-cpp]
links:none on file
slides:none on file

Shows how to generate bitmaps by printing to stdout using the plain text formats p1/p3 portable bitmap, writing nested loops that emit 0/1 or RGB triples. Examples include a chessboard, a Mandelbrot rendered as black/white, and three cosine waves producing RGB bands. A 20-line Canvas class holds pixels, draw rectangle, and dump frames as zero-padded filenames so ImageMagick/ffmpeg makes GIF/MP4. Also demonstrates a simple ray tracer and a 3D object renderer that shades geometry red with a single upper-right light, all with no external libraries.

AI-written summary · about

  1. 0:00Intro
  2. 0:45Portable bitmap
  3. 1:25Images
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.