• Applicable Software: MokonyxHero
  • Min Version Number: Development
  • Max Version Number: Not Applicable

Turning On WebGL

  1. Set Display Mode to Single.
  2. Set Hero Mode to WebGL.
  3. Choose a scene source, as described below.

Built-In Hex-Field Presets

The quickest path is the bundled hex-field engine. Pick a Built-in Scene preset:

  • Reveal - a measured hex field that settles into place.
  • Calm - gentle, slow motion for a composed, professional feel.
  • Energy - brighter, livelier movement.
  • Chaotic - fast, high-contrast motion.
  • Crash - the most intense preset.

Presets need no scene code and work well on sites behind a firewall or web application firewall, because there is no large block of pasted markup to submit. When a built-in preset is selected, any pasted scenes are ignored.

Custom Scenes

To run your own visuals, leave the built-in scene set to None and add one or more WebGL Scenes (up to ten). Each scene has:

  • Label - an admin-only name to help you identify the scene.
  • Scene Data - the self-contained scene markup.
  • CSS - optional styles injected with the scene.

Each scene runs in a sandboxed frame for safety, and multiple scenes crossfade on an interval you set with WebGL Interval (in milliseconds).

Theme Awareness

WebGL scenes automatically receive your site's brand and accent colours and the current light or dark theme, so the background stays on-brand without extra configuration.

Poster Fallback and Reduced Motion

  • WebGL Poster - set a still image that displays before the scene loads, when a browser does not support WebGL, and when a visitor prefers reduced motion with a poster available.
  • Reduced Motion - when enabled, the hero holds on the first scene for visitors who have reduced motion turned on, instead of animating.

Always set a poster image. It guarantees a polished result for every visitor, even when the animation cannot run.

Library and Performance Notes

  • The 3D engine (three.js) loads from the shared Mokonyx asset library rather than being bundled into the module, keeping page weight down.
  • The scene only animates while the hero is on screen, so it does not burn resources when scrolled out of view.
  • WebGL is GPU-driven; on low-powered devices prefer a calmer preset, and always provide a poster.

Need Help?

MokonyxHero is under active development, so some options may change between versions. For help setting up a WebGL hero, contact the Moko Enterprises team at This email address is being protected from spambots. You need JavaScript enabled to view it..