SplasheryPlayground
Splat Equation, standing in a box with a red wall and a green wall.

Please do not tap the glass.

Splat Equation

Every splat has a place and a color.

Open in the PlaygroundHow to play

The facts

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

How to play, in the Playground

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

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

Nearby in the collection