-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·42 lines (40 loc) · 1.9 KB
/
index.html
File metadata and controls
executable file
·42 lines (40 loc) · 1.9 KB
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
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-114306992-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-114306992-1');
</script>
<title>Rangoli maker</title>
<meta charset="UTF-8">
<meta name="theme-color" content="#000">
<meta property="og:title" content="Rangoli maker" />
<meta property="og:description" content="Convert your random doodles to awesome rangolis!">
<meta property="og:url" content="https://savvysiddharth.github.io/rangoli-maker/" />
<meta property="og:image" content="https://savvysiddharth.github.io/rangoli-maker/rangoli.png">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<script src="lib/p5.min.js"></script>
<script src="lib/p5.dom.min.js"></script>
<link rel="stylesheet" href="vendors/css/ionicons.min.css">
<link rel="stylesheet" href="style.css">
<link rel="icon" href="random-colors.png">
</head>
<body>
<div class="slider">
<input type="range" min="4" max="20" value="5" id="myRange" onchange="setDiameterSize(this.value)">
</div>
<a style="margin-left: 10px;" href="https://github.com/savvysiddharth/rangoli-maker" target="_blank">
<button id="github"> <i class="ion-social-github"></i></button>
</a>
<button id="clear" onclick="clearCanvas()">
<i class="ion-android-refresh"></i>
</button>
<input type="color" value="#664EAE" onchange="changeColor(this)" title="choose custom color" id="colpick" onclick="getRandomColors = false">
<img src="random-colors.png" id="random-btn" title="get random color at each stroke" onclick="doRandomColors()">
</body>
<script src="rangoli.js"></script>
<!-- by @savvysiddharth -->
</html>