scifi-ui components

Parts pulled out of working sites

A tutorial callout that points at a target, an achievement toast with a success variant and a confetti burst, a card grid where one custom property per card drives both its glow and its shadow, an icon rail, and a finale that fires when you reach the bottom. Zero dependencies, no build step, nothing loaded from a network.

On a touch screen, tap a card and it lifts. There is no hovering without a cursor, so a tap stands in for it: whatever you tap stays lit until you tap somewhere else, and only one thing is lit at a time. A tap on the link inside a card still follows that link, and a tap that turns into a scroll lights nothing. It is one mechanism for the whole set, in hologram-tap.js, rather than a behaviour written into each component.

One

Achievement toast, with the quest success state

The button below fires exactly what the product fires when someone finishes all three daily quests in Brain Quest: a quest toast and a rainbow confetti burst at intensity 2, together. The quest variant is the loudest of the set, with a lit top edge and a wider outer glow, because it marks finishing something rather than merely reporting that something happened.

The other variants. Each announces itself through the live region, each has a real dismiss button, and each auto dismisses on a timer that pauses while a pointer is over the card, the keyboard is focused inside it, or a finger has tapped it. Hover one and watch the rail stop. Tap one and it holds until you tap elsewhere, which is the only way a finger can say that somebody is still reading.

Two

Tinted lift card

Each card sets one property, --holotint, and that single value colours both the glow in its top corner and the shadow it pools underneath as it lifts. Four different tints below, no modifier classes and no extra rules. The fourth card points at an image file that does not exist, so its image removes itself and the tinted orb shows through rather than leaving a broken frame.

cyan

One property per card

The tint reaches the shadow as well as the overlay. Tint only one of them and the effect collapses into a coloured smudge.

Read the file

violet

Hover, focus and tap agree

Everything the pointer gets, a keyboard and a finger get too. The card lifts on focus-within, so tabbing to the link inside it does the same thing, and a tap does it on a screen with no pointer at all.

Tab to me

warm

The one warm accent

A cool field with a single warm card in it. Two warm accents and a grid stops reading as an instrument.

Look closer

missing image

A file that is not there

This card asks for an image that does not exist. The image hides itself, the orb behind it carries the panel, and nothing about the card looks broken.

Still fine

Three

Icon rail

Rest, hover, focus, pressed, selected and disabled. Real buttons, inline SVG authored here, no !important and no selectors that guess at anyone else's markup. The third button is a toggle and reports its state with aria-pressed, which is also what the selected style keys off. Tab through it.

Four

Tutorial callout

The tour above steps through this page. The callout anchors to a target, flips to the opposite side when the side it was asked for does not fit, clamps itself into the viewport, then slides its beak along its own edge so it keeps pointing at the target anyway. Escape dismisses it, the left and right arrows step, and the page scrolls normally the whole time because nothing captures wheel or touch.

Measuring.

Five

Page finale

Keep scrolling. When the marker at the end of this page comes into view, the confetti fires and the mascot goes up on balloons. It happens once per page load, not once per visit to the bottom, so scrolling back down will not repeat it. Reload to see it again.

The riser and the sway are two nested elements with one animation each: the outer one rises linearly for eight seconds, the inner image sways on its own three second loop. Separating them is what makes the drift look organic instead of mechanical.

Six

Measured data readout

A stat row, the distribution behind those stats, and one line saying where the numbers came from. Every figure below is computed from the array at render time, so the panel cannot drift away from the data it describes. Point at a bar to see its bin.

The real numbers here are the 38 proofread MICrONS cells behind the cortex page this was extracted from, coloured on that render's own depth ramp.

The reason this component is documented so heavily. A unit symbol inside text-transform: uppercase is corrupted by the browser: the micro sign becomes a Greek capital Mu, so 481 µm renders as 481 MM, which is a different character and off by a thousand. It was live for weeks because MM reads as a plausible unit. Units go in .holoreadout-u, and holoReadout.value() puts them there for you.

