-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
161 lines (142 loc) · 7.5 KB
/
index.html
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
<html>
<head>
<link rel="stylesheet" href="style.css">
<title>focat.me</title>
<meta name="theme-color" content="#000000">
<meta name="description" content="focat.me">
<meta name="keywords" content="focat, focat.me, focatme, focat me, focat.me">
<meta name="author" content="focat">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="focat.me">
<meta property="og:description" content="focat.me">
<meta property="og:url" content="https://focat.me">
<meta property="og:type" content="website">
<meta property="og:site_name" content="focat.me">
<script src="https://code.jquery.com/jquery-3.6.4.min.js" integrity="sha256-oP6HI9z1XaZNBrJURtCoUT5SUnxFr8s3BzRl+cbzUq8=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/gh/foobar404/wave.js/dist/bundle.js"></script>
</head>
<body onclick="startmusic();">
<script src="script.js"></script>
<span class="cursor"></span>
<script>
$(".cursor").css("opacity", 0);
// make cursor smoothly follow mouse
// var cursor = $(".cursor");
// var cWidth = 20;
// var cHeight = 20;
// var delay = 10;
// var mouseX = 0;
// var mouseY = 0;
// var posX = 0;
// var posY = 0;
// $(document).mousemove(function(e) {
// mouseX = e.pageX;
// mouseY = e.pageY;
// });
// function animate() {
// posX += (mouseX - posX) / delay;
// posY += (mouseY - posY) / delay;
// cursor.css("left", posX - cWidth / 2 + "px");
// cursor.css("top", posY - cHeight / 2 + "px");
// requestAnimationFrame(animate);
// }
// animate();
// // scale cursor on click
// $(document.body).click(function() {
// cursor.addClass("active");
// setTimeout(function() {
// cursor.removeClass("active");
// }, 200);
// });
</script>
<div class="main">
<div class="notification">
<div class="volumepercent">
<span>0%</span>
</div>
</div>
<div class="centered">
<div class="record-container">
<div class="record">
<div class="record-label">
<div class="record-center"></div>
<div class="record-center-hole"></div>
</div>
</div>
<div class="record-label-text">FEAR.</div>
</div>
<br>
<h2 style="margin-bottom: -2px;">focat</h2>
<li> ~ full stack developer </li>
<li> ~ discord bot developer </li>
<li> ~ ui/ux designer </li>
<li> ~ i excel in python, js, luau, html, css, c#, figma, batch, bash and a bit of c++ </li>
<br>
<h2 style="margin-bottom: -2px;">projects</h2>
<li> ~ <a href="https://discord.gg/tgDTQbyB3A" target="_blank">ai.lytics</a> - ai social media analysis and osint service - soon</li>
<li> ~ <a href="https://turboclicker.repl.co/" target="_blank">turboclicker</a> - an autoclicker with nice ui and cool features</li>
<li> ~ <a href="https://discord.gg/aD9k4gYrAh" target="_blank">freecord</a> - a discord bot service that will always be free for everyone to use, coming back soon</li>
<br>
<h2 style="margin-bottom: -2px;">socials</h2>
<li> ~ <a href="https://github.com/Code1Tech" target="_blank">github</a></li>
<li> ~ <a href="https://discord.com/users/676960182621962271" target="_blank">discord</a></li>
<li> ~ <a href="https://www.roblox.com/users/114830245/profile" target="_blank">roblox</a></li>
<li> ~ <a href="https://www.youtube.com/@focat" target="_blank">youtube</a></li>
</div>
<div id="copyright">
<!--<span id="copyright-text">built with ❤️ by focat</span>-->
<!-- retad badg (its dmca'd u snoopers) <a href="//www.dmca.com/Protection/Status.aspx?ID=9ea928e0-bf65-4af3-916f-b0ff907d8e76" title="DMCA.com Protection Status" class="dmca-badge" target="_blank"> <img src ="https://images.dmca.com/Badges/dmca-badge-w100-5x1-07.png?ID=9ea928e0-bf65-4af3-916f-b0ff907d8e76" alt="DMCA.com Protection Status" /></a> <script src="https://images.dmca.com/Badges/DMCABadgeHelper.min.js"> </script> -->
</div>
<!-- move the canvas to the bottom left -->
<canvas id="canvasElmId" onclick="startmusic()"; width="3000", height="1000" style="position: absolute; bottom: 0; left: 0; z-index: -1;"></canvas>
<script>
let audioElement = new Audio("audio.mp3");
audioElement.style.display = "none";
audioElement.preload = true;
let canvasElement = document.querySelector("#canvasElmId");
let wave = new Wave(audioElement, canvasElement);
audioElement.addEventListener('play', function() {
$('.record').addClass('spin');
$('.record').css('animation-play-state', 'running');
});
audioElement.addEventListener('pause', function() {
$('.record').css('animation-play-state', 'paused');
});
audioElement.addEventListener('ended', function() {
$('.record').css('animation-play-state', 'paused');
});
$('.record').click(function() {
if (audioElement.paused) {
audioElement.play();
} else {
audioElement.pause();
}
});
function startmusic() {
$(document.body).animate({ opacity: 0 }, 500, function() {
// Change the background image
document.body.style.backgroundImage = "url('bg.jpg')";
document.body.style.backgroundSize = "cover";
document.body.style.backgroundRepeat = "no-repeat";
document.body.style.backgroundPosition = "center";
document.body.style.backgroundAttachment = "fixed";
// Fade in the body over 3 seconds
$(document.body).animate({ opacity: 1 }, 1000);
});
// bar animation
wave.addAnimation(new wave.animations.Lines({
speed: 1,
amplitude: 100,
lineWidth: 1,
spacing: 0.3,
lineColor: "#fff",
opacity: 1,
}));
audioElement.play();
// remove onclick
document.body.onclick = null;
}
</script>
</div>
</body>
</html>