Skip to content

Sound and animation on key press project built with Paperscript and Howler.js.

Notifications You must be signed in to change notification settings

oarnosa/patatap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Patatap

A sound and animation on key press project built on Paperscript and Howler.js

Table of contents

General info

The purpose of this project was to serve as an introduction to working with animations and sounds in javascript. For the animations, a library called Paper.js is utilized which is an open source vector graphics scripting framework which runs ontop of the HTML5 Canvas. This framework allows the animation of elements within a rendered space declared as a Canvas. Howler.js is an audio library which makes working with audio files easy by creating Howls for the audio files. Both of these libraries work seamlessly together to produce a sound and animation for different key presses.

Hosting

This app is hosted via Heroku at https://oarnosa-patatap-clone.herokuapp.com

Technologies

  • Paper.js - v0.12.3
  • Howler.js - v2.1.2
  • jQuery - v3.4.1

Code examples

Example of the Paper.js script which expands on the HTML5 canvas element and creates an area to allow the animation of objects:

<script type="text/paperscript" canvas="myCanvas"></script>

Example of a Howler.js Howl:

var sound = new Howl({
  src: ["sound.mp3"]
});
sound.play();

Status

Project is: in progress, as I would like to add more dynamic and varied effects to the animations.

Inspiration

This project was inspired by the original Patatap which I highly recommend you check out!

About

Sound and animation on key press project built with Paperscript and Howler.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published