Seven

Converging swarm

Press and hold the frame below. A chip rises in the middle of it and the particles gather into the chip from the edges, so the thing you are waiting on is also the thing everything points at. Let go, or press again, to put it out. It works with a mouse, a finger or a pen, because it is bound to pointer events rather than to touch.

A reconstructed pyramidal neuron

press and hold

They flock rather than fly straight. Each particle steers a little toward the average heading of its neighbours, pushes off any that crowd it, and is pulled toward the chip with its own strength. The arc comes from a small per particle curl added across that pull, not along it. Particles are absorbed near the chip and reborn at a random edge, so the flow is continuous instead of a single burst.

The canvas sits below the chip, deliberately. At z-index: 5 against the chip's 6, particles pass behind the text they are pointing at and never cross it. A converging effect that paints over its own target is worse than no effect, because it obscures the one thing the reader is waiting to read.

The three tints come from --holo-line, --holo-beam and --holo-cyan at start, so a swarm takes the palette of the page it is on. The source hardcodes its own three, which is right for one site and wrong for a library.

Eight

Spark zip

How the "Now entering" card leaves the screen in EyeWire II when you switch datasets. Two lights run up the sides of the box and along its top edge from both corners to the middle, the box folds away beneath them, and sparks pour off the edge the whole way, with one last burst where the two lights meet.

Now entering
MICrONS Minnie65
Your work here 1,284 edits 37 cells proofread
Almost there

The physics is ballistic sparks, the kind a grinder, a welder or a sparkler throws. Each light is a fuse, and it drops about one spark for every two pixels of edge it burns along. Every spark is launched on its own: most go up, about one in five goes down, and all of them carry the fuse's inward push. From there it is plain projectile motion. Gravity pulls each one down a little more every frame, so it arcs over and falls, and air drag bleeds off its sideways speed, so the arcs tighten instead of flying off the page.

Why they glow like real sparks. Each spark is a bright core inside a faint halo three times its size, and they are drawn with additive blending, so wherever sparks overlap their light adds up toward white, which is what hot metal does. Each one fades on the square of its remaining life, so it burns bright and then drops out fast, tinted somewhere between the cyan and the violet of the progress bar above it. Ported from DatasetTransition.vue with every number as shipped, and the lights are scout-trace.js, called rather than copied. With reduced motion on, the card simply goes.

Nine

Path search

The wait while EyeWire II traces a path through a neuron between two points. Seven explorers leave the green dot and wander toward the pink one, each on its own random walk, leaving trails that fade. When the wait ends, the one nearest the target is carried home and its route surges: it runs hot, throws sparks, turns green, and the target answers with a ring.

Highlight No point placed yet.

It is the stepped leader of a lightning strike. Each explorer takes a 1.25 pixel step every frame. Its heading is pulled 8 percent of the way toward the target and then knocked by a random turn, so it mostly makes progress and never goes straight. The canvas is never wiped: each frame erases 9 percent of what is there, which is why the trails linger. While it waits it loops: the first explorer to arrive has its own wandered route redrawn as one bright line, and the search begins again. No two runs draw the same thing.

A wait that ends should say so. Before the finish existed the loader simply closed, and a finished trace looked the same as a failed one. The finish is one 1.5 second sequence: the strike (260ms), the surge with its flicker and sparks, the turn from violet to green, the ring, and the fade. The band pulses once in step with it and its words change, so the success reads without the motion too.

It does not show progress. Nothing on the canvas comes from the request it stands in for. It is a picture of searching, with a counter beside it for the real elapsed time. Ported from startLoader in find_path_status.ts and the foot of HighlightModePanel.vue, every number as shipped. With reduced motion on, the dots sit still and the words carry the state.

Ten

Growing neuron

The wait while EyeWire II sends a bug report. A neuron grows from its cell body as the report goes: dendrites while the view is saved, the axon while the report is sent, the terminals while it is filed. When it arrives the same cell lights green from the body to the tips, and the boutons let go. Every report grows a different cell.

