Code Monkey home page Code Monkey logo

p5js's Introduction

p5js

p5js repo for teaching by Jon E. Froehlich. Many of these programs are also available in the p5js editor (in one form or another though typically the code on this page—which is served from GitHub—is more up-to-date)

Some fun examples

You can see all of this code at our p5js GitHub repo.

Color

Sound

Visualizing Sound Level

Simple Sound Level Meters

Abstract Sound Visualizations

Time-series Visualizations

Waveform Visualizations

Visualizing Sound Frequency

You can learn more about analyzing sound frequency using Fast Fourier Transforms here. But you don't need to understand the underlying mathematics to extract and visualize the underlying frequencies of sound waves in p5js, their FFT library and examples make it easy!

Frequency Bar Graphs

Frequency Spectrum Line Graphs

Abstract Frequency Visualizations

Visualizing Multiple Sound Properties

  • Sound Visualization: Processes microphone input in realtime and shows a scrolling waveform and various frequency visualizations (spectrogram, spectral graph). Writes to an off-screen graphics buffer for performance. Code link.

Perlin Noise

Vectors

Computer Vision

Games

Many of these games were created in 2020 when I first started learning p5js.

Sound as input

  • FFTGame: use different frequencies (pitches) of sound to launch a ball into the air. Code link

p5js's People

Contributors

jonfroehlich avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.