Skip to main content

Effects Reference

Every built-in effect in Embers Text API, with parameters, markup examples, and suggestions for when to use each one.

How parameters work: Write them inside the tag as key=value. Numbers are plain numbers, booleans are true or false, colors are hex strings (e.g., FF0000). Omit a parameter to use its default.


Color Effects

Rainbow

Cycles text through the full color spectrum. Each character is at a different phase, creating a wave of color across the text.

TagAliases
<rainbow><rainb>
ParameterDefaultDescription
f1.0Cycling speed. Higher = faster.
w1.0Phase offset between adjacent characters. Lower = tighter wave.
Examples
<rainbow>Standard rainbow</rainbow>
<rainbow f=2.0>Fast-cycling rainbow</rainbow>
<rainbow f=0.5 w=2.0>Slow, spread-out rainbow</rainbow>

When to use: Celebrations, titles, welcome messages, anything that should feel exciting and colorful.


Gradient

Smooth color transition from one color to another across the text.

TagAliases
<grad><gradient>
ParameterDefaultDescription
from5BCEFA (light blue)Starting color
toF5A9B8 (pink)Ending color
huefalseUse HSV color space for smoother hue transitions
f0.0Animation speed. 0 = static gradient.
sp20.0Span in characters — how wide the gradient stretches
unifalseUnidirectional (A→B only) vs. cyclic (A→B→A)
Examples
<grad>Default blue-to-pink gradient</grad>
<grad from=FF0000 to=0000FF>Red to blue</grad>
<grad hue=true from=FF0000 to=00FF00>Smooth hue shift red-to-green</grad>
<grad f=1.0>Animated shifting gradient</grad>
<grad sp=8 uni=true>Short one-way gradient</grad>

When to use: Health bars, lore text with a visual theme, boss names with dramatic color shifts.


Color

Applies a single solid color to text via the effect system. Unlike the <color> style tag, this works within the effect stack and can be combined with other color effects.

TagAliases
<color col=HEX><color value=HEX>
ParameterDefaultDescription
colFFFFFFThe color to apply (hex string)
valueFFFFFFAlternative to col
Examples
<color col=FF0000>Red text</color>
<color value=#00FF00>Green text</color>
<color col=5BCEFA>Sky blue text</color>

When to use: When you need a color that can be stacked with effects like <neon> or <pulse> in the effect chain.


Pulse

Rhythmic brightness pulsing — text brightens and dims repeatedly.

TagAliases
<pulse>
ParameterDefaultDescription
base0.75Minimum brightness (0.0–1.0). Lower = darker troughs.
a1.0Pulse amplitude.
f1.0Pulse speed.
w0.0Phase offset between characters. Non-zero = wave-style pulse.
Examples
<pulse>Gently pulsing text</pulse>
<pulse base=0.3 a=1.5>Strong pulsing</pulse>
<pulse f=3.0>Rapid pulse</pulse>
<pulse w=0.3>Wave-style pulse across characters</pulse>

When to use: Alerts, attention-grabbing HUD elements, countdown timers, energy indicators.


Fade

Oscillates text transparency between visible and semi-transparent.

TagAliases
<fade>
note

<fade> has two modes. With a, f, or w parameters: oscillating transparency effect. With in and/or out parameters (no a/f/w): sets global message fade-in/out timing. See Markup Guide → Global Tags.

ParameterDefaultDescription
a0.3Minimum alpha (0.0 = fully invisible at minimum)
f1.0Oscillation speed
w0.0Phase offset between characters
Examples
<fade>Gently fading text</fade>
<fade a=0.0 f=2.0>Full fade-to-invisible, fast</fade>
<fade w=0.2>Wave-style fading across characters</fade>

When to use: Ghost text, ambient lore, ethereal or mysterious messages.


Motion Effects

Wave

Characters move up and down in a smooth sinusoidal wave.

TagAliases
<wave>
ParameterDefaultDescription
a1.0Wave height in pixels
f1.0Wave speed
w1.0Wavelength (distance between peaks)
Examples
<wave>Flowing wave text</wave>
<wave a=3.0>Tall waves</wave>
<wave f=2.0 w=0.5>Fast, tight waves</wave>

When to use: Fluid or water themes, lively NPC dialogue, scrolling announcements.


Shake

Random jitter — each character displaces randomly every frame.

