This post is part of a series. For a listing of all the posts, as well as instructions on running the code, see here. A few posts back, we looked at how to set up a simple HTTP server and also how to communicate with a web page using WebSockets. Today we’ll combine this with […]

This post is part of a series. For a listing of all the posts, as well as instructions on running the code, see here. The last couple of posts have been more about laying some foundations on how to graphically display output from our Go program in real-time, and have focused primarily on the networking […]

This post is part of a series. For a listing of all the posts, as well as instructions on running the code, see here. In the last post we looked at how to set up a HTTP server, to serve up an API or static files. Today we’ll do something more real-time, namely using WebSockets […]

This post is part of a series. For a listing of all the posts, as well as instructions on running the code, see here. So far, we’ve pretty much always been using Go to spit out static image files. However, it’d be nice if we could do something a little bit more interactive, like generate […]

This post is part of a series. For a listing of all the posts, as well as instructions on running the code, see here. Turns out that despite all the shilly-shallying in the previous posts, we didn’t talk about one of Go’s most useful features, built-in concurrency implemented using go-routines and channels. Today seems like […]

Recently I’ve been building something using Three.js, and started out by basing my code on one of the many excellent examples. Soon enough I was in a world of bliss, full of lights and shaders and all the other niceness gives you. Unfortunately, my JavaScript code quickly started to get a bit bloated and hard […]

This post is part of a series. For a listing of all the posts, as well as instructions on running the code, see here. Recently I came across a most agreeable app, Instagram, that lets you add filters and what-not to your photos, and I thought it would be remiss not to try something similar […]

This post is part of a series. For a listing of all the posts, as well as instructions on running the code, see here. In the previous post we looked at how to create a Canvas type onto which we could draw a gradient. While gradients are all fun and games, to really start drawing […]

This post is the first in a series. For a listing of all the posts, as well as instructions on running the code, see here. It is meant as an introduction to Go, by way of a bit of simple graphics processing. If you haven’t come across Go before, I’d encourage you to head over […]

This series of posts is meant as an introduction to Go, by way of a bit of simple graphics processing. If you haven’t come across Go before, I’d encourage you to head over to http://golang.org to check it out, in particular going through the excellent online tutorial. At the very least you should be familiar […]