-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
47 lines (39 loc) · 869 Bytes
/
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
<!doctype>
<link rel="stylesheet" href="stylesheets/main.css" />
<script type="text/javascript">
var equationNames = [
"easeInCubic",
"easeOutCubic",
"easeInOutCubic",
"easeInCirc",
"easeOutCirc",
"easeInOutCirc",
"easeInExpo",
"easeOutExpo",
"easeInOutExpo",
"easeInQuad",
"easeOutQuad",
"easeInOutQuad",
"easeInQuart",
"easeOutQuart",
"easeInOutQuart",
"easeInQuint",
"easeOutQuint",
"easeInOutQuint",
"easeInSine",
"easeOutSine",
"easeInOutSine",
"easeInBack",
"easeOutBack",
"easeInOutBack"
];
function generate(){
equationNames.forEach(function (name) {
var button = document.createElement('div');
button.className = name + " button";
button.innerText = name;
document.body.appendChild(button);
});
}
window.addEventListener('load', generate);
</script>