Redesign this project with a dreamlike, digital-universe aesthetic.
Browse filesThe page should feel like a cosmic dreamscape, where each floating bubble represents a thought drifting in space.
Make the bubbles look realistic and glass-like, not flat shapes — use transparency, soft light reflections, subtle glows, and smooth edges like real soap bubbles.
Each bubble should slightly reflect surrounding colors, with iridescent gradients (violet, cyan, pink).
Add depth and parallax: some bubbles closer, some further away, gently floating at different speeds.
The background should feel infinite and meditative, like a mix between deep space and a digital nebula — soft gradients, faint stars or particles, glowing fogs in motion.
Use subtle particle effects, light rays, and blur to enhance immersion, but keep the atmosphere calm and elegant, not chaotic.
The typography should be futuristic but delicate, centered, with white or light blue glow.
Overall mood: ethereal, fluid, inspiring — a place between technology and dreams.
6 unmodified lines78910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777844 unmodified lines1231241251261271281291301311321331341351361371381391401411421431441453 unmodified lines1491501511521531541551561571581591601611621631641658 unmodified lines17417517617717817918018118 unmodified lines2002012022032042052062072082092102112122132142152162172182192202212222232242252263 unmodified lines2302312322332342352362 unmodified lines2392402412422432442452462472482492502512522536 unmodified lines<script src="https://cdn.tailwindcss.com"></script><script src="https://unpkg.com/feather-icons"></script><script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.fog.min.js"></script><style>@keyframes float {0% { transform: translateY(0) rotate(0deg) scale(1); }50% { transform: translateY(-30px) rotate(3deg) scale(1.05); }100% { transform: translateY(0) rotate(0deg) scale(1); }}@keyframes fluid {0% { border-radius: 50% 30% 70% 60%/60% 40% 50% 40%; }50% { border-radius: 40% 60% 50% 70%/70% 50% 60% 50%; }100% { border-radius: 50% 30% 70% 60%/60% 40% 50% 40%; }}.bubble {animation: float 6s ease-in-out infinite, fluid 8s ease-in-out infinite;transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));border: 2px solid rgba(255,255,255,0.5);will-change: transform, filter;backdrop-filter: blur(2px);}.bubble:hover {transform: scale(1.1);filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));backdrop-filter: blur(4px);}.bubble-expanded {animation: none !important;transform: scale(1.8) !important;z-index: 100;backdrop-filter: blur(10px);border: 2px solid white;box-shadow: 0 25px 50px rgba(0,0,0,0.3);}.gradient-bg {background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);}.thought-content {opacity: 0;max-height: 0;transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);overflow: hidden;text-shadow: 0 1px 3px rgba(0,0,0,0.2);}.bubble-expanded .thought-content {opacity: 1;max-height: 300px;padding: 20px;background: rgba(0,0,0,0.3);border-radius: 20px;backdrop-filter: blur(5px);}</style></head><body class="gradient-bg h-screen overflow-hidden relative"><div id="vanta-bg" class="absolute inset-0 w-full h-full"></div><header class="relative z-10 py-6 px-4 text-center"><h1 class="text-5xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 to-purple-500"><span class="tracking-wider">MIND</span><span class="text-white">FLUX</span></h1><p class="text-cyan-200 mt-2 font-mono tracking-wider">DIGITAL DREAMSCAPE</p></header><main class="relative z-10 container mx-auto px-4 h-4/5 overflow-hidden"><div class="bubble-container grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4 relative h-full">44 unmodified lines</div></div></main><footer class="relative z-10 py-4 text-center text-cyan-300 text-sm font-mono"><p class="tracking-wider">CLICK TO REVEAL THOUGHTS</p><button id="add-bubble" class="mt-4 px-6 py-3 bg-gradient-to-r from-cyan-500 to-blue-600 rounded-full text-white hover:shadow-lg hover:shadow-cyan-500/30 transition-all"><i data-feather="plus-circle" class="inline"></i> ADD DREAM</button></footer><!-- Add Thought Modal --><div id="add-thought-modal" class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center z-50 hidden backdrop-blur-sm"><div class="bg-gradient-to-br from-gray-800 to-gray-900 rounded-2xl p-8 max-w-md w-full border border-gray-700 shadow-2xl"><h3 class="text-2xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 to-blue-500 mb-6">ADD DIGITAL DREAM</h3><textarea id="new-thought" class="w-full p-4 bg-gray-700 text-white rounded-xl border border-gray-600 focus:outline-none focus:ring-2 focus:ring-cyan-500 placeholder-gray-400" rows="5" placeholder="Enter your futuristic thought..."></textarea><div class="flex justify-end mt-6 space-x-3"><button id="cancel-thought" class="px-5 py-2.5 text-gray-300 hover:text-white rounded-xl hover:bg-gray-700 transition-all">CANCEL</button><button id="save-thought" class="px-5 py-2.5 bg-gradient-to-r from-cyan-500 to-blue-600 text-white rounded-xl hover:shadow-lg hover:shadow-cyan-500/30 transition-all">UPLOAD</button></div></div></div><script>// Initialize Vanta.js fog backgroundVANTA.FOG({3 unmodified linesgyroControls: false,minHeight: 200.00,minWidth: 200.00,highlightColor: 0x3a86ff,midtoneColor: 0x8338ec,lowlightColor: 0x0f0c29,baseColor: 0x14213d,blurFactor: 0.50,speed: 1.50,zoom: 0.80});// Initialize feather iconsdocument.addEventListener('DOMContentLoaded', function() {feather.replace();// Bubble click handlerconst bubbles = document.querySelectorAll('.bubble');8 unmodified lines// Toggle current bubblethis.classList.toggle('bubble-expanded');});});// Add thought buttonconst addBtn = document.getElementById('add-bubble');18 unmodified linesdocument.getElementById('new-thought').value = '';}});// Function to add new bubblefunction addNewBubble(text) {const container = document.querySelector('.bubble-container');const gradients = ['from-pink-500 to-purple-600','from-cyan-500 to-blue-600','from-emerald-400 to-teal-600','from-yellow-400 to-amber-600','from-violet-500 to-indigo-600','from-sky-400 to-blue-500','from-rose-500 to-pink-600'];const randomGradient = gradients[Math.floor(Math.random() * gradients.length)];const size = Math.floor(Math.random() * 40) + 20;const top = Math.random() * 80;const left = Math.random() * 80;const delay = Math.random() * 4;const bubble = document.createElement('div');bubble.className = `bubble bg-gradient-to-br ${randomGradient} w-${size} h-${size} flex items-center justify-center cursor-pointer p-4 absolute`;bubble.style.top = `${top}%`;bubble.style.left = `${left}%`;bubble.style.animationDelay = `${delay}s`;3 unmodified linesbubble.appendChild(content);container.appendChild(bubble);bubble.addEventListener('click', function() {document.querySelectorAll('.bubble-expanded').forEach(expBubble => {if (expBubble !== this) {expBubble.classList.remove('bubble-expanded');2 unmodified linesthis.classList.toggle('bubble-expanded');});}// Close modal when clicking outsidemodal.addEventListener('click', function(e) {if (e.target === modal) {modal.classList.add('hidden');document.getElementById('new-thought').value = '';}});});</script></body></html>6 unmodified lines78910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113244 unmodified lines1771781791801811821831841851861871881891901911921931941951961971981992002012022033 unmodified lines2072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702718 unmodified lines28028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031118 unmodified lines3303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823 unmodified lines3863873883893903913923933943953963973983992 unmodified lines4024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344356 unmodified lines<script src="https://cdn.tailwindcss.com"></script><script src="https://unpkg.com/feather-icons"></script><script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.fog.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script><style>@keyframes float {0% { transform: translateY(0) rotate(0deg) scale(1) translateZ(0); }50% { transform: translateY(-20px) rotate(3deg) scale(1.05) translateZ(0); }100% { transform: translateY(0) rotate(0deg) scale(1) translateZ(0); }}@keyframes fluid {0% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; }50% { border-radius: 30% 60% 70% 40%/50% 60% 30% 60%; }100% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; }}.bubble {animation: float 8s ease-in-out infinite, fluid 12s ease-in-out infinite;transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);will-change: transform, filter, opacity;position: absolute;background: radial-gradient(circle at 30% 30%,rgba(255,255,255,0.4) 0%,rgba(200,200,255,0.1) 20%,transparent 70%);box-shadow:inset 0 0 40px rgba(255,255,255,0.1),inset 10px 0 60px rgba(200,100,255,0.2),inset -10px 0 60px rgba(100,200,255,0.2),inset 10px 0 300px rgba(200,100,255,0.1),inset -10px 0 300px rgba(100,200,255,0.1),0 0 50px rgba(255,255,255,0.1),0 0 100px rgba(255,255,255,0.1);border: 1px solid rgba(255,255,255,0.2);backdrop-filter: blur(5px);opacity: 0.9;}.bubble::before {content: '';position: absolute;top: 5%;left: 20%;width: 30%;height: 30%;border-radius: 50%;background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);filter: blur(5px);opacity: 0.6;}.bubble:hover {transform: scale(1.15) translateZ(0);opacity: 1;box-shadow:inset 0 0 80px rgba(255,255,255,0.2),inset 20px 0 100px rgba(200,100,255,0.3),inset -20px 0 100px rgba(100,200,255,0.3),inset 20px 0 300px rgba(200,100,255,0.2),inset -20px 0 300px rgba(100,200,255,0.2),0 0 100px rgba(255,255,255,0.3),0 0 150px rgba(255,255,255,0.2);}.bubble-expanded {animation: none !important;transform: scale(1.5) translateZ(0) !important;z-index: 100;backdrop-filter: blur(20px);border: 1px solid rgba(255,255,255,0.4);box-shadow:inset 0 0 120px rgba(255,255,255,0.3),inset 40px 0 200px rgba(200,100,255,0.4),inset -40px 0 200px rgba(100,200,255,0.4),0 0 200px rgba(255,255,255,0.4);opacity: 1;}.cosmic-bg {background: radial-gradient(ellipse at bottom, #0f0c29 0%, #302b63 50%, #24243e 100%);}.thought-content {opacity: 0;max-height: 0;transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);overflow: hidden;text-shadow: 0 0 10px rgba(255,255,255,0.7);position: relative;z-index: 2;}.bubble-expanded .thought-content {opacity: 1;max-height: 300px;padding: 20px;background: rgba(0,0,0,0.15);backdrop-filter: blur(15px);border-radius: 20px;border: 1px solid rgba(255,255,255,0.1);}.stellar-text {text-shadow: 0 0 20px rgba(100, 200, 255, 0.7);letter-spacing: 2px;font-weight: 300;}</style></head><body class="cosmic-bg h-screen overflow-hidden relative"><div id="vanta-bg" class="absolute inset-0 w-full h-full"></div><!-- Floating Particles --><div id="particles-js" class="absolute inset-0 w-full h-full pointer-events-none"></div><header class="relative z-10 py-8 px-4 text-center"><h1 class="text-6xl font-light text-white stellar-text"><span class="tracking-widest">BUBBLE</span><span class="font-thin">VERSE</span></h1><p class="text-blue-100 mt-4 font-light tracking-widest text-lg">COSMIC THOUGHT CLOUD</p></header><main class="relative z-10 container mx-auto px-4 h-4/5 overflow-hidden"><div class="bubble-container grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4 relative h-full">44 unmodified lines</div></div></main><footer class="relative z-10 py-6 text-center text-blue-200 text-sm font-light"><p class="tracking-widest mb-6">CLICK TO REVEAL COSMIC THOUGHTS</p><button id="add-bubble" class="px-8 py-3.5 bg-gradient-to-r from-blue-500 to-purple-600 rounded-full text-white hover:shadow-xl hover:shadow-blue-500/30 transition-all duration-300 transform hover:scale-105"><i data-feather="plus-circle" class="inline mr-2"></i> ADD COSMIC THOUGHT</button></footer><!-- Add Thought Modal --><div id="add-thought-modal" class="fixed inset-0 bg-black bg-opacity-80 flex items-center justify-center z-50 hidden backdrop-blur-lg"><div class="bg-gradient-to-br from-gray-900 to-gray-800 rounded-3xl p-10 max-w-md w-full border border-gray-700 shadow-2xl relative overflow-hidden"><div class="absolute -inset-1 bg-gradient-to-r from-blue-500 to-purple-600 opacity-20 blur-lg"></div><div class="relative"><h3 class="text-3xl font-light text-white mb-8 tracking-wider">ADD COSMIC THOUGHT</h3><textarea id="new-thought" class="w-full p-5 bg-gray-800/80 text-white rounded-2xl border border-gray-700/50 focus:outline-none focus:ring-2 focus:ring-blue-500/50 placeholder-gray-400 backdrop-blur-sm" rows="5" placeholder="Whisper your thought to the universe..."></textarea><div class="flex justify-end mt-8 space-x-4"><button id="cancel-thought" class="px-6 py-2.5 text-gray-300 hover:text-white rounded-xl hover:bg-gray-700/50 transition-all duration-300">CANCEL</button><button id="save-thought" class="px-6 py-2.5 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-xl hover:shadow-xl hover:shadow-blue-500/40 transition-all duration-300 transform hover:scale-105">RELEASE</button></div></div></div></div><script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script><script>// Initialize Vanta.js fog backgroundVANTA.FOG({3 unmodified linesgyroControls: false,minHeight: 200.00,minWidth: 200.00,highlightColor: 0x7d7dff,midtoneColor: 0x5e5cff,lowlightColor: 0x2a2a7a,baseColor: 0x0a0a2a,blurFactor: 0.70,speed: 0.80,zoom: 0.60});// Initialize particles.jsparticlesJS('particles-js', {particles: {number: { value: 80, density: { enable: true, value_area: 800 } },color: { value: "#ffffff" },shape: { type: "circle" },opacity: { value: 0.5, random: true },size: { value: 2, random: true },line_linked: { enable: false },move: {enable: true,speed: 1,direction: "none",random: true,straight: false,out_mode: "out",bounce: false,attract: { enable: false, rotateX: 600, rotateY: 1200 }}},interactivity: {detect_on: "canvas",events: {onhover: { enable: true, mode: "repulse" },resize: true},modes: {repulse: { distance: 100, duration: 0.4 }}},retina_detect: true});// Initialize feather icons and animationsdocument.addEventListener('DOMContentLoaded', function() {// Animate header on loadgsap.from('header h1', {duration: 1.5,y: -50,opacity: 0,ease: "power3.out"});gsap.from('header p', {duration: 1.5,y: 50,opacity: 0,ease: "power3.out",delay: 0.3});feather.replace();// Bubble click handlerconst bubbles = document.querySelectorAll('.bubble');8 unmodified lines// Toggle current bubblethis.classList.toggle('bubble-expanded');if (this.classList.contains('bubble-expanded')) {gsap.to(this, {duration: 0.6,scale: 1.5,ease: "back.out(1.7)"});} else {gsap.to(this, {duration: 0.6,scale: 1,ease: "back.in(1.7)"});}});// Gentle floating animationgsap.to(bubble, {duration: 8 + Math.random() * 4,y: -20 + Math.random() * 40,x: -20 + Math.random() * 40,rotation: -5 + Math.random() * 10,ease: "sine.inOut",repeat: -1,yoyo: true});});// Add thought buttonconst addBtn = document.getElementById('add-bubble');18 unmodified linesdocument.getElementById('new-thought').value = '';}});// Function to add new bubble with entrance animationfunction addNewBubble(text) {const container = document.querySelector('.bubble-container');const colors = ['rgba(180,120,255,0.3)','rgba(120,180,255,0.3)','rgba(255,120,220,0.3)','rgba(120,255,220,0.3)','rgba(220,120,255,0.3)','rgba(120,220,255,0.3)'];const glows = ['rgba(200,100,255,0.3)','rgba(100,200,255,0.3)','rgba(255,100,200,0.3)','rgba(100,255,200,0.3)','rgba(200,100,255,0.3)','rgba(100,200,255,0.3)'];const colorIndex = Math.floor(Math.random() * colors.length);const baseColor = colors[colorIndex];const glowColor = glows[colorIndex];const size = Math.floor(Math.random() * 60) + 40;const top = Math.random() * 80;const left = Math.random() * 80;const delay = Math.random() * 8;const zDepth = Math.floor(Math.random() * 100) - 50;const bubble = document.createElement('div');bubble.className = `bubble w-${size} h-${size} flex items-center justify-center cursor-pointer p-4 absolute`;bubble.style.background = `radial-gradient(circle at 30% 30%,rgba(255,255,255,0.4) 0%,${baseColor} 20%,transparent 70%)`;bubble.style.boxShadow = `inset 0 0 40px rgba(255,255,255,0.1),inset 10px 0 60px ${glowColor},inset -10px 0 60px rgba(100,200,255,0.2),inset 10px 0 300px ${glowColor.replace('0.3', '0.1')},inset -10px 0 300px rgba(100,200,255,0.1),0 0 50px rgba(255,255,255,0.1),0 0 100px rgba(255,255,255,0.1)`;bubble.style.transform = `translateZ(${zDepth}px)`;bubble.style.top = `${top}%`;bubble.style.left = `${left}%`;bubble.style.animationDelay = `${delay}s`;3 unmodified linesbubble.appendChild(content);container.appendChild(bubble);// Entrance animationgsap.from(bubble, {duration: 1.5,scale: 0,opacity: 0,ease: "elastic.out(1, 0.5)"});bubble.addEventListener('click', function() {document.querySelectorAll('.bubble-expanded').forEach(expBubble => {if (expBubble !== this) {expBubble.classList.remove('bubble-expanded');2 unmodified linesthis.classList.toggle('bubble-expanded');});}// Close modal with animationmodal.addEventListener('click', function(e) {if (e.target === modal) {gsap.to(modal, {duration: 0.3,opacity: 0,onComplete: () => {modal.classList.add('hidden');document.getElementById('new-thought').value = '';gsap.set(modal, { opacity: 1 });}});}});// Animate all existing bubblesdocument.querySelectorAll('.bubble').forEach(bubble => {gsap.to(bubble, {duration: 10 + Math.random() * 10,y: -30 + Math.random() * 60,x: -30 + Math.random() * 60,rotation: -10 + Math.random() * 20,ease: "sine.inOut",repeat: -1,yoyo: true});});});</script></body></html>