Хочу создать html страницу в киберпанк тематике. Размышляю о том, как могут выглядеть…
- User
Хочу создать html страницу в киберпанк тематике. Размышляю о том, как могут выглядеть часы на такой странице. Помоги пожалуйста. Предложи несколько вариантов в виде html документаПредложи варианты, сходные с реальными часами, например с сегментными индикаторами. Придумай еще интересные варианты
Assistant
Вот несколько вариантов часов в киберпанк стиле:
1. Сегментные цифровые часы
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Киберпанк Часы - Сегментные</title> <style> body { margin: 0; padding: 0; background: #0a0a0a; font-family: 'Courier New', monospace; display: flex; justify-content: center; align-items: center; min-height: 100vh; overflow: hidden; } .clock-container { background: linear-gradient(145deg, #1a1a1a, #0d0d0d); border: 2px solid #00ffff; border-radius: 15px; padding: 30px; box-shadow: 0 0 30px #00ffff, inset 0 0 20px rgba(0, 255, 255, 0.1); position: relative; } .clock-container::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(45deg, #ff0080, #00ffff, #ff0080); border-radius: 15px; z-index: -1; animation: borderGlow 2s ease-in-out infinite alternate; } .digital-display { display: flex; gap: 20px; align-items: center; } .digit { width: 80px; height: 120px; position: relative; margin: 0 5px; } .segment { position: absolute; background: #333; transition: all 0.3s ease; } .segment.active { background: #00ffff; box-shadow: 0 0 10px #00ffff; } .segment.top { width: 60px; height: 8px; top: 0; left: 10px; } .segment.top-right { width: 8px; height: 45px; top: 10px; right: 0; } .segment.top-left { width: 8px; height: 45px; top: 10px; left: 0; } .segment.middle { width: 60px; height: 8px; top: 56px; left: 10px; } .segment.bottom-right { width: 8px; height: 45px; bottom: 10px; right: 0; } .segment.bottom-left { width: 8px; height: 45px; bottom: 10px; left: 0; } .segment.bottom { width: 60px; height: 8px; bottom: 0; left: 10px; } .separator { color: #00ffff; font-size: 60px; font-weight: bold; text-shadow: 0 0 10px #00ffff; animation: blink 1s infinite; } @keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0.3; } } @keyframes borderGlow { 0% { opacity: 0.5; } 100% { opacity: 1; } } .label { text-align: center; color: #00ffff; font-size: 14px; margin-top: 20px; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 5px #00ffff; } </style> </head> <body> <div class="clock-container"> <div class="digital-display"> <div class="digit" id="hour1"></div> <div class="digit" id="hour2"></div> <div class="separator">:</div> <div class="digit" id="min1"></div> <div class="digit" id="min2"></div> <div class="separator">:</div> <div class="digit" id="sec1"></div> <div class="digit" id="sec2"></div> </div> <div class="label">NEURAL INTERFACE TIME</div> </div> <script> const segmentPatterns = { 0: [1,1,1,0,1,1,1], 1: [0,1,0,0,1,0,0], 2: [1,1,0,1,0,1,1], 3: [1,1,0,1,1,0,1], 4: [0,1,1,1,1,0,0], 5: [1,0,1,1,1,0,1], 6: [1,0,1,1,1,1,1], 7: [1,1,0,0,1,0,0], 8: [1,1,1,1,1,1,1], 9: [1,1,1,1,1,0,1] }; function createDigit(container) { const segments = ['top', 'top-right', 'top-left', 'middle', 'bottom-right', 'bottom-left', 'bottom']; segments.forEach(seg => { const segment = document.createElement('div'); segment.className = `segment ${seg}`; container.appendChild(segment); }); } function updateDigit(container, digit) { const segments = container.querySelectorAll('.segment'); const pattern = segmentPatterns[digit]; segments.forEach((seg, index) => { seg.classList.toggle('active', pattern[index] === 1); }); } // Создаем сегменты для всех цифр ['hour1', 'hour2', 'min1', 'min2', 'sec1', 'sec2'].forEach(id => { createDigit(document.getElementById(id)); }); function updateClock() { const now = new Date(); const hours = String(now.getHours()).padStart(2, '0'); const minutes = String(now.getMinutes()).padStart(2, '0'); const seconds = String(now.getSeconds()).padStart(2, '0'); updateDigit(document.getElementById('hour1'), parseInt(hours[0])); updateDigit(document.getElementById('hour2'), parseInt(hours[1])); updateDigit(document.getElementById('min1'), parseInt(minutes[0])); updateDigit(document.getElementById('min2'), parseInt(minutes[1])); updateDigit(document.getElementById('sec1'), parseInt(seconds[0])); updateDigit(document.getElementById('sec2'), parseInt(seconds[1])); } setInterval(updateClock, 1000); updateClock(); </script> </body> </html>2. Голографические часы
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Киберпанк Часы - Голограмма</title> <style> body { margin: 0; padding: 0; background: radial-gradient(circle at center, #001122, #000000); font-family: 'Courier New', monospace; display: flex; justify-content: center; align-items: center; min-height: 100vh; overflow: hidden; } .hologram-container { perspective: 1000px; position: relative; } .hologram-base { width: 300px; height: 20px; background: linear-gradient(90deg, transparent, #00ffff, transparent); border-radius: 50%; position: relative; animation: baseGlow 2s ease-in-out infinite alternate; } .hologram-projection { position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 400px; height: 150px; background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 128, 0.1), rgba(0, 255, 255, 0.1)); border: 2px solid rgba(0, 255, 255, 0.5); border-radius: 10px; backdrop-filter: blur(2px); animation: float 3s ease-in-out infinite; } .time-display { text-align: center; padding: 30px; color: #00ffff; font-size: 48px; font-weight: bold; text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff; animation: textGlitch 0.1s infinite; } .date-display { text-align: center; color: #ff0080; font-size: 16px; margin-top: 10px; text-shadow: 0 0 5px #ff0080; } .scan-lines { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient( 0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.1) 2px, rgba(0, 255, 255, 0.1) 4px ); pointer-events: none; animation: scanMove 2s linear infinite; } .particles { position: absolute; width: 100%; height: 100%; overflow: hidden; } .particle { position: absolute; width: 2px; height: 2px; background: #00ffff; border-radius: 50%; animation: particleFloat 4s linear infinite; } @keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0px) rotateX(0deg); } 50% { transform: translateX(-50%) translateY(-10px) rotateX(5deg); } } @keyframes baseGlow { 0% { box-shadow: 0 0 20px #00ffff; } 100% { box-shadow: 0 0 40px #00ffff, 0 0 60px #00ffff; } } @keyframes textGlitch { 0%, 90%, 100% { transform: translateX(0); } 95% { transform: translateX(2px); } } @keyframes scanMove { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } } @keyframes particleFloat { 0% { transform: translateY(100px) translateX(0px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100px) translateX(50px); opacity: 0; } } </style> </head> <body> <div class="hologram-container"> <div class="hologram-base"></div> <div class="hologram-projection"> <div class="particles" id="particles"></div> <div class="scan-lines"></div> <div class="time-display" id="time">00:00:00</div> <div class="date-display" id="date">LOADING...</div> </div> </div> <script> function updateTime() { const now = new Date(); const time = now.toLocaleTimeString('ru-RU', { hour12: false }); const date = now.toLocaleDateString('ru-RU', { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }).toUpperCase(); document.getElementById('time').textContent = time; document.getElementById('date').textContent = date; } function createParticles() { const container = document.getElementById('particles'); for (let i = 0; i < 20; i++) { const particle = document.createElement('div'); particle.className = 'particle'; particle.style.left = Math.random() * 100 + '%'; particle.style.animationDelay = Math.random() * 4 + 's'; particle.style.animationDuration = (Math.random() * 3 + 2) + 's'; container.appendChild(particle); } } setInterval(updateTime, 1000); updateTime(); createParticles(); </script> </body> </html>3. Матричные часы с кодом
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Киберпанк Часы - Матрица</title> <style> body { margin: 0; padding: 0; background: #000; font-family: 'Courier New', monospace; overflow: hidden; position: relative; } .matrix-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; } .clock-overlay { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; text-align: center; background: rgba(0, 0, 0, 0.8); border: 2px solid #00ff00; border-radius: 20px; padding: 40px; backdrop-filter: blur(5px); } .matrix-time { font-size: 72px; color: #00ff00; text-shadow: 0 0 20px #00ff00; margin-bottom: 20px; font-weight: bold; animation: matrixGlow 2s ease-in-out infinite alternate; } .system-info { color: #00ff00; font-size: 14px; margin: 10px 0; opacity: 0.8; } .code-stream { position: absolute; top: 0; color: #00ff00; font-size: 14px; line-height: 14px; animation: fall linear infinite; opacity: 0.7; } @keyframes fall { 0% { transform: translateY(-100vh); } 100% { transform: translateY(100vh); } } @keyframes mat
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.