Resolution independent rendering of Bezier curves in WebGL

The bezier curve below is anti-aliased in browsers that support the OES_standard_derivatives extension (shows blue anti-aliased shape)

Falls back to aliased in unsupported browsers (shows red aliased shape).

Author: Claus Wahlers

Demo

Sorry, your browser is not WebGL enabled.

Literature

Source code