hot-tub-talk
v1.0.0
Published
A playful, animated web component for hot-tub-style conversations.
Readme
🛁 Hot Tub Talk
A delightful web component for embedding hot-tub-style conversations in HTML. Perfect for sharing wild thoughts and ideas in a bubbly, swirling hot tub UI.
✨ Features
- 🌊 WebGL-powered water physics with realistic ripples
- 🌙 Beautiful night-time ambiance with twinkling stars
- 💨 Dynamic water jets and steam effects
- 🖱️ Interactive water effects that respond to mouse movement
- 📱 Responsive design that works on all devices
- ⚡ Optimized performance with hardware acceleration
- 🎨 Customizable appearance and behavior

📦 Installation
pnpm add hot-tub-talk🚀 Usage
In HTML
<!-- Import the component -->
<script type="module">
import 'hot-tub-talk';
</script>
<!-- Use the component -->
<hot-tub-talk>
Is the universe a simulation? 🌌
Here's the evidence:
- The Mandela Effect 🤯
- Déjà vu 🔄
- Glitches in the Matrix 🐱💻
</hot-tub-talk>In React
import 'hot-tub-talk';
function App() {
return (
<hot-tub-talk>
Is consciousness just a simulation? 🤔
Let's discuss...
</hot-tub-talk>
);
}⚙️ Configuration
You can customize the hot tub behavior by passing options:
const options = {
resolution: 512, // Water simulation resolution
dropRadius: 15, // Size of water drops
perturbance: 0.02, // How much the water moves
interactive: true, // Enable mouse interaction
crossOrigin: '' // CORS setting for images
};
// Apply to an existing element
document.querySelector('hot-tub-talk').configure(options);🎨 Styling
The component uses CSS custom properties for easy styling:
hot-tub-talk {
--hot-tub-talk-background: rgba(30, 136, 229, 0.15);
--hot-tub-talk-text-color: white;
--hot-tub-talk-ripple-color: rgba(255, 255, 255, 0.2);
--hot-tub-talk-steam-opacity: 0.4;
--hot-tub-talk-border-radius: 20px;
}🔧 Browser Support
- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Mobile browsers with WebGL support
🤝 Contributing
We love contributions! Please check out our Contributing Guide for guidelines.
📝 License
Ethical AI License © Hue and Aye
🙏 Acknowledgments
Special thanks to:
- Trisha from Accounting for her endless enthusiasm
- The WebGL Ripple Effect community
- All our contributors and users
🐛 Troubleshooting
Common Issues
WebGL not supported
- The component will fallback to CSS-only effects
- Check browser compatibility
Performance Issues
- Try reducing the resolution option
- Disable interactive mode on mobile devices
CORS Issues with Images
- Set appropriate crossOrigin option
- Ensure images are served with correct headers
💡 Tips
- Use emojis to make your hot tub talks more expressive
- Keep content concise for best visual effect
- Experiment with different background colors
- Consider night mode for best ambiance
🔄 Updates
Check our CHANGELOG.md for latest updates and improvements.
