Skip to main content
100%

Maths functions, mostly from Processing.js

✓ Published0🌍 Public
MMAKIO135
Last edited Dec 28, 2014
Created on Dec 28, 2014

This example demonstrates a collection of mathematical visualization techniques implemented in JavaScript, primarily relying on custom pseudo-random number generation and Perlin noise algorithms. The code implements Marsaglia's random number generator and a full Perlin noise implementation with 1D, 2D, and 3D variants, which can be used to create organic, procedural textures and patterns. The visualization likely renders these noise functions as visual output, showcasing how deterministic noise algorithms can produce complex, natural-looking variations. The code is based on Processing.js conventions, with a Math2 class providing random and noise functions similar to those found in the Processing API, allowing for generative art and data-driven graphics.

AI-generated description

Similar vizzes