GithubHelp home page GithubHelp logo

informaticacba / p5.js-editor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from processing/p5.js-editor

1.0 0.0 0.0 16.95 MB

Deprecated desktop editor for p5.js

Home Page: https://p5js.org

License: MIT License

JavaScript 98.45% CSS 0.98% HTML 0.57%

p5.js-editor's Introduction

This editor has been deprecated, we will not be making further releases. We are turning our energy toward a web editor which will be released later this year. For now, we recommend using editors like Brackets, Atom, Sublime Text, or OpenProcessing.

p5.js Editor: a code editor designed for p5.js

The p5.js Editor is a simple coding environment designed for new programmers to get started with p5.js. It's modeled off of the Processing editor, and intended to provide a similar experience.

p5.js Editor Screenshot

Features

  • Code editor with syntax highlighting that supports javascript, p5.js syntax, html and css.
  • Creates and manages p5.js project folders
  • Automatically updates new releases of p5.js and add-on libraries
  • Runs sketches inside the editor or in the browser
  • Starts a local server for the user
  • Provides a basic logging console

Future Plans

  • Linux version
  • Integrated p5.js documentation
  • Update sketches live

Download

To get started, download the editor here, and visit p5js.org for more info on p5.js.

Development

When you're ready to get started, follow the direction below:

Prerequisites

  1. Node.js
  2. Git

Setup

  1. Clone this repo: git clone https://github.com/processing/p5.js-editor
  2. Enter the repo directory and install the development modules: npm install
  3. Install secondary modules: cd public and then npm install
  4. Install gulp.js globally: npm install gulp -g
  5. From the root directory of the repo run gulp: gulp
  6. Start up the app: npm run app

Workflow

Most development takes place in the app folder. Gulp will watch the files in the app folder, then bundle them up with Browserfiy, and send the results to the public folder.

The public folder contains the package.json for the application window, as well as the base index.html file for the application.

Below you'll find documentation for the different libraries we're using

Building

Just run the gulp task: gulp build

This will build Mac and Windows versions of the editor, and place them in dist/. Please note that due to an issue with file path lengths (to be fixed, evidently in the next version of npm), Mac users may run into an issue building the Windows version. To fix this install and run flatten-packages:

npm install -g flatten-packages
cd public
flatten-packages

And then run gulp build from the root directory of the project.

p5.js-editor's People

Contributors

antiboredom avatar bruehausu avatar six5532one avatar bclifton avatar davejm avatar bmoren avatar sepans avatar nucliweb avatar andyinabox avatar karoantonio avatar mattdesl avatar therewasaguy avatar akarshit avatar davidskeck avatar djmgit avatar lmccart avatar infernalmaster avatar xfq avatar mreichel avatar

Stargazers

Alejandro Jesus del Campillo Jaime 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.