Nothing sent yet
  • Saving your view
  • Sending it to the team
  • Filing it for triage

The growth is the progress. The cell is grown one third for each finished step, so what you see is what has happened. Inside the step still running it creeps toward 80 percent of that step and never reaches it, a bright tip marks where it is growing, and one signal runs down however much axon exists. A slow step does not look stuck, and a fast one is never overtaken. Try the slow one.

No two alike. Each cell is built from a seeded random walk: five or six dendrites that fork twice, an axon that wanders on two summed sine waves, three or four terminals. The body is an uneven blob that swells toward each process leaving it. The same seed always gives the same cell, which is how the cell that grew during the wait is the one that lights up at the end.

With no progress to report, the loop mode grows a cell, holds it, lets it fade, and grows another:

Ported from GrowingNeuron.vue on the eyewire-ii-community branch of ng-extend, every number as shipped. The branching rules and the cell body come from Cells I Met Today, work 009 at artforagents.com. With reduced motion on, the cell is drawn at the growth its steps have earned and nothing moves; the ticks and the words carry the state.

Eleven

Growing cell

The wait while EyeWire II uploads a screenshot, the longest wait in the app. One cell grows from its body, is named, holds, and fades, and then another kind grows. A short wait shows one cell. A long one becomes a small tour.

Uploading

The seven kinds. These are the cells from EyeWire II's dataset tours, four from the medial entorhinal cortex and three from the retina. Each is one small set of branching rules, and each growth is different.

What the rules are. How many processes leave the body and at what angles, how far they run, how much they wander, how often and how widely they fork, how quickly they shorten, and whether they throw side twigs. A stellate cell is six thick branches that fork three times. A starburst is five thin ones that fork four times with almost no wander, which is what makes it a disc. An astrocyte is eight short ones that wander hard and twig constantly. A bipolar cell and a Müller cell are a single line with a pull toward vertical. The body swells toward each process that leaves it, so the pyramidal one comes out pointed without being told to.

It does not show progress. Nothing here comes from the upload it stands in for; the growing neuron above is the one that does. The name under the cell is a caption, and the wait's own word stays beside it. Ported from GrowingCell.vue on the eyewire-ii-community branch of ng-extend, every number as shipped; the rules and colours come from Cells I Met Today, work 009 at artforagents.com. The wall uses two options the source does not have, kinds and once, so seven loops are not left running. With reduced motion on, each frame holds one finished cell.

Twelve

The seal

The check EyeWire II shows when a bug report reaches the team. A ring of ticks and a broken arc rise and start to turn in opposite directions, a green ring draws itself closed, the check draws itself inside it, and two ripples leave the ring. The words wait for the check. The rings keep turning after it lands, slowly, so the box reads as an instrument holding a result.

Signal received
Thank you! Your report reached the team.

Sizes. --holoseal-size scales every part together, the ripples included. These are built by holoSeal(host, { size }).

One place only. In EyeWire II the seal belongs to the bug report. The reply to a report first used it too and then dropped it, so the check stays the sign that a report arrived. Ported from FeedbackModal.vue on the eyewire-ii-community branch of ng-extend, every number as shipped. With reduced motion on, the finished seal appears at once and nothing turns.

Thirteen

The transmission box and the plate button

The box EyeWire II's Starship intro talks to a new player in, and the button that moves them on. The box resolves out of a blur, a light runs its border once, HUD brackets snap in from outside and a scan line passes down the glass. The button is a cut corner plate, blue into violet, with a light band that sweeps across it now and then.

Transmission received
This is a neuron

A single brain cell, rebuilt in 3D from an electron microscope. Its branches reach out to talk to other cells.

The button alone. The plate works on any dark page; Pyr's Play card uses it for Start Playing.

Ported from intro_tour.ts on the eyewire-ii-community branch of ng-extend, every number as shipped. Only the light band and the chevron's nudge loop; the rest runs once. With reduced motion on, the box appears finished and the band stays still.