-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (32 loc) · 986 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
<html>
<head>
<meta charset="UTF-8">
<script language="javascript" type="text/javascript" src="https://cdn.jsdelivr.net/npm/p5@0.10.2/lib/p5.min.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/firebasejs/3.6.3/firebase.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_AUTHDOMAIN",
databaseURL: "YOUR_DATABASE_URL",
projectId: "YOUR_PROJECTID",
storageBucket: "YOUR_BUCKET",
messagingSenderId: "YOUR_MESSAGESENDERIN",
appId: "YOUR_APPID"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
</head>
<body>
<div id ="canvascontainer"></div>
<p>
<button id="saveButton">save</button>
<button id="clearButton">clear</button>
</p>
<p>
<ol id="drawinglist">
</ol>
</body>
</html>