Skip to content
Ariel Malka edited this page Oct 10, 2022 · 11 revisions

Some demos demonstrating the capabilities of chronotext-cross:

TestingDrawing2d

Beware of alien abduction while learning how to draw 2d shapes and sprites.
Source | WebGL demo | blog post

TestingDrawing3d

Using spheres to (poorly) simulate the motion of the earth around the sun.
Source | WebGL demo | blog post

TestingDynamicInstancing

Animating a bunch of ducks, almost for free.
Source | WebGL demo

TestingExtruding

How to perform tessellation and extruding in order to create 3d geometry from 2d shapes.
Source | WebGL demo

TestingFBO

How to work with Frame Buffer Objects.
Source | WebGL demo

TestingGeometry

Ever wanted to draw a cone, a cube or a torus?
Source | WebGL demo

TestingLibJpeg

How to work with jpeg images, e.g. combining a lightweight jpeg image with a png mask in order to create a transparent sprite, while enjoying classical paintings.
Source | WebGL demo

TestingLibPng

How to work with png images while staring at the sky.
Source | WebGL demo

TestingLighting

How to simulate a point light... The occasion to play with custom shaders.
Source | WebGL demo | blog post

TestingMotionOnPath

How to move smoothly along a path in 2d.
Source | WebGL demo | blog post

TestingPicking

The truth about picking... Touch the rotating object in order to "plant" a normal.
Source | WebGL demo

TestingStaticInstancing

Drawing a bunch of ducks, almost for free.
Source | WebGL demo

TestingSVG

How to work with SVG documents... With a special guest.
Source | WebGL demo

TestingTriangle

Draw your own colored triangle!
Source | WebGL demo | blog post