ApasScript.

Ornaments

These are Apas Cloud services: they run on our servers for a signed-in member. The examples below are shown already made; sign in to edit and run your own.

mandalaOn Apas Cloud

A mandala of the given radius at (x, y): rings of petals in gold outline (every second ring filled with an accent at 30%), circles between the rings and 48 gold dots on the rim, all in one group `mandala` so a page can turn or fade it. Without `rings` the stage's four rings are used.

lampOn Apas Cloud

A diya at (x, y): a clay bowl of half-width `size` with a gold rim and beads, a ground glow, a halo (group `halo`) and a three-tongued flame (group `flame`). With `t` (seconds) the flame flickers as the video stage's does, for an animate() frame.

garlandOn Apas Cloud

A string of lights from x0 to x1 at height y: a wire hanging in `scallops` scallops `drop` deep, `perScallop` bulbs on each in the accents, each with a soft halo. Groups `wire`, `halos`, `bulbs`.

burstOn Apas Cloud

A firework burst at (x, y) reaching `reach` with `rays` rays, drawn `age` seconds after it went off: the rays fly out, fall and fade over 1.9 s (nothing before 0 or after 1.9). Every third ray is gold, the others accent `accent`. Group `burst` with the fade as its opacity.

borderOn Apas Cloud

An ornamental border `inset` world units inside the diagram's box: a rounded gold line and, for "double" (default), a thinner one further in. `progress` 0 to 1 draws it that far round from the top left (the stage's draw-on). Group `border`.

rangoliOn Apas Cloud

A rangoli in colour at (x, y): filled rings of petals in the accents round an open centre of radius `hole` (for a picture or words), powder-white outlines and dots. Group `rangoli`.

toranOn Apas Cloud

A marigold toran from x0 to x1 hung at height y, sagging `sag` at its middle: sixteen orange and yellow flowers with leaves along the curve and `strands` strands of flowers hanging from it, each in a group `strand-1`, `strand-2`, ... so a page can swing it.

lanternOn Apas Cloud

A sky lantern at (x, y) of half-height `size`: a glow (group `glow`), a paper body lit from inside, a base and a flame (group `flame`).

skylineOn Apas Cloud

A rooftop skyline from x0 to x1 standing on `ground`, buildings up to `height` tall with domes, lit windows and roof lamps; `seed` fixes the scatter. Group `halos` holds the roof lamps' glow.

balloonOn Apas Cloud

A balloon at (x, y) (the body's centre) of half-height `size` in `colour`, with a highlight, a knot and a string. Group `balloon`.

buntingOn Apas Cloud

Bunting from x0 to x1 hung at height y: a rope sagging `sag` at its middle and `count` triangular flags in the accents, each in a group `flag-1`, `flag-2`, ...; the rope in `rope`.

confettiOn Apas Cloud

Confetti in the box (x0, y0)-(x1, y1): `count` turned pieces about `piece` across, scattered by `seed`, at time `t` of their fall (0: as scattered; in a frame pass the time and they drift down, sway and spin). Group `confetti`.

heartShapeOn Apas Cloud

A heart at (x, y) (its centre) of half-height `size` filled with `colour`. Group `heart`. (The organ is schematicOn(d, "heart", ...).)

cakeOn Apas Cloud

A two-tier cake at (x, y) (the middle of the lower tier's top edge) of half-width `size`, with icing, dots and five lit candles whose flames are groups `flame-1` to `flame-5`; with `t` (seconds) they flicker. Default palette "party".

laurelOn Apas Cloud

A laurel wreath about (x, y) of radius `radius`: two arcs of eleven gold leaves from the bottom up each side, open at the top, in groups `left` and `right`.

schematicOn Apas Cloud

A labelled organ schematic with flow arrows (R261), as NCERT Science X Chapter 5 draws them: "heart" (four chambers, the body's right on the viewer's left, vena cava, pulmonary artery and veins, aorta, valves; blue oxygen-poor, red oxygen-rich), "nephron" (Bowman's capsule and glomerulus, afferent and efferent arterioles, proximal tubule, loop of Henle, distal tubule, collecting duct, capillaries), "alveolus" (a bronchiole ending in three air sacs with the capillary round one, O2 and CO2), "gut" (the alimentary canal with liver, gall bladder and pancreas). The picture fills a box 2·size wide and high about `point`; word labels stand in columns about 1.3·size beyond the box on each side with leader lines, so leave that room in the diagram. Every part is a named group (`heart-left-ventricle`, `nephron-loop`, `labels`, ...).