Monsters typed by mathematicsMostri tipizzati dalla matematica

In cartoons and card games of monsters each creature has an element (fire, water, rock and so on), which sets its look and the fights it wins. In this scene the element is a family of generative functions that grows parts on a body made like the biomorphs (spheres, ellipsoids and round cones joined by a smooth union). Ice grows plates of snow crystal by the cellular automaton of Reiter (2005), plant grows bushes by a stochastic L-system (Prusinkiewicz and Lindenmayer 1990), fire grows flames by warping space with fractal noise, rock grows clusters of Voronoi polyhedra, and water grows sails cut from a triply periodic minimal surface. A seed and a type give the creature, whose three stages grow both the body and the parameters of its type; one seed keeps its body in all five types.

Nei cartoni e nei giochi di carte con i mostri ogni creatura ha un elemento (fuoco, acqua, roccia e così via), che ne decide l'aspetto e gli scontri che vince. In questa scena l'elemento è una famiglia di funzioni generative che fa crescere delle parti su un corpo fatto come i biomorfi (sfere, ellissoidi e coni arrotondati fusi da un'unione smussata). Il ghiaccio fa crescere piastre di cristallo di neve con l'automa cellulare di Reiter (2005), la pianta cespugli con un sistema L stocastico (Prusinkiewicz e Lindenmayer 1990), il fuoco fiamme deformando lo spazio con un rumore frattale, la roccia grappoli di poliedri di Voronoi, e l'acqua vele ritagliate da una superficie minima triplamente periodica. Un seme e un tipo danno la creatura, i cui tre stadi fanno crescere sia il corpo sia i parametri del suo tipo; uno stesso seme tiene il suo corpo in tutti e cinque i tipi.

The five typesI cinque tipi

Ice: a cellular automatonGhiaccio: un automa cellulare

The plates are snow crystals grown by the model of Reiter (2005), as in the scene Snowflakes. On a hexagonal grid each cell holds water \(s\); the receptive cells (frozen, or next to a frozen one) gain \(\gamma\) at each step, the water of the others diffuses with rate \(\alpha\), and a cell freezes when \(s \ge 1\). The seed draws \(\alpha\), \(\beta\) and \(\gamma\) among sectored plates, stars and broad branches. Since the crystal is grown once, the stages show it when it reaches 30%, 62% and all of its radius; from the second stage on, a younger copy sits on the head.

Le piastre sono cristalli di neve cresciuti dal modello di Reiter (2005), come nella scena Fiocchi di neve. Su una griglia esagonale ogni cella contiene acqua \(s\); le celle ricettive (gelate, o accanto a una gelata) ne guadagnano \(\gamma\) a ogni passo, l'acqua delle altre si diffonde con tasso \(\alpha\), e una cella gela quando \(s \ge 1\). Il seme sceglie \(\alpha\), \(\beta\) e \(\gamma\) fra piastre a settori, stelle e rami larghi. Il cristallo cresce una volta sola, e gli stadi lo mostrano quando raggiunge il 30%, il 62% e tutto il suo raggio; dal secondo stadio in poi una sua copia più giovane sta sulla testa.

Plant: an L-systemPianta: un sistema L

The bushes are written by the stochastic shrub of the scene Plants (after section 1.7 of The Algorithmic Beauty of Plants, 1990). An apex \(A\) becomes \(F[\&A]/[\&A]/A\), \(F[\&A]/A\) or \(FA\) with probabilities 0.4, 0.35 and 0.25, and each internode grows by 1.25 at each step. A seed fixes the random draws and the branching angle (30 to 46 degrees), while the stages derive the word 3, 5 and 7 times: the young carries a sprout, and the adult a crown with a leaf at each tip and the radii given by the rule of Leonardo.

I cespugli sono scritti dall'arbusto stocastico della scena Piante (dalla sezione 1.7 di The Algorithmic Beauty of Plants, 1990). Un apice \(A\) diventa \(F[\&A]/[\&A]/A\), \(F[\&A]/A\) o \(FA\) con probabilità 0.4, 0.35 e 0.25, e ogni internodo cresce di 1.25 a ogni passo. Il seme fissa le estrazioni a caso e l'angolo dei rami (da 30 a 46 gradi), mentre gli stadi derivano la parola 3, 5 e 7 volte: il piccolo porta un germoglio, e l'adulto una chioma con una foglia a ogni punta e i raggi dati dalla regola di Leonardo.

Fire: fractal noiseFuoco: rumore frattale

A flame is a cone \(d(p)\) pointing up whose space is warped before it is measured: the flame is the set where \(d(p + W\,h\,(n_1(p), n_2(p), 0)) - a\,h\,n_3(p) < 0\), with \(h\) growing from 0 at the root to 1 at the tip and each \(n_i\) a fractal Brownian motion, i.e., a sum \(\sum_o 2^{-o} v(2^o p)\) of value noise \(v\) (Perlin 1985). Displacing a solid by noise in this way is the hypertexture of Perlin and Hoffert (1989). The stages add an octave each (2, 3 and 4) and make the flames taller, and the adult has a third flame on its back.

Una fiamma è un cono \(d(p)\) rivolto in alto il cui spazio è deformato prima di misurarlo: la fiamma è l'insieme in cui \(d(p + W\,h\,(n_1(p), n_2(p), 0)) - a\,h\,n_3(p) < 0\), con \(h\) che cresce da 0 alla radice a 1 in punta e ogni \(n_i\) un moto browniano frattale, cioè una somma \(\sum_o 2^{-o} v(2^o p)\) di rumore di valore \(v\) (Perlin 1985). Spostare un solido con un rumore in questo modo è l'ipertessitura di Perlin e Hoffert (1989). Gli stadi aggiungono un'ottava ciascuno (2, 3 e 4) e alzano le fiamme, e l'adulto ha una terza fiamma sul dorso.

Rock: Voronoi polyhedraRoccia: poliedri di Voronoi

A cluster takes random seeds \(p_i\) in a ball, and the stone of \(p_i\) is its Voronoi cell \(\{x : |x - p_i| \le |x - p_j| \ \forall j\}\) (Voronoi 1908), cut by a plane facing out at a random height. A small gap on each face turns the faces between stones into cracks. Inside a cell, the distance to its stone is the largest of the distances to its planes, and computing it needs only the nearest seed. In the three stages the cluster on the back has 6, 9 and 12 seeds, and the adult has a third cluster on its head.

Un grappolo prende semi a caso \(p_i\) in una palla, e la pietra di \(p_i\) è la sua cella di Voronoi \(\{x : |x - p_i| \le |x - p_j| \ \forall j\}\) (Voronoi 1908), tagliata da un piano rivolto all'esterno a un'altezza casuale. Un piccolo spazio su ogni faccia trasforma le facce fra le pietre in crepe. La distanza da una cella è la più grande delle distanze dai suoi piani, e per calcolarla basta il seme più vicino. Nei tre stadi il grappolo sul dorso ha 6, 9 e 12 semi, e l'adulto ha un terzo grappolo sulla testa.

Water: minimal surfacesAcqua: superfici minime

The sails are ellipsoids filled by a sheet of a triply periodic minimal surface: the gyroid \(\sin x \cos y + \sin y \cos z + \sin z \cos x = 0\) of Schoen (1970), the P and D surfaces of Schwarz (1890) or that of Neovius (1883), in their trigonometric approximations as in the scene Minimal surfaces. Its sheet is the set where \(|F| / |\nabla F|\) is below half its thickness. A seed picks the surface, its period and its phase; the stages enlarge the sail and add one over the head (stage 2) and one on the tail (stage 3, when there is a tail).

Le vele sono ellissoidi riempiti da una lamina di una superficie minima triplamente periodica: il giroide \(\sin x \cos y + \sin y \cos z + \sin z \cos x = 0\) di Schoen (1970), le superfici P e D di Schwarz (1890) o quella di Neovius (1883), nelle loro approssimazioni trigonometriche come nella scena Superfici minime. La lamina è l'insieme in cui \(|F| / |\nabla F|\) sta sotto metà del suo spessore. Il seme sceglie la superficie, il periodo e la fase; gli stadi allargano la vela e ne aggiungono una sulla testa (stadio 2) e una sulla coda (stadio 3, quando c'è una coda).

