Skip to content

A curated collection of stunning animated backgrounds built with Three.js, WebGL, and Canvas that helps you ship fast and scale without limits.

Notifications You must be signed in to change notification settings

alvinunreal/openbackgrounds

Repository files navigation

Production-ready animated backgrounds for modern web & apps.

Build stunning interfaces with high-performance WebGL & Canvas components.
Copy. Paste. Captivate.

Quick StartShowcaseLive DemoContribute


✨ Why OpenBackgrounds?

We built this because most "animated background" libraries are either 5 years old, bloated with dependencies, or just ugly. OpenBackgrounds is different:

  • 🚀 Zero-Bloat: Each background is a standalone component.
  • 🎨 Design-First: Crafted to look good behind text, not just as a tech demo.
  • High Performance: Optimized requestAnimationFrame loops and WebGL instance usage.
  • 🛠 Framework Ready: Native support for Vue 3 and Nuxt.

📸 Showcase

Showcase Grid

🎯 Use Cases

OpenBackgrounds is designed for real-world application, not just CodePen demos.

Perfect for Login Screens

Add subtle motion to static forms to increase perceived quality.

Login Screen Mockup

Impactful Hero Sections

Grab attention immediately with immersive WebGL visuals that don't distract from your copy.

Landing Page Mockup

🚀 Quick Start

Installation

Choose your flavor. We support direct copy-paste (recommended for maximum control) or usage via our CLI (coming soon).

1. Copy the component Navigate to app/components/bg/ and grab the file you want (e.g., AuroraWaves.vue).

2. Install dependencies Most backgrounds require three or simplex-noise.

npm install three simplex-noise
# or
bun add three simplex-noise

3. Use in your app

<script setup>
import AuroraWaves from './components/AuroraWaves.vue'
</script>

<template>
  <div class="relative w-full h-screen">
    <!-- The background sits absolutely positioned -->
    <div class="absolute inset-0 -z-10">
      <AuroraWaves />
    </div>
    
    <!-- Your content goes here -->
    <main class="relative z-10 flex items-center justify-center h-full">
      <h1 class="text-white text-6xl font-bold">Hello World</h1>
    </main>
  </div>
</template>

🛠 Tech Stack

Built on the shoulders of giants.

Tech Stack

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

Distributed under the MIT License. See LICENSE for more information.


Built with ❤️ by the OpenBackgrounds Team

About

A curated collection of stunning animated backgrounds built with Three.js, WebGL, and Canvas that helps you ship fast and scale without limits.

Resources

Stars

Watchers

Forks