Skip to content
Open
Show file tree
Hide file tree
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
24 changes: 15 additions & 9 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: "pink", sound: new Howl({ urls: ['sounds/zig-zag.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: ['sounds/wind.mp3']}) },
'8': { color: "white", sound: new Howl({ urls: ['sounds/crumb.mp3']}) },
'9': { color: "black", sound: new Howl({ urls: ['sounds/ice.mp3']}) }

}

var circles = [];
Expand All @@ -58,25 +68,21 @@
circles[e].scale(.9);
}
}

/*
function onKeyUp(event){
var myCircle = new Path.Circle(new Point(100, 100), 50).fillColor = 'orange';
}

TESTING PAPER.JS
TESTING PAPER.JS
var path = new Path();
path.strokeColor = 'white';
var start = new Point(0,100);
path.moveTo(start);
path.lineTo(start + [100, -50]);

for(var x = 15; x < 2015;x+=25){
for(var i = 15; i < 2015; i+=25){
var myCircle = new Path.Circle(new Point(i, x), 12).fillColor = 'green';
}
}

for(var x = 15; x < 2015;x+=25){
for(var i = 15; i < 2015; i+=25){
var myCircle = new Path.Circle(new Point(i, x), 6).fillColor = 'white';
Expand All @@ -87,4 +93,4 @@
<body>
<canvas id="myCanvas" resize></canvas>
</body>
</html>
</html>
Binary file added sounds/Crumbling-Mike_Koenig-1123041125.mp3
Binary file not shown.
Binary file added sounds/SMALL.mp3
Binary file not shown.
Binary file not shown.
Binary file added sounds/Scary.mp3
Binary file not shown.
Binary file added sounds/Scary_Sound-Mark_DiAngelo-1101865305.mp3
Binary file not shown.
Binary file added sounds/Warbling.mp3
Binary file not shown.
Binary file added sounds/Warbling_Vireo-Mike_Koenig-89869915.mp3
Binary file not shown.
Binary file added sounds/Water-Lisa_Redfern-1888623835.mp3
Binary file not shown.
Binary file added sounds/Water.mp3
Binary file not shown.
Binary file added sounds/Wind-Mark_DiAngelo-1940285615.mp3
Binary file not shown.
Binary file added sounds/Wind.mp3
Binary file not shown.
Binary file added sounds/crumb.mp3
Binary file not shown.
Binary file added sounds/ice-cubes-glass-daniel_simon.mp3
Binary file not shown.
Binary file added sounds/ice.mp3
Binary file not shown.
Binary file added sounds/killdeer.mp3
Binary file not shown.
Binary file added sounds/killdeer_song-Mike_Koenig-1144525481.mp3
Binary file not shown.
Binary file added sounds/mallard.mp3
Binary file not shown.
Binary file added sounds/mallard_duck-Mike_Koenig-667013646.mp3
Binary file not shown.