The circle of advantagesIl cerchio dei vantaggi

On a circle of the types (water, fire, ice, plant, rock), each beats the next two. Water puts out fire and melts ice; fire melts ice and burns plants; ice splits rock by frost and freezes plants; plants drink water and split rock with their roots; rock dams water and smothers fire. Thus each type beats two and loses to two, as in rock, paper, scissors with five gestures (a regular tournament on five vertices), and the duel of the cards uses it.

I tipi stanno su un cerchio (acqua, fuoco, ghiaccio, pianta, roccia), e ognuno batte i due successivi. L'acqua spegne il fuoco e scioglie il ghiaccio; il fuoco scioglie il ghiaccio e brucia le piante; il ghiaccio spacca la roccia col gelo e congela le piante; le piante bevono l'acqua e spaccano la roccia con le radici; la roccia sbarra l'acqua e soffoca il fuoco. Così ogni tipo ne batte due e perde con due, come in sasso, carta, forbici con cinque gesti (un torneo regolare su cinque vertici), e il duello delle carte lo usa.

Names are drawn from a set of syllables for each type: the young gets two syllables, the middle stage three, and the adult three with an ending. The creatures, their names and the rules are original to this page, and the scene reimplements each model from its equations.

I nomi sono estratti da un insieme di sillabe per ogni tipo: il piccolo ne ha due, lo stadio di mezzo tre, e l'adulto tre con una desinenza. Le creature, i loro nomi e le regole sono originali di questa pagina, e la scena reimplementa ogni modello dalle sue equazioni.

A figurine for 3D printingUna statuina per la stampa 3D

The monster is printed as one closed solid, its body and the parts of its type fused by the smooth union that draws them, standing on a rounded plate (or, without the plate, cut flat underneath). Its size is the height of the tallest figure, and "all" puts the three stages side by side on one plate. Flames, leaves and the edges of the sails overhang; hence, the status line gives the share of the surface facing down by more than 45 degrees. Up to a few percent the figurine usually prints without supports, while beyond that it needs tree supports.

Il mostro si stampa come un solo solido chiuso, con il corpo e le parti del suo tipo fusi dall'unione smussata che li disegna, in piedi su una base arrotondata (o, senza la base, tagliato in piano sotto). La dimensione è l'altezza della figura più alta, e "tutti" mette i tre stadi uno accanto all'altro su una sola base. Fiamme, foglie e bordi delle vele sporgono; quindi la riga di stato dà la quota di superficie rivolta in basso di più di 45 gradi. Fino a qualche percento di solito la statuina si stampa senza supporti, mentre oltre servono supporti ad albero.

The monster on the screen can be ordered as a 3D print: the request sends the link to it, with its seed, type and stage, and the fields above.

Puoi ordinare il mostro sullo schermo come stampa 3D: la richiesta manda il link, con il suo seme, il tipo e lo stadio, e i campi qui sopra.