Splashery
Playground
Splat Equation, a still.

7. MathNo. 07.18

Splat Equation

Every splat has a place and a color.

Playground

Handling

Tap to play time t. Pick a program, or type your own equations, in the Splash tab.

Its tag

Shelf
7. Math
Kind
Built from a recipe
Your own
Your own splat program
Sound
Yes
Licenses
Own work (made in the page)

On the wall it weighs 6.7 KB: 512 splats, fitted to pictures of the full Splash, which opens with 71,280.

Its controls

ControlKindRangeStart
Play tTap
tSlider0 to 100%0%
PlayButton
ProgramList9 choicesTorus
SplatsList3 choicesSolid
Light and shadeSetting
Moments of tList4 choices12

About it

Every splat has a place and a color. Here you program them with math: each splat gets two numbers, u and v, and your equations x, y and z turn them into its place, while hue (or r, g and b) gives its color. Time t runs from 0 to 2π, so the shape can move.

Tap it to play one cycle of t and watch the shape move. Pick a sphere, a torus, a Möbius strip, a seashell, a trefoil knot, a wave, a spiral galaxy or a Klein bottle in the Splash tab, or type your own, such as z = sin(u + t). Under Splats, Solid shows a clean surface, Fine a finer one, and Dots every splat on its own. The Splash Manual explains the whole language.

Details

Your own files
.txt

Sources and credits

Made in Splashery. Its code is MIT.

In The Splash Manual

  1. Chapter 10: Make your own

Share it

This link opens it in the Playground. To put it on your own page, add the element and one script tag. Every option.

https://splashery.app/play/?toy=splat-equation
<script type="module" src="https://splashery.app/play/src/element.js"></script>
<splashery-toy toy="splat-equation"></splashery-toy>

Nearby in the collection