Saturday 12 November 2011

dat.GUI: JavaScript variable editor

image A lightweight graphical user interface for changing variables in JavaScript. 

Simply pass your variables into the dat.GUI framework and they’ll appear in an editable data grid in the top right hand corner.

A beautiful example here:  http://workshop.chromeexperiments.com/examples/gui/#1--Basic-Usage

My simple example:image

Get the code here:  http://code.google.com/p/dat-gui/

Monday 7 November 2011

C# Object Pooling

The following code was taken from the RedGate blog for GC memory management: