-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStartupWindow.xaml
More file actions
385 lines (361 loc) · 16.6 KB
/
StartupWindow.xaml
File metadata and controls
385 lines (361 loc) · 16.6 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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
<Window x:Class="Aimmy2.StartupWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Aimmy AI"
Width="670"
Height="444"
WindowStyle="None"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
AllowsTransparency="True"
Background="Transparent"
Topmost="True"
ShowInTaskbar="False"
SnapsToDevicePixels="True"
UseLayoutRounding="True"
RenderOptions.BitmapScalingMode="HighQuality"
Loaded="Window_Loaded">
<Window.Resources>
<!-- Theme colors that can be updated dynamically -->
<SolidColorBrush x:Key="ThemeColor" Color="#FF722ED1"/>
<SolidColorBrush x:Key="ThemeColorDark" Color="#FF531DAB"/>
<SolidColorBrush x:Key="ThemeColorLight" Color="#FF8B3FE5"/>
<SolidColorBrush x:Key="ThemeGradientDark" Color="#FF1A0B2E"/>
<!-- Main logo reveal animation -->
<Storyboard x:Key="LogoRevealAnimation">
<!-- Logo scale -->
<DoubleAnimation Storyboard.TargetName="LogoScale"
Storyboard.TargetProperty="ScaleX"
From="0.3"
To="1"
Duration="0:0:1.2">
<DoubleAnimation.EasingFunction>
<BackEase EasingMode="EaseOut"
Amplitude="0.8"/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<DoubleAnimation Storyboard.TargetName="LogoScale"
Storyboard.TargetProperty="ScaleY"
From="0.3"
To="1"
Duration="0:0:1.2">
<DoubleAnimation.EasingFunction>
<BackEase EasingMode="EaseOut"
Amplitude="0.8"/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<!-- Logo rotation -->
<DoubleAnimation Storyboard.TargetName="LogoRotation"
Storyboard.TargetProperty="Angle"
From="-180"
To="0"
Duration="0:0:1.2">
<DoubleAnimation.EasingFunction>
<QuarticEase EasingMode="EaseOut"/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<!-- Logo opacity -->
<DoubleAnimation Storyboard.TargetName="AimmyLogo"
Storyboard.TargetProperty="Opacity"
From="0"
To="1"
Duration="0:0:0.8"/>
</Storyboard>
<!-- Pulse animation -->
<Storyboard x:Key="PulseAnimation"
RepeatBehavior="Forever">
<DoubleAnimation Storyboard.TargetName="PulseRing"
Storyboard.TargetProperty="Opacity"
From="0.6"
To="0"
Duration="0:0:2"/>
<DoubleAnimation Storyboard.TargetName="PulseScale"
Storyboard.TargetProperty="ScaleX"
From="0.6"
To="1.3"
Duration="0:0:2"/>
<DoubleAnimation Storyboard.TargetName="PulseScale"
Storyboard.TargetProperty="ScaleY"
From="0.6"
To="1.3"
Duration="0:0:2"/>
</Storyboard>
<!-- Text reveal animation -->
<Storyboard x:Key="TextRevealAnimation">
<!-- Title -->
<DoubleAnimation Storyboard.TargetName="TitleText"
Storyboard.TargetProperty="Opacity"
From="0"
To="1"
Duration="0:0:0.6"
BeginTime="0:0:0.4"/>
<ThicknessAnimation Storyboard.TargetName="TitleText"
Storyboard.TargetProperty="Margin"
From="0,20,0,0"
To="0,0,0,0"
Duration="0:0:0.6"
BeginTime="0:0:0.4">
<ThicknessAnimation.EasingFunction>
<QuarticEase EasingMode="EaseOut"/>
</ThicknessAnimation.EasingFunction>
</ThicknessAnimation>
<!-- Subtitle -->
<DoubleAnimation Storyboard.TargetName="SubtitleText"
Storyboard.TargetProperty="Opacity"
From="0"
To="1"
Duration="0:0:0.4"
BeginTime="0:0:0.8"/>
<!-- Loading indicator -->
<DoubleAnimation Storyboard.TargetName="LoadingIndicator"
Storyboard.TargetProperty="Opacity"
From="0"
To="1"
Duration="0:0:0.3"
BeginTime="0:0:1"/>
</Storyboard>
<!-- Particle animation -->
<Storyboard x:Key="ParticleAnimation"
RepeatBehavior="Forever">
<DoubleAnimation Storyboard.TargetName="Particle1Y"
Storyboard.TargetProperty="Y"
From="0"
To="-100"
Duration="0:0:3"
AutoReverse="True"/>
<DoubleAnimation Storyboard.TargetName="Particle2Y"
Storyboard.TargetProperty="Y"
From="0"
To="-80"
Duration="0:0:2.5"
AutoReverse="True"/>
<DoubleAnimation Storyboard.TargetName="Particle3Y"
Storyboard.TargetProperty="Y"
From="0"
To="-120"
Duration="0:0:3.5"
AutoReverse="True"/>
</Storyboard>
<!-- Loading dots animation -->
<Storyboard x:Key="LoadingDotsAnimation"
RepeatBehavior="Forever">
<DoubleAnimation Storyboard.TargetName="Dot1"
Storyboard.TargetProperty="Opacity"
From="0.3"
To="1"
Duration="0:0:0.4"
AutoReverse="True"/>
<DoubleAnimation Storyboard.TargetName="Dot2"
Storyboard.TargetProperty="Opacity"
From="0.3"
To="1"
Duration="0:0:0.4"
AutoReverse="True"
BeginTime="0:0:0.1"/>
<DoubleAnimation Storyboard.TargetName="Dot3"
Storyboard.TargetProperty="Opacity"
From="0.3"
To="1"
Duration="0:0:0.4"
AutoReverse="True"
BeginTime="0:0:0.2"/>
</Storyboard>
</Window.Resources>
<!-- RevealContainer animates a clipping rectangle that starts as 280×280 at center -->
<Grid x:Name="RevealContainer"
ClipToBounds="True">
<Grid.Clip>
<RectangleGeometry x:Name="RevealClip">
<RectangleGeometry.Rect>
<Rect X="195"
Y="82"
Width="280"
Height="280"/>
</RectangleGeometry.Rect>
<!-- Rounded corners to the clipping geometry -->
<RectangleGeometry.RadiusX>20</RectangleGeometry.RadiusX>
<RectangleGeometry.RadiusY>20</RectangleGeometry.RadiusY>
</RectangleGeometry>
</Grid.Clip>
<Border x:Name="MainBorder"
CornerRadius="20"
BorderThickness="0">
<Border.Background>
<RadialGradientBrush GradientOrigin="0.5,0.5"
Center="0.5,0.5"
RadiusX="1"
RadiusY="1">
<GradientStop Color="#FF0A0A0A"
Offset="0"/>
<GradientStop x:Name="StartupGradientMid" Color="#FF1A0B2E"
Offset="0.7"/>
<GradientStop x:Name="StartupGradientOuter" Color="#FF2D1B69"
Offset="1"/>
</RadialGradientBrush>
</Border.Background>
<Grid x:Name="ContentContainer"
RenderTransformOrigin="0.5,0.5">
<!-- Background particles -->
<Canvas x:Name="ParticleCanvas">
<!-- Particles will be generated dynamically -->
</Canvas>
<!-- Glow effect border -->
<Border CornerRadius="20"
BorderThickness="1"
Opacity="0.5">
<Border.BorderBrush>
<LinearGradientBrush StartPoint="0,0"
EndPoint="1,1">
<GradientStop x:Name="GlowGradient1" Color="#FF722ED1"
Offset="0"/>
<GradientStop x:Name="GlowGradientMiddle" Color="#FF722ED1"
Offset="0.5"/>
<GradientStop x:Name="GlowGradient2" Color="#FF722ED1"
Offset="1"/>
</LinearGradientBrush>
</Border.BorderBrush>
<Border.Effect>
<BlurEffect Radius="10"/>
</Border.Effect>
</Border>
<!-- Main content -->
<StackPanel VerticalAlignment="Center"
HorizontalAlignment="Center">
<!-- Logo container with orbital elements -->
<Grid Width="120"
Height="120"
Margin="0,0,0,15">
<!-- Pulse ring -->
<Ellipse x:Name="PulseRing"
Stroke="{DynamicResource ThemeColor}"
StrokeThickness="2"
Width="100"
Height="100"
Opacity="0">
<Ellipse.RenderTransform>
<ScaleTransform x:Name="PulseScale"
CenterX="50"
CenterY="50"/>
</Ellipse.RenderTransform>
</Ellipse>
<!-- Central glow -->
<Ellipse Fill="{DynamicResource ThemeColor}"
Width="40"
Height="40"
Opacity="0.3">
<Ellipse.Effect>
<BlurEffect Radius="20"/>
</Ellipse.Effect>
</Ellipse>
<!-- Logo -->
<Path x:Name="AimmyLogo"
Fill="White"
Stretch="Fill"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Width="40"
Height="20"
Opacity="0">
<Path.RenderTransform>
<TransformGroup>
<ScaleTransform x:Name="LogoScale"
CenterX="20"
CenterY="10"/>
<RotateTransform x:Name="LogoRotation"
CenterX="20"
CenterY="10"/>
</TransformGroup>
</Path.RenderTransform>
<Path.Data>
<PathGeometry Figures="M 18.2472,490.72756 0.18686636,472.66723 153.0173,318.84293 305.84774,165.01862 l 17.74245,17.70593 17.74244,17.70592 17.0189,-16.98112 c 9.36039,-9.33961 17.60957,-16.98112 18.33151,-16.98112 0.72194,0 69.86022,68.54563 153.64061,152.32363 l 152.32798,152.32362 -18.32581,18.45368 -18.3258,18.45368 -152.3021,-153.11064 -152.3021,-153.11063 -20.36457,20.6423 C 309.83073,233.79713 241.18587,302.86906 168.4871,375.93703 L 36.307534,508.7879 Z"
FillRule="NonZero"/>
</Path.Data>
<Path.Effect>
<DropShadowEffect Color="White"
BlurRadius="10"
ShadowDepth="0"/>
</Path.Effect>
</Path>
</Grid>
<!-- Title with gradient -->
<TextBlock x:Name="TitleText"
Text="AIMMY"
FontSize="32"
FontWeight="Light"
HorizontalAlignment="Center"
Opacity="0"
FontFamily="Segoe UI Light"
Margin="0,0,0,8">
<TextBlock.Foreground>
<LinearGradientBrush StartPoint="0,0"
EndPoint="1,0">
<GradientStop Color="#FFFFFFFF"
Offset="0"/>
<GradientStop Color="#FFB8B8B8"
Offset="1"/>
</LinearGradientBrush>
</TextBlock.Foreground>
</TextBlock>
<!-- Subtitle -->
<TextBlock x:Name="SubtitleText"
Text="AI PRECISION TARGETING"
FontSize="10"
FontWeight="Normal"
Foreground="#FF888888"
HorizontalAlignment="Center"
Opacity="0"
FontFamily="Segoe UI"
Margin="0,0,0,25"/>
<!-- Loading indicator -->
<Grid x:Name="LoadingIndicator"
Opacity="0"
Height="35">
<StackPanel Orientation="Horizontal"
HorizontalAlignment="Center"
VerticalAlignment="Top">
<Ellipse x:Name="Dot1"
Width="4"
Height="4"
Fill="{DynamicResource ThemeColor}"
Margin="0,0,8,0">
<Ellipse.Effect>
<DropShadowEffect x:Name="Dot1Shadow" Color="#FF722ED1"
BlurRadius="4"
ShadowDepth="0"/>
</Ellipse.Effect>
</Ellipse>
<Ellipse x:Name="Dot2"
Width="4"
Height="4"
Fill="{DynamicResource ThemeColor}"
Margin="0,0,8,0">
<Ellipse.Effect>
<DropShadowEffect x:Name="Dot2Shadow" Color="#FF722ED1"
BlurRadius="4"
ShadowDepth="0"/>
</Ellipse.Effect>
</Ellipse>
<Ellipse x:Name="Dot3"
Width="4"
Height="4"
Fill="{DynamicResource ThemeColor}">
<Ellipse.Effect>
<DropShadowEffect x:Name="Dot3Shadow" Color="#FF722ED1"
BlurRadius="4"
ShadowDepth="0"/>
</Ellipse.Effect>
</Ellipse>
</StackPanel>
<TextBlock x:Name="LoadingText"
Text="INITIALIZING AIMMY AI"
FontSize="9"
Foreground="#FF666666"
HorizontalAlignment="Center"
VerticalAlignment="Bottom"
FontFamily="Segoe UI"/>
</Grid>
</StackPanel>
</Grid>
</Border>
</Grid>
</Window>