~/talk

Colors, images and gifs: bring on the fun with Go!

Talkat GoLab 2025 · 2025-10-05..10-07· [go]
slides:none on file

Shows concrete Go code that builds images, layers and GIFs using almost only the standard library: creating an image.Rectangle, allocating an image.RGBA, setting pixels in nested loops to make gradients, chessboards and trig patterns, mapping byte matrices (Advent of Code cave, forests) to colors, parsing GitHub contribution HTML into a palette-based grid, composing with draw.Draw, rendering text with freetype, producing animated gif.GIF frames with image.Paletted and delays — all examples compile and export viewable PNG/GIF files.

AI-written summary · about

  1. 0:00Introduction and fun with Go
  2. 3:24Four steps to create images
  3. 7:00Turning inputs into images
  4. 10:55Real-world GitHub contribution table
  5. 13:02Drawing layers and compositions
  6. 16:11Creating banners with layers
  7. 17:39ASCII art on images
  8. 19:06Creating GIFs in Go
  9. 21:55Advanced GIF ideas
  10. 22:38Closing and call to action
  11. 23:20Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.