Coder Social home page Coder Social logo

arvin1209 / p5js-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bsplt/p5js-boilerplate

0.0 2.0 0.0 1.69 MB

Instantly write and run your Processing code in a browser. This template provides you a minimalistic and responsive full page experience but delivers all the power you need for contemporary HTML and Javascript.

License: GNU General Public License v3.0

CSS 74.71% HTML 19.99% JavaScript 5.30%

p5js-boilerplate's Introduction

p5js-boilerplate

Write Processing just like you would in the native Processing IDE, except it works in your browser and you can put your sketch in the web. The only difference is that you write code in Javascript instead of Java.

What it is

This repository serves as a template for writing responsive Processing code for web browsers. It is based on the p5js framework for Javascript. The template is ready to go, so you can instantly start writing code for your project and don't have to worry about the environment. You only have to work on one file and still have a working environment. By default, the HTML canvas displaying the code gets scaled full page and resizes with the browser window. Debugging works just as fine as in the native Processing environment when you use your browser console.

How to

  1. Download or clone the git.
  2. Write your Processing code into /js/main.js. You can follow the p5js workflow or write Javascript your style.
  3. Change index.html to your requirements (or do nothing to it). You can write HTML as you like and still have the Processing sketch in the background.
  4. Launch your index.html and have fun.

Included frameworks

Versions used in this compilation:

p5js-boilerplate's People

Contributors

bsplt avatar arvin1209 avatar

Watchers

James Cloos avatar  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.