-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
215 lines (202 loc) · 7.46 KB
/
Copy pathindex.html
File metadata and controls
215 lines (202 loc) · 7.46 KB
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
207
208
209
210
211
212
213
214
215
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ParaText</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=Montserrat:ital,wght@0,900;1,900&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="assets/logo.png" />
</head>
<body>
<button class="lang-toggle-btn" id="langBtn" title="Change language">
<span id="langFlag">
<img
src="https://flagcdn.com/w40/gb.png"
alt="English"
class="flag-img"
/>
</span>
</button>
<div class="controls-container">
<button class="toggle-controls-btn" id="showMenuBtn">
<span>⚙️</span> Settings
</button>
<div class="controls hidden" id="controlsPanel">
<div class="controls-header">
<span class="controls-title">Settings</span>
<button class="minimize-btn" id="hideMenuBtn" title="Hide settings">
✕
</button>
</div>
<div style="display: flex; flex-direction: column; gap: 6px">
<label for="textInput">Text (Max 30 chars)</label>
<input
type="text"
id="textInput"
value="ParaText"
autocomplete="off"
maxlength="30"
/>
</div>
<div style="display: flex; flex-direction: column; gap: 6px">
<label for="modeSelect">Parallax Effect</label>
<select id="modeSelect">
<option value="separated">Separated (Standard)</option>
<option value="follow">Grouped (Follow)</option>
<option value="distant">Distant (Explosion)</option>
<option value="inverted">Inverted (Mirror)</option>
<option value="chaos">Chaos (Disordered)</option>
<option value="wave">Elastic Wave</option>
<option value="customEffect">⚙️ Custom...</option>
</select>
</div>
<div class="custom-effect-picker" id="customEffectPickerZone">
<div class="effect-field">
<label for="customDistance">Distance</label>
<input
type="range"
id="customDistance"
min="1"
max="50"
value="15"
/>
</div>
<div class="effect-field">
<label for="customFluidity">Fluidity (Speed)</label>
<input
type="range"
id="customFluidity"
min="1"
max="50"
value="15"
/>
</div>
<div class="effect-field">
<label for="customElasticity">Elasticity</label>
<input
type="range"
id="customElasticity"
min="0"
max="40"
value="12"
/>
</div>
<div class="effect-field">
<label for="customTime">Temporal Factor</label>
<input type="range" id="customTime" min="0" max="30" value="10" />
</div>
</div>
<div style="display: flex; flex-direction: column; gap: 6px">
<label for="colorSelect">Color Palette</label>
<select id="colorSelect">
<option value="sunset">Sunset Glow (Original)</option>
<option value="cyberpunk">Cyberpunk</option>
<option value="neonAcid">Neon Acid 🧪</option>
<option value="forest">Mystic Forest</option>
<option value="iceFire">Ice & Fire</option>
<option value="deepOcean">Deep Ocean 🌊</option>
<option value="volcano">Volcano 🔥</option>
<option value="vintage">Vintage Pastel 🌸</option>
<option value="custom">🎨 Custom...</option>
</select>
</div>
<div class="custom-color-picker" id="customColorPickerZone">
<label>Fluid Gradient</label>
<div class="color-pickers-holder">
<input type="color" id="customColor1" value="#00f0ff" />
<input type="color" id="customColor2" value="#ff00ff" />
</div>
</div>
<div style="display: flex; flex-direction: column; gap: 8px">
<label for="factorRange"
>Layer Count: <span id="layerCountDisplay">5</span></label
>
<input type="range" id="factorRange" min="1" max="10" value="5" />
</div>
</div>
</div>
<div class="doodle-container" id="doodleContainer"></div>
<footer>
<div class="footer-left">
<button class="footer-btn" id="openSourceBtn">Open-Source</button>
<a
href="https://github.com/Pyronixus/ParaText"
target="_blank"
class="footer-btn"
id="repoBtn"
>Repository</a
>
</div>
<div class="footer-center">ParaText</div>
<div class="footer-right">
<div class="profile-trigger" id="pyroBtn">
<img
src="https://avatars.githubusercontent.com/u/264767398?v=4&size=64"
alt="Pyro Avatar"
/>
<span>Pyro</span>
</div>
</div>
</footer>
<div class="modal-overlay" id="modalOS">
<div class="modal-box">
<div class="modal-title">Open-Source Code</div>
<div class="modal-body">
<p>
This project is open-source and available on GitHub with a
<a href="https://opensource.org/license/mit" target="_blank"
>MIT license</a
>.
</p>
<p>
Feel free to clone, fork, or contribute to the repository. You can
use it to build gorgeous typography layouts, study multi-layered CSS
parallax mechanics, or experiment with kinetic visual effects
controlled entirely via custom properties.
</p>
</div>
<div class="modal-footer">
<a
href="https://github.com/Pyronixus/ParaText"
target="_blank"
class="modal-link-btn"
id="repoBtn-modalOS"
>Repository</a>
<button class="modal-close-btn" id="closeOS">Close</button>
</div>
</div>
</div>
<div class="modal-overlay" id="modalPyro">
<div class="modal-box">
<center>
<img
src="https://avatars.githubusercontent.com/u/264767398?v=4&size=64"
class="pyro-avatar-big"
alt="Pyro"
/>
</center>
<div class="modal-title" style="text-align: center">About Pyro</div>
<div class="modal-body" style="text-align: center">
Passionate creator and developer of modern interactive interfaces and
immersive visual effects.
</div>
<div class="modal-footer" style="justify-content: center">
<button class="modal-close-btn" id="closePyro">Close</button>
<a
href="https://github.com/Pyronixus"
target="_blank"
class="modal-link-btn"
>GitHub Profile</a
>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>