Animated sprites show network throughput

Programming Snapshot – Go Animation

© Lead Image © Saniphoto, Fotolia.com

© Lead Image © Saniphoto, Fotolia.com

Article from Issue 294/2025
Author(s):

Rather than using ho-hum bar graphs to display Internet bandwidth usage, Mike Schilli enlists cartoon characters to do the job. Along the way, you get a free introduction to 2D gaming sprite technology.

The measured value in bits per second for the data currently pouring through my Internet connection provides information on whether my home network is working well or whether someone in the household is currently using an excessive amount of bandwidth.

In a scenario where all of the data traffic flows through a central router such as my pfSense appliance, it is easy to average the bit count over several seconds, for example, using the genuinely helpful vnStat utility. To install the tool on my pfSense router as a normal package in typical FreeBSD style, I call

pkg install vnstat

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Gaming for Godot

    Creating a game requires a wide set of skills to combine graphics, animations, sound, double-clicks, and meticulous coding. The free and open source Godot game engine provides you with all the tools you need to get started.

  • Programming Snapshot – Go Racing Game

    The fastest way through a curve on a racetrack is along the racing line. Instead of heading for Indianapolis, Mike Schilli trains his reflexes with a desktop application written in Go, just to be on the safe side.

  • Chip Shot

    We all know that the Fyne framework for Go can be used to create GUIs for the desktop, but you can also write games with it. Mike Schilli takes on a classic from the soccer field.

  • I <3 Animation

    LÖVE is an extension of the Lua language, designed to make developing games easy. In this tutorial, we'll explore this framework by creating some animated sprites.

  • Practically Elastic

    To improve his skill at the pool table, Mike Schilli sets out to program a simulation in Go using the Fyne framework.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News