- Mathematical MarblingImplementation of mathematical marbling
- DodecahedronCode example for rendering a dodecahedron.
- Marbling PhyllotaxisAdding ink drops using phyllotaxis.
- Marbling MouseThis example demonstrates interactivity adding the ink.
- Marbling ColorThis example demonstrates adding a color palette.
- Marbling CombsThis example demonstrates adding tine lines.
- Marbling Raster PixelsThis example demonstrates marbling by raster-rendering the pixels.
- Marbling Raster Pixels - ImageThis example demonstrates marbling the pixels of an image.
- Marbling Raster Pixels - VideoThis example demonstrates marbling the pixels of a video.
- Marbling Color - animate inkThis example demonstrates animating the addition of ink drops
- handPose MarblingThis example demonstrates adding ink drops using ml5.handPose.

All aboard as I attempt to simulate the artistic process of paper marbling. The algorithm is based on the paper 'Mathematical Marbling' by S. Lu, A. Jaffer, X. Jin, H. Zhao, and X. Mao. The code is written in JavaScript using the p5.js library.

Wikipedia article discussing the history and process of paper marbling.

Article about Suminagashi master Tokutaro Yagi.

Blog post about digital marbling by Amanda Ghassaei.

S. Lu, A. Jaffer, X. Jin, H. Zhao and X. Mao, in IEEE Computer Graphics and Applications, vol. 32, no. 6, pp. 26-35, Nov.-Dec. 2012

Posts that cover algorithms and mathematics of simulating paper marbling.

Y. Sun, J. W. M. Bush, S. E. Spagnolie, and C. H. Rycroft, APS Division of Fluid Dynamics Gallery of Fluid Motion, V0002 (2023). (doi:10.1103/APS.DFD.2023.GFM.V0002)

A dive into the trigonometric functionsβsine, cosine, and tangent.

- Editing
by Mathieu Blanchette

- Animations
by Jason Heglund