Cilia
A ribbed form on a curved axis, with the rib tips lit.
- Price
- USD 10, all access
- Built with
- Plain React
A logarithmic spiral with chambers, the walls lit in turn.
Three turns of an equiangular spiral. Each chamber sits between the previous turn and this one, and 22 walls light up in sequence.
The full source and any assets are delivered after checkout. One payment of USD 10 unlocks every pro element. The start of the file is shown here.
"use client";
/**
* Nautilus — a logarithmic spiral with chambers, septa lit in turn.
* Morphology 05. Ships with PointPlotter.tsx.
*
* <Nautilus ink="#f7efe3" accent="#f5cb73" points={22000} speed={1} />
*/
import { PointPlotter, type PlotFn } from "./PointPlotter";
export type NautilusProps = { ink?: string; accent?: string; points?: number; speed?: number; className?: string };
const { cos, sin, exp, PI } = Math;
const COLS = 900;
const TURNS = 3;
const GROWTH = 0.19;
const plot: PlotFn = (i, n, t) => {
const rows = Math.ceil(n / COLS);
const ua = (i % COLS) / COLS;
const v = Math.floor(i / COLS) / rows;
const theta = ua * TURNS * 2 * PI;
const outer = 3.6 * exp(GROWTH * theta);
const inner = outer * exp(-GROWTH * 2 * PI);
// Across the chamber: the whorl between the previous turn and this one.
const breathe = 1 + 0.012 * sin(t * 1.5 + theta);
const rho = (inner + (outer - inner) * v) * breathe;"use client";
/**
* Point Plotter — the engine under the Morphology series.
*
* No dependencies. Every organism in the series is a function
* `plot(i, n, t, pointer)` that places the i-th of n points in a
* 400×400 space and says whether it is an accent point. This file
* draws those points, tens of thousands a frame, on a 2D canvas: faint
* ink for the body, a brighter colour with a soft glow for the
* accents, and the formula as a caption in the corner.
*
* Ships with every organism. You should not need to edit it.
*/
import { useEffect, useRef } from "react";
export type Pointer = { x: number; y: number; active: boolean };
/**
* [x, y, accent, weight?] in 400×400 space, or null to skip the point.
* `weight` (0–1) dims the point — used for depth on the 3D forms.
*/
export type PlotPoint = readonly [number, number, boolean] | readonly [number, number, boolean, number] | null;
export type PlotFn = (i: number, n: number, t: number, pointer: Pointer) => PlotPoint;
export type PointPlotterProps = {
plot: PlotFn;
points: number;Inside
Install
No packages to install.
2 files: Nautilus.tsx, PointPlotter.tsx.
A ribbed form on a curved axis, with the rib tips lit.
A jellyfish with a pulsing bell and sixteen trailing tentacles.
A radial shell with a lattice of pores.
What you get, what it runs on, what it costs to run and what the licence allows.
One React component file per element, plus any shader or asset files it needs. Members of a series also get the small engine file they share. Free elements are copied from the page. Pro elements are a download after one payment of USD 10, which unlocks all of them. Each element imports only public packages, which are listed on its page.
React 19. The 3D and shader elements use three.js through React Three Fiber. The 2D ones use Framer Motion or plain CSS and canvas. They work in Next.js, Vite, Remix and any other React setup. Framer and Webflow users can embed an element as a code component.
Yes. Every element exposes its look as props, the same controls shown on its page. Anything beyond the props is yours to edit in the file.
Yes. Every element page has a Save frame button that downloads the current frame as a PNG at the size shown. Make the browser window large for a print-size still. For motion, record the page or ask us for a rendered clip. The licence covers web, print, decks and video, for your own work and your clients' work.
The 3D elements mount when they scroll into view and unmount when they leave, so an element off screen costs nothing. The shader backgrounds cost a fraction of a video background. The 2D elements are a few kilobytes.
Free elements are MIT. Use them anywhere, including client work. Pro elements are licensed to you for unlimited projects of your own and your clients'. You may not resell or redistribute the source itself.
Yes. A custom element, such as your product in 3D or a branded shader, is a small project quoted up front. All-access members are asked first about what we build next.