summaryrefslogtreecommitdiff
path: root/index.html
blob: 7c85ebf374a9da6bdc9fbb1719d4b4e0376de8f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vibes</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=VT323&family=Fredoka:wght@400;600&display=swap"
        rel="stylesheet">
    <script src="https://cdn.usefathom.com/script.js" data-site="YZVJPTBZ" defer></script>
    <style>
        body {
            font-family: 'Fredoka', sans-serif;
            background-color: #ffd6e0;
            color: #5a3d5c;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            text-align: center;
            background-image:
                linear-gradient(45deg, #ffd6e0 25%, transparent 25%),
                linear-gradient(-45deg, #ffd6e0 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #ffd6e0 75%),
                linear-gradient(-45deg, transparent 75%, #ffd6e0 75%);
            background-size: 20px 20px;
            background-color: #ffecf1;
        }

        .container {
            max-width: 800px;
            padding: 2rem;
            margin: 2rem;
            background-color: rgba(255, 255, 255, 0.85);
            border-radius: 20px;
            box-shadow: 0 10px 25px rgba(90, 61, 92, 0.2);
            border: 5px solid #c1a5e8;
            image-rendering: pixelated;
        }

        h1 {
            font-family: 'VT323', monospace;
            font-size: 5rem;
            margin: 1rem;
            background: linear-gradient(45deg, #ff6ec4, #7873f5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 3px 3px 0px rgba(255, 110, 196, 0.3);
            letter-spacing: 2px;
        }

        p {
            font-size: 1.2rem;
            line-height: 1.6;
            margin-bottom: 2rem;
            color: #7c5295;
        }

        .experiments {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 2rem;
        }

        .experiment-card {
            background: #c1a5e8;
            border-radius: 15px;
            padding: 1.5rem;
            transition: all 0.3s ease;
            text-decoration: none;
            color: #5a3d5c;
            border: 3px dashed #ff6ec4;
            box-shadow: 5px 5px 0px #7873f5;
            transform: rotate(-1deg);
        }

        .experiment-card:hover {
            transform: translateY(-5px) rotate(1deg);
            box-shadow: 8px 8px 0px #7873f5;
            background: #d4c1f0;
        }

        .experiment-title {
            font-family: 'VT323', monospace;
            font-size: 2rem;
            margin-bottom: 0.5rem;
            color: #5a3d5c;
        }

        .experiment-description {
            color: #5a3d5c;
            font-size: 1rem;
        }

        footer {
            margin-top: 4rem;
            color: #7c5295;
            font-size: 0.9rem;
            font-family: 'VT323', monospace;
            letter-spacing: 1px;
        }
    </style>
</head>

<body>
    <div class="container">
        <h1>Vibes</h1>
        <p>A collection of cute & creative web experiments and visual experiences ✨</p>

        <div class="experiments">
            <a href="btctick/" class="experiment-card">
                <div class="experiment-title">BTC Ticker</div>
                <div class="experiment-description">
                    Live Bitcoin price visualization with a cool animated chart showing price history.
                </div>
            </a>

            <a href="isometric/" class="experiment-card">
                <div class="experiment-title">Isometric Triangles</div>
                <div class="experiment-description">
                    Dynamic background with animated geometric shapes in an isometric perspective.
                </div>
            </a>

            <a href="lemmings/" class="experiment-card">
                <div class="experiment-title">Lemmings</div>
                <div class="experiment-description">
                    Cute green & blue lemmings walking and falling in a dynamic pixelated environment.
                </div>
            </a>

            <a href="zengarden/" class="experiment-card">
                <div class="experiment-title">Digital Zen Garden</div>
                <div class="experiment-description">
                    A meditative drag-and-drop experience where you can arrange elements (stones, plants, water) with
                    subtle animations.
                </div>
            </a>

            <a href="particles/" class="experiment-card">
                <div class="experiment-title">Interactive Particle System</div>
                <div class="experiment-description">
                    A full-screen interactive particle system where particles respond to cursor movement, clicks, and
                    device tilt.
                </div>
            </a>

            <a href="trainride/" class="experiment-card">
                <div class="experiment-title">Train Ride Simulator</div>
                <div class="experiment-description">
                    A beautiful 3D train ride simulation from the driver's perspective with procedurally generated
                    tracks and scenery.
                </div>
            </a>

            <a href="soundscape/" class="experiment-card">
                <div class="experiment-title">Ambient Soundscape Generator</div>
                <div class="experiment-description">
                    Create beautiful, generative ambient soundscapes with customizable musical scales, modality, and
                    parameters that play continuously in the background.
                </div>
            </a>

            <a href="https://morsehero.com" class="experiment-card">
                <div class="experiment-title">Morse Hero</div>
                <div class="experiment-description">
                    A Morse Code learning game, helps you master the basic elements of Morse Code quickly.
                </div>
            </a>
        </div>

        <footer>
            Vibes created by <a href="https://yuv.al" class="home-link">Yuval Adam</a>, source code on <a
                href="https://github.com/yuvadm/vibes">GitHub</a>.
        </footer>
    </div>

    <script>
        // Function to shuffle the experiment cards on page load
        document.addEventListener('DOMContentLoaded', function () {
            const experimentsContainer = document.querySelector('.experiments');
            const experimentCards = Array.from(experimentsContainer.children);

            // Fisher-Yates shuffle algorithm
            for (let i = experimentCards.length - 1; i > 0; i--) {
                const j = Math.floor(Math.random() * (i + 1));
                // Swap elements
                [experimentCards[i], experimentCards[j]] = [experimentCards[j], experimentCards[i]];
            }

            // Clear container and append shuffled cards
            experimentsContainer.innerHTML = '';
            experimentCards.forEach(card => {
                experimentsContainer.appendChild(card);
            });
        });
    </script>
</body>

</html>