@bg-effects/blackhole
v1.0.2
Published
Black hole background effect with accretion disk and starfield, powered by OGL.
Readme
@bg-effects/blackhole
Black hole background effect with accretion disk and starfield, powered by OGL.
Features
- Shader-based black hole with accretion disk and halo
- Configurable mass, speed, color, and position
- Debug panel with real-time controls
- Responsive resize and clean lifecycle disposal
Installation
pnpm add @bg-effects/blackholeUsage
<script setup lang="ts">
import { Blackhole } from '@bg-effects/blackhole'
</script>
<template>
<Blackhole :mass="1.2" :speed="1.0" color="#ff6600" :positionX="0.5" :positionY="0.5" />
</template>License
MIT
