-
Notifications
You must be signed in to change notification settings - Fork 1
/
animated.html
99 lines (91 loc) · 4.71 KB
/
animated.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
<!DOCTYPE html>
<html lang="en-us">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<title></title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/p5.js"></script>
<link href="style.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
<script src="/projects/Common/p5.js"></script>
<script src="animate_art.js"></script>
</head>
<body>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="navbar-expand" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="index.html"">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Animated Designs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">About</a>
</li>
<li class="nav-item">
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
Select Color Palette
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
<li><a class="dropdown-item" href="#" onclick="setColor(0)">Sage and Citrus</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(1)">Beach Day</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(2)">Cotton Candy</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(3)">Bumblebee</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(5)">Game Day</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(6)">Birds of Paradise</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(8)">Summertime</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(9)">Southwest</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(10)">Muted Earth</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(11)">Nursery</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(12)">60s</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(13)">Oasis</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(14)">Supperware</a></li>
<li><a class="dropdown-item" href="#" onclick="setColor(15)">Jazz Cup</a></li>
</ul>
</div>
</li>
</ul>
</div>
</nav>
<div class="jumbotron">
<div class="container">
<p class="h5 text-light">Click on a design for more options or select a color palette from the dropdown above<p>
</div>
</div>
<div class="container text-center">
<div class="row justify-content-sm-center">
<div class="col-">
<div id="myCarousel" class="carousel slide" data-interval="false" pause="true" ride="false">
<div class="carousel-inner">
<div class="carousel-item active">
<div class="row justify-content-sm-center">
<div class="col-auto">
<iframe class="embed-responsive-item" src="" id="iframe" scrolling="no" style="width: 400px; height: 420px; overflow: hidden;"></iframe>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row justify-content-sm-center">
<div class="col-">
<a data-slide="prev" onclick="change_animation(-1)">
<img class="img-responsive center-block carousel-control-prev-icon" aria-hidden="true"></span>
</a>
<a data-slide="next" onclick="change_animation(1)">
<img class="img-responsive center-block carousel-control-next-icon" aria-hidden="true"></span>
</a>
</div>
</div>
</div>
</body>
</body>
</html>