Plasma Ball Background
BackgroundPlasmaBall
Backgrounds & Effects JavaScript
Plasma-globe effect with flickering electric filaments behind the site.
Published · by Christopher Alberto
Live demo
Open full screenAt a glance
- Component
BackgroundPlasmaBall- Category
- Backgrounds & Effects
- Used as
- Animated site background (Global Options)
- Built with
- PHP, Twig, SCSS, JavaScript
- Platform
- WordPress · Flynt theme · Timber/Twig · ACF Pro
About this component
A glowing core sends flickering electric filaments toward the sphere’s edge, generated procedurally with recursive midpoint displacement (the classic lightning-bolt technique).
How to enable
Not a page block: choose it under Global Options → Site Background → Effect. Only one background runs at a time, site-wide, and it honours prefers-reduced-motion.
Under the hood
Components/BackgroundPlasmaBall/
-
_style.scssStyles (SCSS) 15 lines -
functions.phpFields & data (PHP) 10 lines -
index.twigMarkup (Twig) 8 lines -
script.jsBehaviour (JavaScript) 211 lines