BPT

BptBackground

Procedural and image-based backgrounds with 10 pattern styles, WebGL rendering with Canvas 2D fallback. Supports animated or still modes, dev-mode config save/load, and image parallax/follow behaviors.

Parameters


Target="#bg-preview-target" — canvas is placed inside the element matching the ID selector.
Preview
Aurora — animated Target: #bg-preview-target

Aurora Background

Procedural animated background with 3 colors

Current Configuration
📋 [+]
<BptBackground Style="BptBackgroundStyle.Aurora"
               Animated="true"
               Speed="1"
               Scale="1"
               Intensity="0.7"
               Seed="42"
               BackgroundColor="rgba(15, 15, 35, 1.0)"
               Target="#bg-preview-target">
    <!-- Your content here -->
</BptBackground>

@code {
// Colors list
private List<string> colors = [
    "rgba(100, 150, 255, 0.6)",
    "rgba(200, 80, 180, 0.5)",
    "rgba(80, 220, 200, 0.5)",
];
}
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.