Skip to main content
Preslav Rachev

My Book: Generative Art in Go

Welcome to the wonderful world of creating imagery with code!

Generative Art in Go - Learn the basics of algorithmic art with the Go language. | Product Hunt

Generative Art in Go is a short book intended to introduce novice and experienced programmers to algorithmic art, and hopefully, get non-programmers interested in the Go programming language. Unlike popular choices such as Processing, NodeBox, openFrameworks, etc., I picked Go for two simple reasons:

  • Go’s syntax is easy enough that virtually anyone can learn it quickly.
  • The language is far more versatile than what most programmers use it for.

Generative art is a unique form of artistic expression, building bridges between computer programming, randomness, and visual aesthetics. It has kept my imagination for over a decade. While I have never been particularly skilled at drawing, I have always been amazed by what one could achieve with a couple of lines of code. Check out some of the works I have created over the years.

This book will introduce readers to graphics programming in the Go programming language context through a series of concise examples. It will also guide them in implementing their version of one of my favorite generative art sketches. As a bonus, readers will learn how to turn their command-line sketches into interactive Web applications, using WebAssembly and Web technology’s latest standards.

Happy reading!

Have something to say? Join the discussion below 👇

Want to explore instead? Fly with the time capsule 🛸