GithubHelp home page GithubHelp logo

desholmes / p5js-circles Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 3.05 MB

P5.js bolierplate using circles to create generative art

Home Page: https://dholmes.co.uk/p5js-circles/dist/

License: MIT License

HTML 35.75% JavaScript 46.07% SCSS 18.17%
p5js generative-art creative-coding genuary genuary2022 javascript js genuary2023

p5js-circles's Introduction

P5.js Boilerplate (Circles)

preview

This repo is a boilerplate for creative coding using the P5.js. A hosted version can be seen here.

This project uses:

  1. p5.js: JavaScript library for creative coding
  2. dat.GUI: Variable tinkering
  3. parcel: Build tooling

Getting Started

Prerequisites

  1. Installation of git SCM
  2. Installation of node.js v18.12.1

Create Your GitHub Repo

  1. Complete the 'Getting Started > Prerequisites' section
  2. Create your GitHub Repo
  3. Download this repo as a zip, initialise and push: download zip
  4. Follow the 'Getting Started > Development' section to start creating

Development

  1. Complete the 'Getting Started > Create Your GitHub Repo' section
  2. npm i: To install the dependencies
  3. npm start: To start a local dev server
  4. Visit http://localhost:1234 in a browser
  5. Press CTRL+c: To stop the local dev server

Production Build

  1. Complete the 'Getting Started > Development' section
  2. npm run build: Builds a production build to ./dist
  3. Publish your repo on GitHub pages

Commands

Command Description
npm run clean Cleans the ./dist directory
npm run build Runs npm run clean and parcel build
npm run lint Runs ESLint with 0 warnings argument
npm run lint-fix Runs ESLint with 0 warnings and --fix arguments
npm run prettier Runs Prettier with --check argument
npm run prettier-fix Runs Prettier with --write argument
npm start Runs a local development server using the parcel

Credits

p5js-circles's People

Contributors

dependabot[bot] avatar desholmes avatar

Watchers

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