The example code for the Windowing Systems by Example blog series
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
1-Complicated_Rectangles Cleanup Aug 23, 2016
2-Rectangle_HQ Production release of chapter 3 code Aug 31, 2016
3-I_Like_to_Move_it Production release of chapter 3 code Aug 31, 2016
6&7-Control_Issues_Parts_I_and_II Finished ch 7 code Sep 27, 2016
8-Getting_Dirty Added better mouse Oct 8, 2016
current_build.js Bulk of calculator demo done, need to add actual math bits Oct 11, 2016
runme.html Production release of chapter 3 code Aug 31, 2016

Windowing Systems by Example

You have found your way to the Git repo supporting the blog series Windowing Systems by Example that I write over at my blog,

In this repo, you will find a series of numbered folders which correspond to each article. To make life easy, they are all provided with build scripts which use Emscripten, in conjunction with a minimal library abstracting our framebuffer and input drivers, to allow anyone running Windows, OSX, Linux or any other platform that you can get a web browser and/or Emscripten running on to build the code and play with modifying it. Once you have Emscripten installed, all you need to do is run the build script in the folder of the chapter that you're interested in and then open the file runme.html in the root of the repo to see the results.

If you don't have Emscripten on your system yet, you can head over here and grab the portable version of the SDK for your platform. The way they package their SDK is lovely, and all you really need to do is download the archive, extract it, run a couple of terminal commands and you should have access to an Emscripten-aware terminal from which you can run these build scripts in just minutes.