
Loading
seed
19 statesS spinI inkG seeds
Budget
c5 · 61 linesShapes38 / 100
Triangles6,452 / 8,000
Draw calls4 / 4
- States
- stoke · boil · stir
- Used in
- No scene yet
- Lineage
- Forks: Campfire ring
- Made
1asset campfire "Cozy campfire" complexity=52// a ring of stones round a low fire of crossed logs, a little pot hanging from a tripod over the flames.3// readable from afar: the bright layered flame, the pot on its three legs, the fat stone ring.4// idle: flames flicker, embers pulse, the pot sways, smoke and sparks rise.5// stoke: the flames leap. boil: the pot rattles. stir: the spoon swirls.6let SR = .5..0.587let F = .9..1.128let stoneC = rockGrey:3|rockWarm:2|rockCool|rockSand9let logC = barkB:2|walnut|redwood|barkC10let potC = cobalt:3|teal|cherry|grape11let hot = tangerine:3|tomato1213// ground: an ash bed14cyl ash h=.04 r=.66 round=.015 color=bedSoil segs=28 joint1516// stone ring and seats17ball stone x8..10 on=ash ring=6 at=(SR, .08, 0) r=(.15, .1, .12) color=stoneC~ segs=10 rings=618cyl stump x2 on=ash ring ring0=0 at=(1.3, 0, 0) h=.3 r=.2 round=.035 color=barkA cap=honey segs=141920// crossed logs21cyl log x4 on=ash ring=8 ring0=20 at=(.3, .05, 0) roll=sel(i, 64, 74, 64, 74) h=.62 r=.065 round=.02 color=logC cap=birch segs=1022ball ember x4 on=ash ring=20 ring0=55 at=(.2, .07, 0) r=(.07, .05, .06) color=tomato ink=glow segs=8 rings=5 joint2324// flames: three nested teardrops and four leaning tongues25lathe flameA on=ash at=(0, .1, 0) h=.46*F r=.2 prof=[0:.55 .25:1 .6:.7 1:.04] color=hot ink=glow segs=12 rings=8 joint26lathe flameB on=ash at=(0, .12, 0) h=.36*F r=.15 prof=[0:.55 .25:1 .6:.7 1:.04] color=marigold ink=glow segs=12 rings=8 joint27lathe flameC on=ash at=(0, .14, 0) h=.25*F r=.1 prof=[0:.55 .25:1 .6:.7 1:.04] color=lemon ink=glow segs=10 rings=7 joint28lathe tongue x4 on=ash ring=15 at=(.15, .09, 0) roll=-22 h=.3*F r=.075 prof=[0:.55 .3:1 .65:.65 1:.04] color=sel(i, tomato, tangerine, marigold, tomato) ink=glow segs=10 rings=6 joint2930// tripod: three legs meeting at a brass knot, a hook, the hanging pot31rod leg x3 on=ash ring0=90 ring at=(.9, 0, 0) to=(-.9, 1.25, 0) r=.03 sides=8 color=walnut32ball knot on=ash at=(0, 1.25, 0) r=.07 color=brass segs=10 rings=633rod hook on=ash at=(0, 1.25, 0) to=(0, -.29, 0) r=.02 sides=6 color=iron joint34lathe pot on=hook at=end+(0, -.44, 0) h=.24 r=.19 prof=[0:.72 .12:.95 .6:1 .92:.96 1:.9] bands=[.86:silver] color=potC segs=20 rings=10 joint35cyl soup on=pot at=top+(0, -.02, 0) h=.035 r=.14 color=honey segs=16 joint36tube handle on=pot at=top pts=[-.16,-.03,0 -.14,.1,0 0,.19,0 .14,.1,0 .16,-.03,0] r=.02 smooth sides=6 detail=.7 color=iron37rod spoon on=pot at=top+(0, -.1, 0) to=(.17, .34, .1) r=.02 sides=6 color=oak joint38ball spoonTip on=spoon at=end r=.035 color=oak segs=8 rings=53940// smoke and sparks rise41fx smoke on=ash at=(-.28, .6, -.1) speed=.5 n=7 hz=.342fx sparkle on=ash at=(.12, .3, .27) speed=.7 gravity=-.2 spread=.12 n=8 hz=.7 size=.03 color=sunflower color2=tangerine4344// idle life45anim flameA s sin amp=.07 hz=1.746anim flameB s sin amp=.09 hz=2.3 phase=.347anim flameC s sin amp=.1 hz=3.1 phase=.648anim tongue rz sin amp=9 hz=2.2 stagger=.2549anim tongue s sin amp=.12 hz=2.7 stagger=.350anim ember s sin amp=.15 hz=.8 stagger=.251anim hook rz sin amp=1.5 hz=.45253// states54anim stoke: flameA s keys=[0:0 .3:.45 .7:.3 1:0] hz=.755anim stoke: flameB s keys=[0:0 .3:.5 .7:.35 1:0] hz=.756anim stoke: flameC s keys=[0:0 .3:.55 .7:.4 1:0] hz=.757anim stoke: tongue s keys=[0:0 .3:.5 .7:.3 1:0] hz=.7 stagger=.158anim boil: pot py bounce amp=.012 hz=559anim boil: pot rz sin amp=2 hz=660anim boil: soup s sin amp=.05 hz=561anim stir: spoon ry sin amp=35 hz=1.262