CreatingStuff's picture
make an original image for a mouse pad and include a good amount of depth to the image
bacaadb verified
Raw History Blame Contribute Delete
8.73 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cosmic Glide Mouse Mat</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<style>
#mousepad-design {
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
box-shadow:
0 25px 50px -12px rgba(0, 0, 0, 0.25),
0 0 60px 10px rgba(99, 102, 241, 0.2),
inset 0 0 40px rgba(167, 139, 250, 0.1);
transform-style: preserve-3d;
perspective: 1000px;
}
.grid-pattern {
background-image:
linear-gradient(rgba(99, 102, 241, 0.3) 1px, transparent 1px),
linear-gradient(90deg, rgba(99, 102, 241, 0.3) 1px, transparent 1px);
background-size: 40px 40px;
}
@keyframes pulse {
0%, 100% {
opacity: 0.8;
transform: translate(-50%, -50%) scale(1);
}
50% {
opacity: 1;
transform: translate(-50%, -50%) scale(1.05);
box-shadow: 0 0 80px 30px rgba(139, 92, 246, 0.3);
}
}
.pulse-animation {
animation: pulse 3s infinite;
}
</style>
</head>
<body class="bg-gray-900 min-h-screen flex items-center justify-center p-4">
<div class="max-w-6xl w-full">
<div class="text-center mb-12">
<h1 class="text-4xl md:text-5xl font-bold text-indigo-400 mb-4">Cosmic Glide</h1>
<p class="text-xl text-indigo-200">Premium Gaming Mouse Mat</p>
</div>
<div class="flex flex-col lg:flex-row gap-8 items-center">
<!-- Mouse Pad Design -->
<div id="mousepad-design" class="relative w-full max-w-2xl h-96 rounded-2xl overflow-hidden grid-pattern">
<!-- Cosmic Nebula Core -->
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
w-64 h-64 rounded-full bg-gradient-to-br from-indigo-600 via-purple-600 to-pink-500
opacity-90 blur-3xl pulse-animation z-10"></div>
<!-- 3D Nebula Layers -->
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
w-72 h-72 rounded-full bg-gradient-to-br from-indigo-700/30 to-purple-700/30
blur-xl z-20"></div>
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
w-96 h-96 rounded-full bg-gradient-to-br from-indigo-800/20 to-purple-800/20
blur-2xl z-10"></div>
<!-- Galactic Dust -->
<div class="absolute inset-0 z-30 opacity-80">
<div class="absolute top-1/4 left-1/4 w-3 h-3 bg-purple-300 rounded-full animate-pulse" style="box-shadow: 0 0 15px 2px rgba(216, 180, 254, 0.7);"></div>
<div class="absolute top-1/3 right-1/3 w-2 h-2 bg-indigo-300 rounded-full" style="box-shadow: 0 0 10px 1px rgba(129, 140, 248, 0.7);"></div>
<div class="absolute bottom-1/5 right-1/4 w-4 h-4 bg-pink-300 rounded-full" style="box-shadow: 0 0 20px 3px rgba(244, 114, 182, 0.6);"></div>
<div class="absolute bottom-1/3 left-1/3 w-2 h-2 bg-indigo-400 rounded-full animate-pulse" style="box-shadow: 0 0 12px 2px rgba(99, 102, 241, 0.6);"></div>
<div class="absolute top-1/5 right-1/5 w-3 h-3 bg-purple-400 rounded-full" style="box-shadow: 0 0 18px 3px rgba(167, 139, 250, 0.6);"></div>
</div>
<!-- Depth Elements -->
<div class="absolute inset-0 z-0">
<div class="absolute bottom-0 left-0 w-full h-1/3 bg-gradient-to-t from-gray-900/80 to-transparent"></div>
<div class="absolute top-0 right-0 w-1/2 h-full bg-gradient-to-l from-gray-900/50 to-transparent"></div>
</div>
<!-- 3D Grid -->
<div class="absolute inset-0 z-40 opacity-30">
<div class="absolute top-8 left-8 w-24 h-1 bg-indigo-400 transform rotate-45 origin-left"></div>
<div class="absolute bottom-12 right-12 w-32 h-1 bg-purple-400 transform -rotate-30 origin-right"></div>
<div class="absolute top-1/4 left-1/4 w-1 h-16 bg-indigo-300 transform rotate-15 origin-top"></div>
</div>
<!-- Interactive Effects -->
<div class="absolute inset-0 hover:opacity-80 transition-opacity duration-300 z-50">
<div class="absolute top-1/2 left-1/2 w-0 h-0 group-hover:w-96 group-hover:h-96
bg-gradient-to-br from-indigo-500/10 to-purple-500/10 rounded-full
transition-all duration-1000 transform -translate-x-1/2 -translate-y-1/2"></div>
</div>
<!-- Branding with Glow -->
<div class="absolute bottom-6 right-6 text-indigo-100 font-mono text-sm opacity-90 z-50"
style="text-shadow: 0 0 8px rgba(129, 140, 248, 0.7);">
COSMIC GLIDE™
</div>
</div>
<!-- Design Details -->
<div class="text-indigo-100 space-y-6 max-w-md">
<div>
<h3 class="text-2xl font-semibold text-indigo-300 mb-2">Design Features</h3>
<ul class="space-y-2">
<li class="flex items-start">
<i data-feather="check-circle" class="text-indigo-400 mr-2 mt-0.5"></i>
<span>Cosmic nebula pattern with subtle grid for precision</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-indigo-400 mr-2 mt-0.5"></i>
<span>Glow effect that responds to ambient light</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-indigo-400 mr-2 mt-0.5"></i>
<span>Non-slip rubber base with stitched edges</span>
</li>
</ul>
</div>
<div>
<h3 class="text-2xl font-semibold text-indigo-300 mb-2">Tech Specs</h3>
<div class="grid grid-cols-2 gap-4">
<div>
<p class="text-sm text-indigo-400">Dimensions</p>
<p class="font-medium">900mm × 400mm</p>
</div>
<div>
<p class="text-sm text-indigo-400">Thickness</p>
<p class="font-medium">4mm</p>
</div>
<div>
<p class="text-sm text-indigo-400">Surface</p>
<p class="font-medium">Micro-woven cloth</p>
</div>
<div>
<p class="text-sm text-indigo-400">Base</p>
<p class="font-medium">Natural rubber</p>
</div>
</div>
</div>
<button class="mt-6 px-8 py-3 bg-gradient-to-r from-indigo-600 to-purple-600 rounded-full font-medium text-white hover:opacity-90 transition-all shadow-lg hover:shadow-indigo-500/30">
Pre-order Now
</button>
</div>
</div>
</div>
<script>
VANTA.NET({
el: "body",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x4f46e5,
backgroundColor: 0x111827,
points: 8.00,
maxDistance: 20.00,
spacing: 16.00
})
feather.replace();
</script>
</body>
</html>