This repository has been archived by the owner on Oct 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (76 loc) · 2.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=1920, initial-scale=1.0">
<!-- Style -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap" rel="stylesheet">
<style>
html {
font-family: 'Source Sans Pro', sans-serif;
}
body {
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
}
canvas {
background-color: #273746;
border: 5px solid goldenrod;
width: 800px;
height: 500px;
}
h1 {
font-size: 4rem;
font-weight: bolder;
}
p {
font-size: 1rem;
text-align: center;
}
a {
text-decoration: none;
color: goldenrod;
position: relative;
font-weight: 900;
}
a::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
height: 3px;
background-color: goldenrod;
width: 0;
transition: ease-in-out 150ms;
}
a:hover::after {
width: 100%;
}
#credits {
margin-top: 8rem;
font-size: 0.9rem;
text-align: center;
}
</style>
<title>Fourier JS</title>
</head>
<body>
<h1>Fourier JS</h1>
<canvas id="canvas"></canvas>
<p>
Fourier JS is a little project base on the work of Joseph Fourier. <br/>
Thanks to the <a href="https://en.wikipedia.org/wiki/Discrete_Fourier_transform">Discret Fourier Transform (DFT)</a>, the app is able to transform a 2D drawing into a sum of periodic signals.
</p>
<div id="credits">
This app has been made with <span style="padding: 0 2px 0 2px;">❤️</span> by <a href="https://github.com/killian-mahe">Killian Mahé</a>.<br>
The code is avaible on <a href="https://github.com/killian-mahe/Fourier-Drafter">GitHub</a>.
</div>
</body>
<script src="src/sketch.js"></script>
<script src="src/fourier.js"></script>
<script src="src/index.js"></script>
</html>