Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.12 KB

README.md

File metadata and controls

28 lines (24 loc) · 1.12 KB

Processing Canvas Exp

Introduction

This repo is intended to contain my personal experiments with Processing.js, HTML5 Canvas and Particle Systems. This repo is by no way intended to be used for the publishing of re-usable code. What I have here is a compilation of quickly written code, some of is well documented, the rest might be spaghetti.

Demo

A demo can be found here: Demo Link

Usage

Feel free to use this code in whichever way you see fit.

Keyboard

After running index.html or the PDE:
  • Mouse Click: Changes the flocking center point to new mouse position\coordinates
  • UP: Add a Particle
  • DOWN: Remove a Particle
  • 's': Increase Speed of flocking
  • 'd': Decrease Speed of flocking
  • 'c': Change color of particles
  • '`': Toggle Console

Requirements

  • The content of the PDEs folder require Processing v1.2+
  • The rest should be regular HTML\Javascript code, any HTML5 enabled browser would do