word-cloud
scenesset 9× in templates and rigs
An auto-packed word cloud: its `text` children need no x/y. Each word's height is its `emphasis` × `base-size`; the engine measures the real glyphs and packs them collision-free and seeded, and any other child (icon, image, primitive) packs among the words as a slot.
word-cloud#s09-cloud(seed=7 padding=0.035 base-size=25.5 rotations="0 90" rotate-chance=0.2 aspect=1.6 position="0 -46.75 0")
Attributes
base-sizenumberThe height of an emphasis-1 word, mm.9×paddingnumberThe gap kept between words' ink, mm (default 0).9×position"x y z"9×rotationsnumber"x y"The z rotations a word may take, degrees, e.g. `0 90 -90` (default 0).9×seednumberSeed of the rotations, the size tiers and the packing (default 1).9×aspectnumberWidth ÷ height of the packing spiral (default the frame's).8×rotate-chancenumberThe share of words that take a rotation, 0 to 1 (default 0.33).1×Where it goes
Examples
word-cloud#s09-cloudin layouts/layoutOpen and play →word-cloud#s09-cloud(seed=7 padding=0.035 base-size=25.5 rotations="0 90" rotate-chance=0.2 aspect=1.6 position="0 -46.75 0")
text#s09-w1(text=layout emphasis=3.4 color=#f8fafc weight=800)
text#s09-w2(text=row emphasis=1.5 color=#93c5fd weight=600)
text#s09-w3(text=column emphasis=1.5 color=#c4b5fd weight=600)
text#s09-w4(text=grid emphasis=2.1 color=#5eead4 weight=700)
text#s09-w5(text=isle emphasis=1.2 color=#94a3b8 weight=500)
text#s09-w6(text=stack emphasis=1.2 color=#94a3b8 weight=500)
icon#s09-star(name=star plane_width=0.62 plane_height=0.62 width=21760 height=21760 size=200 x=2380 y=2380 color=#fbbf24)
text#s09-w7(text=orbit emphasis=1.8 color=#fca5a5 weight=700)
text#s09-w8(text=carousel emphasis=1.3 color=#94a3b8 weight=500)
text#s09-w9(text=word-cloud emphasis=1.1 color=#64748b weight=500)
text#s09-w10(text=group emphasis=1.6 color=#fdba74 weight=600)
word-cloud#s12-cloudin nodes-edges/nodes-edgesOpen and play →word-cloud#s12-cloud(base-size=25.5 padding=0.05 seed=7 aspect=1.2 rotations=0 position="-212 -12.75 0")
text#w-ingest(text=ingest emphasis=2.2 color=#7FC4FF weight=800)
text#w-queue(text=queue emphasis=1.0 color=#8b97b4 weight=600)
text#w-router(text=router emphasis=1.9 color=#FF5FA2 weight=800)
text#w-retry(text=retry emphasis=1.0 color=#8b97b4 weight=600)
text#w-shard(text=shard emphasis=1.5 color=#C6A6FF weight=700)
text#w-replay(text=replay emphasis=1.0 color=#8b97b4 weight=600)
text#w-commit(text=commit emphasis=1.6 color=#7FE8DC weight=700)
text#w-cache(text=cache emphasis=1.35 color=#7FC4FF weight=700)
text#w-backoff(text=backoff emphasis=1.0 color=#8b97b4 weight=600)
text#w-fanout(text=fanout emphasis=1.0 color=#8b97b4 weight=600)
text#w-journal(text=journal emphasis=1.3 color=#C6A6FF weight=700)
text#w-vacuum(text=vacuum emphasis=1.0 color=#8b97b4 weight=600)
word-cloud#s04-termsin scenes/realism2.abstractOpen and play →word-cloud#s04-terms(base-size=66 padding=0.06 seed=23 aspect=3.2 rotations=0 position="0 1080 -1150")
text#s04-w1(text=azimuth emphasis=2.0 color=#6b5a41 weight=800)
text#s04-w2(text=elevation emphasis=1.6 color=#5d4f3a weight=700)
text#s04-w3(text=umbra emphasis=1.3 color=#544836 weight=700)
text#s04-w4(text=penumbra emphasis=1.0 color=#4a4031 weight=600)
text#s04-w5(text=falloff emphasis=1.1 color=#544836 weight=600)
text#s04-w6(text=kelvin emphasis=1.4 color=#6b5a41 weight=700)
text#s04-w7(text=rim emphasis=1.0 color=#4a4031 weight=600)
text#s04-w8(text=key emphasis=1.8 color=#7a6748 weight=800)