• How would you like to be able to run one command and have your entire development stack up and running? ./infra up And this starts my database service, runs the server, compiles the client modules, and then watches any files for changes and restarts the server if needed, reloads the page...

    Tagged: Docker | node.js
  • I've written an implementation of the Minecraft protocol in Nodejs. It resembles the node-minecraft-protocol project, but it supports defining plugin channel protocols as well, so it supports modded clients / servers. I intend to use it as a proxy, to be able to switch servers in real time and maybe...

    Tagged: minecraft | node.js
  • I've previously started playing with D3.js, and I really enjoyed it's power and it's core idea of how it maintains the state and updates (which reminds me of React) I've rendered a Minecraft world to tiles using Mapcrafter and then feed them to the d3.geo.tile plugin. ...

    Tagged: d3.js | node.js | minecraft
  • Here I'm trying to build a quick monitoring app to collect, aggregate, store, and display data: So far I've fleshed out the UI with some random fake data. I've already been able to collect Java profiling data over JMX from node.js, so the rest shouldn't be much of a problem....

    Tagged: node.js | d3.js
  • For the past year or so, Google Analytics has been showing complete garbage for my site, and if you're here, it's probably been happening to you too. On a website with no real traffic the spam is obvious. What's probably going on is that some wise guys decided it would be a...

  • A naive approach in rendering the chunks in a view frustum would result in this example in about 230 chunks. We can take advantage of the perspective, and render chunks at different level of details based on the distance to the camera. In the above example, we can considerably reduce the...

    Tagged: LOD | Octree
  • After trying out static website generators, like Jekyll and Octopress, I have started to appreciate the simplicity of deploying a bunch of files and be done with it. With the GitHub Pages, the whole process becomes even more attractive, as even the hosting is free, and very simple, just one...

  • We're going to need some trees for our terrain, so I've been experimenting with the space colonization algorithm. Whitepaper: Modeling Trees with a Space Colonization Algorithm - Adam Runions, Brendan Lane, and Przemyslaw Prusinkiewicz. I've done several changes on the algorithm, adding several parameters: control how the points attract branches (per branch...

  • So, I've been having fun with some OpenGL, I'm working on a terrain engine, we'll see where it goes... So far, I've got: voxel terrain renderer, tesselated with marching cubes. the signed density function is generated from a few octaves of simplex noise. multithreaded chunk generation and tesselation with no world bounds. triplanar mapping...

  • I haven't found a good task manager yet that actually helps me get things done. I loved the OmniFocus when I was still on OSX, but I've moved to Windows and I wasn't able to find a good replacement. Like any geek, I've decided to roll my own. ...

  • An HTML5 Bomberman clone using node.js, socket.io, Backbone, Underscore, jQuery, CSS3 (via Compass + Sass)

  • Update: Starting with Adobe Illustrator CC 17.1, layers remember open/closed state, making the tool described in this post unnecessary. How much time have you wasted by collapsing the layers every time you open that 50-layer-Illustrator-file? Sadly, Illustrator CS5 (Update: CS6 or CC either) can't remember the states of the layers between saves,...

  • What is it This script is based on Jon Hicks original SaveLayersAsPNG script which exports the top layers one by one. When you're working on some big UI designs, you usually have lots of layers and sublayers, things that have to always stay visible, or some more complex scenarios. This script will...