TagAliases
<shake>
ParameterDefaultDescription
a1.0Shake intensity (pixel displacement)
f1.0Shake speed (how often direction changes)
Examples
<shake>Vibrating text</shake>
<shake a=3.0>Intense shake</shake>
<shake a=0.5 f=5.0>Subtle rapid vibration</shake>

When to use: Danger warnings, explosions, earthquake events, angry NPC dialogue.


Bounce

Characters hop up and down with realistic multi-bounce physics (rises, then diminishing bounces).

TagAliases
<bounce>
ParameterDefaultDescription
a1.0Bounce height
f1.0Bounce speed
w1.0Phase offset between characters (creates a cascading wave)
Examples
<bounce>BOING!</bounce>
<bounce a=2.0 w=0.3>High cascading bounce</bounce>
<bounce f=2.0>Fast bounce</bounce>

When to use: Celebratory messages, item collection, score events, jovial NPC text.


Circle

Characters orbit in a circular path around their original position.

TagAliases
<circle>
ParameterDefaultDescription
a1.0Circle radius in pixels
f1.0Rotation speed
w0.0Phase offset between characters
Examples
<circle>Orbiting text</circle>
<circle a=3.0>Large orbits</circle>
<circle f=2.0 w=0.2>Fast orbiting wave</circle>

When to use: Magical effects, spinning/swirling themes, enchantment or portal messages.


Wiggle

Each character wiggles in a unique direction determined by its character code. Creates organic, varied motion across the text.

TagAliases
<wiggle>
ParameterDefaultDescription
a1.0Wiggle distance
f1.0Wiggle speed
w1.0Phase offset between characters
Examples
<wiggle>Organic wiggly text</wiggle>
<wiggle a=2.0 f=1.5>Stronger, faster wiggle</wiggle>

When to use: Chaos effects, jelly-like text, playful NPC dialogue.


Pendulum

Characters swing back and forth like a pendulum.

TagAliases
<pend><pendulum>
ParameterDefaultDescription
a30.0Maximum swing angle in degrees (0–90)
f1.0Swing speed
r0.0Arc radius. When > 0, characters also move along a circular arc
Examples
<pend>Swinging text</pend>
<pend a=60>Wide swing</pend>
<pend a=30 r=5>Pendulum with arc movement</pend>

When to use: Clock or time themes, hypnotic effects, NPCs gesturing.


Swing

Characters rotate back and forth around their center point.

TagAliases
<swing>
ParameterDefaultDescription
a1.0Rotation amplitude in radians × 0.5 (≈ ±28° at default)
f1.0Swing speed
w0.0Phase offset between characters
Examples
<swing>Rocking text</swing>
<swing a=2.0 f=1.5>Strong, fast rocking</swing>

When to use: Boat/sea themes, rocking motion, agitated dialogue.


Scroll

Text scrolls continuously from right to left, looping after a fixed period.

TagAliases
<scroll>
ParameterDefaultDescription
f1.0Scrolling speed
Examples
<scroll>Marquee-style scrolling text</scroll>
<scroll f=2.0>Fast scrolling</scroll>

When to use: Ticker-tape announcements, news feeds, long messages that need to loop.


Turbulence

Characters drift in organic, wind-like motion using dual-frequency noise.

TagAliases
<turb><turbulence>
ParameterDefaultDescription
a1.0Displacement strength
f1.0Turbulence speed
Examples
<turb>Wind-blown text</turb>
<turb a=2.0>Strong turbulence</turb>
<turb a=3.0 f=0.5>Slow, drifting motion</turb>

When to use: Wind, storms, gas/vapor effects, unstable or glitchy environments.


Special Effects

Glitch

Digital distortion — horizontal slice displacement, position jitter, alpha blinks, and optional chromatic aberration.

TagAliases
<glitch>
ParameterDefaultDescription
f1.0Animation speed multiplier
s0.08Slice displacement frequency (0.0–1.0)
j0.015Position jitter frequency
b0.003Alpha blink frequency
o1.0Slice offset distance multiplier
c0.0Chromatic aberration intensity
slices2Number of horizontal slices (2–5)
Examples
<glitch>Basic glitch</glitch>
<glitch s=0.2>Frequent glitches</glitch>
<glitch c=1.0>With chromatic aberration</glitch>
<glitch slices=4 s=0.3 o=2.0>Multi-slice chaos</glitch>

When to use: Corruption events, tech-themed alerts, hacking sequences, computer terminals, error messages.


