Skip to content

Content Tagged "render"

Page 1 of 1

Draw Graphs with JSON Data

February 3, 2019Categories: Software, Tutorial
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…

Create a Background with Vertical Lines of Different Colours

January 17, 2016Category: Software
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: Set one pixel…

All tags