Projects
- InteractiveLeaPHIGrows a rosette of leaves procedurally: leaf outlines are cubic Bezier curves, filled by constrained Delaunay triangulation and arranged around the centre by a divergence angle derived from the golden ratio.C++ · C
- InteractivePerlin NoiseA header-only C++17 gradient-noise library (1D, 2D and 3D Perlin noise, fBm octaves, turbulence, ridged noise, tileable noise, constexpr evaluation, seeding, serialisable state and the classic PerlinNoise API) and an example that writes fractal-noise images (palettes, hill shading, tiles, 3D slices) as BMP or PNG files.C++
Concepts
- Phyllotaxisused by 1The arrangement of leaves and seeds; organs placed at the golden angle (about 137.5 degrees) pack most evenly.
- Bezier curvesused by 1Polynomial curves defined by control points and evaluated with de Casteljau's algorithm.
- Delaunay triangulationused by 1A triangulation that maximises the smallest angle; constrained versions keep prescribed edges.
- Quaternionsused by 1Four-dimensional numbers that represent 3D rotations without gimbal lock.
- Ray marchingused by 1Rendering implicit surfaces by stepping along each ray by a safe distance from a signed distance function.
- Procedural noiseused by 1Smooth pseudo-random functions such as Perlin noise, layered in octaves to imitate natural textures.
- Colour mappingused by 4Turning numbers such as iteration counts or densities into colours with palettes and histogram equalisation.