Neon

Multi-ring glow effect surrounding text with a soft luminous halo.

TagAliases
<neon><glow>
ParameterDefaultDescription
r2.0Glow radius in pixels (0.5–8.0)
i1.0Glow brightness/intensity (0.1–3.0)
q2Quality: 1 = fast (6 samples), 2 = balanced (12), 3 = high (20)
c(text color)Glow color override (hex)
p0Pulse animation speed
f2.0Alpha falloff curve power
Examples
<neon>Default glow</neon>
<neon r=4 i=2.0>Strong wide glow</neon>
<neon c=00FFFF>Cyan glow</neon>
<neon q=3 r=3>High-quality glow</neon>
<neon p=2.0>Pulsing glow</neon>
tip

Use q=1 for neon on long messages. Each neon layer renders 6–20 extra passes per character — it gets expensive fast.

When to use: Title screens, legendary item reveals, sci-fi UI elements, boss names.


Shadow

Customizes the text shadow with a specific color, offset, and transparency.

TagAliases
<shadow>
note

<shadow> has two modes. With x, y, c, r, g, or b parameters: custom shadow effect. With only value=true/false: toggles the global shadow. See Markup Guide → Global Tags.

ParameterDefaultDescription
x0.0Horizontal shadow offset in pixels
y0.0Vertical shadow offset
c(none)Shadow color (hex). Takes priority over r/g/b.
r0.0Red channel (0.0–1.0)
g0.0Green channel
b0.0Blue channel
a1.0Shadow transparency multiplier
Examples
<shadow x=2 y=2>Offset shadow</shadow>
<shadow c=FF0000 a=0.7>Semi-transparent red shadow</shadow>
<shadow x=3 y=3 c=FFFF00>Yellow offset shadow</shadow>

When to use: Making text pop off dark or busy backgrounds, stylized title text.


Animation Effects

Typewriter

Reveals text character by character from left to right.

TagAliases
<typewriter><type>
ParameterDefaultDescription
speed20Milliseconds per character. Lower = faster.
sound(none)Sound ID played on each character reveal. Set to off to silence.
loop(none)true = loop forever. false = reveal once, stay visible.
resetDelay1.0Seconds before animation resets after the text disappears and reappears
Examples
<typewriter>Default-speed reveal</typewriter>
<typewriter speed=50>Slower reveal</typewriter>
<typewriter speed=30 sound="minecraft:block.note_block.hat">With click sounds</typewriter>
<typewriter loop=true>Loops forever</typewriter>
<typewriter loop=false>Plays once</typewriter>

When to use: NPC dialogue, quest text reveals, lore messages, tutorial instructions. Pairs well with message queues for multi-line conversations.


Obfuscate

Shows text as random glyphs, then progressively reveals (or hides) the real characters.

TagAliases
<obfuscate>
ParameterDefaultDescription
modeconstantconstant = always scrambled. reveal = starts scrambled, reveals real text. hide = starts readable, progressively scrambles. random = randomly flickers between scrambled and real.
speed20Milliseconds per character for reveal/hide animations
directionleftDirection: left, right, center, edges, random
alphabetminecraftminecraft = Minecraft glyph set. readable = random A-Z, a-z, 0-9.
Examples
<obfuscate>Permanently scrambled</obfuscate>
<obfuscate mode=reveal>Gradually reveals from left</obfuscate>
<obfuscate mode=reveal direction=center speed=40>Reveals from center outward</obfuscate>
<obfuscate mode=hide direction=right>Hides from right to left</obfuscate>
<obfuscate mode=random>Characters randomly flicker</obfuscate>
<obfuscate mode=reveal alphabet=readable>Reveals using readable chars</obfuscate>

When to use: Cryptic messages, secret reveals, "decoding" sequences, hidden lore, mysterious NPCs.


Built-In Presets

Presets bundle multiple effects and styles into one tag:

TagEffectsStyle
<epic>Pulse (f=2.0) + WaveBold italic purple (#AA00FF)
<legendary>Rainbow (f=1.5) + NeonBold gold (#FFD700)
<spooky>Shake (a=0.5) + Fade (a=0.4)Italic dark purple (#2D1B4E)
Preset examples
<epic>You have slain the Dragon!</epic>
<legendary>Legendary Sword of Doom obtained!</legendary>
<spooky>Something lurks in the darkness...</spooky>