Standard library map
Visript uses namespaces to group related operations. Calls use named arguments,
for example draw::circle(x: 100, y: 100, radius: 30). This map points to the
parameter tables and examples; individual pages describe context restrictions.
| Task | Namespace | Reference |
|---|---|---|
| Shapes, text, images, point clouds | draw:: | Primitives, creative tools |
| Transforms | transform:: | Creative tools |
| Camera and lighting | camera::, light:: | 3D mode |
| Blending, clearing and overlays | gfx:: | Creative tools |
| Bitmaps and model positions | asset:: | Assets |
| Construct colours | color:: | Colour constructors |
| Geometry, distortion, pixelation and bloom | effect:: | Whole-frame effects |
| Colour adjustment and blur | effect::filter:: | Canvas filters |
| Feedback and tile rearrangement | effect::scramble() | Scramble |
| Numbers, trigonometry and interpolation | math:: | Math library |
| Audio levels, frequency data and attacks | audio::detect:: | Audio detection |
| Pointer and keyboard state/events | input:: | Input detection |
Read Language Conventions for coordinate systems, units, colour alpha and argument naming.