"; document.writeln(s); } -->
Project Status: Prototype | Development | Alpha | Beta | Production
A collection of pattern functions primarily designed for creating procedurals with the ShaderBuilder.
The functions for generating the patterns are available for download below, or the click on the image examples to download a static image version of the pattern.
| LxLang Source | lx.patterns.lxlang |
| Compiled Javascript | lx.patterns.js* | (0.1.0) |
| Unoptimized Javascript | lx.patterns.js |
* This links to the dynamically generated Javascript after it has been run through the Google Closure Compiler. Currently, the generated Javascript code has a dependency on lx.vec.js.
The patterns below are all dynamically generated with multi-sampling. The pattern images then use the JQuery seamless image plug-in to animate and allow user control over zooming in and out on the pattern.
Work in progress: the source code for the pattern functions themselves is being converted from pure Javascript to LxLang generated Javascript (since LxLang allows for a more GLSL-like syntax including overloaded operators and functions). Since it is a work in progress, this page currently displays a mix of Javascript and LxLang code as the source for each pattern function.
| Color scheme | |
| Resolution | |
| Multi-sample |
These settings control how the patterns are rendered below. The page will automatically reload on a change to the settings.
Example of a complex pattern.