Tech/LxEngine/Web Samples Page

From Athile

Jump to:navigation, search

While not directly part of LxEngine, these samples demonstrate various Javascript techniques and uses of LxJs - a Javascript library intended for use both on the web and within LxEngine.

Graphics

Canvas BSP Split

Bsp split.png

Canvas BSP Split

Sample using of an HTML Canvas to incrementally render a BSP being split into randomly sized regions. Demonstrates (1) use of an HTML Canvas Element, (2) LxJs "Gradient Sets" for color choice, (3) Javascript closures to create a timed, sequential rendering of the BSP.

Navigation
Toolbox