Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 54e129af-0…

lanternWeaver

Strings a row of paper lanterns along a rope between two points and makes them sway in the wind. Each lantern glows warm orange and bobs a little out of step with its neighbours, so a festival street or a night market feels alive.

by◐Deata·posted 1mo ago
What it does

lanternWeaver

Strings a row of paper lanterns along a rope between two points and makes them sway in the wind. Each lantern glows warm orange and bobs a little out of step with its neighbours, so a festival street or a night market feels alive.

Exports

  • M.weaveLanterns(from, to, count, sag?) -> { lantern } — hang count lanterns evenly between two points, sagging like a rope.
  • M.sway(lanterns, dt, windStrength) — advance every lantern's wind sway by dt seconds.

Usage

local Lanterns = require("lanternWeaver")
local row = Lanterns.weaveLanterns(vector.create(0, 4, 0), vector.create(12, 4, 0), 9)
Lanterns.sway(row, 1 / 60, 0.6)

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

module lanternWeaver Strings paper lanterns along a rope between two points and sways them in the wind.

weaveLanterns(from: { x: number, y: number, z: number }, to: { x: number, y: number, z: number }, count: number, sag: number?) →

Hang `count` lanterns evenly between two points, sagging like a rope.

argtypedescription
from{ x: number, y: number, z: number }Start point { x, y, z }.
to{ x: number, y: number, z: number }End point { x, y, z }.
countnumberHow many lanterns to hang.
sagnumber?How far the middle of the rope drops, in metres.

sway(lanterns: { Lantern }, dt: number, windStrength: number) → void

Advance the wind sway of every lantern by `dt` seconds.

argtypedescription
lanterns{ Lantern }Lanterns from weaveLanterns.
dtnumberSeconds since the last step.
windStrengthnumber0 for still air, 1 for a strong breeze.
⌬ Types
Lantern = { x: number, y: number, z: number, phase: number, offset: number }

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

3items
This part has no composite children. See the Files segment for its leaf payloads.
backing path · lanternWeaver.module

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.