Draw Graphs with JSON Data

Previous post dealt with sending JSON data around. Now, I need to be able to draw it. After looking for graphing libraries, I’ve settled on Chart.js and on CanvasJS. Common steps All graphs need a canvas element to function: First thing I wanted, was to get the data with AJAX. This way, my page would […]

Create a Background with Vertical Lines of Different Colours

I’ve got a list of colours (RGB) in an array and I want to build a background with vertical lines, each representing a colour from my list. The process is too simple to put in a TL;DR :) If my list of colours is, Array<Vector3> cols, then the process is as follows: Create a pixmap:


Scroll to top