107 lines
4.5 KiB
HTML
107 lines
4.5 KiB
HTML
<html lang="en">
|
||
<head>
|
||
<title>Furkan Karlıoğlu - 404 Page</title>
|
||
<link href="img/icon.ico" rel="shortcut icon" type="image/x-icon">
|
||
<link rel="manifest" href="/manifest.json">
|
||
|
||
<meta charset="UTF-8">
|
||
<meta http-equiv="X-XSS-Protection" content="1; mode=block">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<meta name="robots" content="INDEX, FOLLOW">
|
||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||
<meta name="publisher" content="https://furk4ngg.github.io">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes">
|
||
<meta name="theme-color" content="#282c34">
|
||
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||
<meta name="apple-mobile-web-app-title" content="Furkan Karlıoğlu">
|
||
<meta name="keywords" content="Furkan Karlioglu,Software,Program Languages,Artificial Intelligence,Cybersecurity,Mobile App,Mobile App Development,Robotics Coding,Portfolio,Experience,Enterprising,Software Developer">
|
||
<meta name="description" content="[Furkan Karlioglu-Software Engineer]Explore my site to see my skills in software development, IoT and cybersecurity.Visit my website to explore innovation.🚀"/>
|
||
<meta property="og:description" content="Furkan Karlioglu's personal web site." />
|
||
<meta name="author" content="Furkan KARLIOĞLU">
|
||
<meta name="viewport" content="width=device-width">
|
||
<link rel="canonical" href="https://furk4ngg.github.io/404.html">
|
||
<link href='img/icon.ico' rel='apple-touch-icon'/>
|
||
<script src="JAVASCRIPT/404.js"></script>
|
||
<style>
|
||
body { margin: 0; background: #282c34; overflow: hidden; }
|
||
text, .output {
|
||
fill: white;
|
||
font-size: 18px;
|
||
font-weight: bold;
|
||
pointer-events: none;
|
||
text-anchor: middle;
|
||
-webkit-user-select:none!important;
|
||
}
|
||
.output {
|
||
-webkit-user-select:none!important;
|
||
position: absolute;
|
||
bottom: 8rem;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
color: white;
|
||
font-size: 16px;
|
||
}
|
||
.output a { color: #ff5733; text-decoration: none; font-weight: bold; }
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<svg></svg>
|
||
<p class="output">Please try to <a href="javascript:history.back()">go back</a> or <a href="/">return to the homepage</a>.</p>
|
||
|
||
<script>
|
||
let width = window.innerWidth;
|
||
let height = window.innerHeight;
|
||
|
||
const nodes = [
|
||
{ id: 1, radius: 60, text: "Not" },
|
||
{ id: 2, radius: 60, text: "Found" },
|
||
{ id: 3, radius: 60, text: "404" }
|
||
];
|
||
|
||
const svg = d3.select("svg")
|
||
.attr("width", width)
|
||
.attr("height", height);
|
||
|
||
const simulation = d3.forceSimulation(nodes)
|
||
.force("center", d3.forceCenter(width / 2, height / 2)) // Merkezde tutan kuvvet
|
||
.force("collision", d3.forceCollide().radius(d => d.radius + 5))
|
||
.force("attraction", d3.forceManyBody().strength(100)) // Çekim kuvveti
|
||
.force("x", d3.forceX(width / 2).strength(0.1)) // X ekseninde merkezde tutar
|
||
.force("y", d3.forceY(height / 2).strength(0.1)) // Y ekseninde merkezde tutar
|
||
.on("tick", ticked);
|
||
|
||
const bubbles = svg.selectAll("circle")
|
||
.data(nodes)
|
||
.enter()
|
||
.append("circle")
|
||
.attr("r", d => d.radius)
|
||
.attr("fill", "rgba(255, 87, 51, 0.8)");
|
||
|
||
const texts = svg.selectAll("text")
|
||
.data(nodes)
|
||
.enter()
|
||
.append("text")
|
||
.text(d => d.text)
|
||
.attr("dy", 5);
|
||
|
||
function ticked() {
|
||
bubbles.attr("cx", d => d.x).attr("cy", d => d.y);
|
||
texts.attr("x", d => d.x).attr("y", d => d.y);
|
||
}
|
||
|
||
function resize() {
|
||
width = window.innerWidth;
|
||
height = window.innerHeight;
|
||
svg.attr("width", width).attr("height", height);
|
||
simulation
|
||
.force("center", d3.forceCenter(width / 2, height / 2))
|
||
.force("x", d3.forceX(width / 2).strength(0.1))
|
||
.force("y", d3.forceY(height / 2).strength(0.1))
|
||
.alpha(1).restart();
|
||
}
|
||
|
||
window.addEventListener("resize", resize);
|
||
</body>
|
||
</html>
|