Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions circles.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<title>Simple Patatap Clone</title>
<script type="text/javascript" src="paper-full.js"></script>
<script type="text/javascript" src="howler.js"></script>
<script type="text/javascript" src="lib/paper-full.js"></script>
<script type="text/javascript" src="lib/howler.js"></script>
<link rel="stylesheet" type="text/css" href="circles.css">

<script type="text/paperscript" canvas="myCanvas">
Expand Down Expand Up @@ -33,7 +33,17 @@
w: { color: "magenta", sound: new Howl({ urls: ['sounds/ufo.mp3']}) },
x: { color: "cyan", sound: new Howl({ urls: ['sounds/veil.mp3']}) },
y: { color: "violet", sound: new Howl({ urls: ['sounds/wipe.mp3']}) },
z: { color: "purple", sound: new Howl({ urls: ['sounds/zig-zag.mp3']}) }
z: { color: "purple", sound: new Howl({ urls: ['sounds/zig-zag.mp3']}) },
'0': { color: "purple", sound: new Howl({ urls: ['sounds/gun.mp3']})},
'1': { color: "purple", sound: new Howl({ urls: ['sounds/killdeer.mp3']}) },
'2': { color: "cyan", sound: new Howl({ urls: ['sounds/mallard.mp3']}) },
'3': { color: "magneta",sound: new Howl({ urls: ['sounds/scary.mp3']}) },
'4': { color: "brown", sound: new Howl({ urls: ['sounds/SMALL.mp3']}) },
'5': { color: "red", sound: new Howl({ urls: ['sounds/Warbling.mp3']}) },
'6': { color: "green", sound: new Howl({ urls: ['sounds/water.mp3']}) },
'7': { color: "blue", sound: new Howl({ urls: ['soundswnd.mp3']}) },
'8': { color: "white", sound: new Howl({ urls: ['sounds/crumb.mp3']}) },
'9': { color: "black", sound: new Howl({ urls: ['sounds/ice.mp3']}) }
}

var circles = [];
Expand Down Expand Up @@ -87,4 +97,4 @@
<body>
<canvas id="myCanvas" resize></canvas>
</body>
</html>
</html>