• Stars
    star
    238
  • Rank 163,063 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 9 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

p5.js website built using Node.js, Grunt, YAML and Assemble

Test and Deploy Status

p5js website

How To Contribute

Known bugs and intended new features are tracked using GitHub issues. If you'd like to start working on an existing issue, comment on the issue that you plan to work on it so other contributors know it's being handled and can offer help. Once you have completed your work on this issue, submit a pull request (PR) against the p5.js main branch. In the description field of the PR, include "resolves #XXXX" tagging the issue you are fixing. If the PR addresses the issue but doesn't completely resolve it (ie the issue should remain open after your PR is merged), write "addresses #XXXX".

If you discover a bug or have an idea for a new feature you'd like to add, begin by submitting an issue. Please do not simply submit a pull request containing the fix or new feature without making an issue first, we will probably not be able to accept it. Once you have gotten some feedback on the issue and a go ahead to address it, you can follow the process above to add the fix or feature.

We recognize all types of contributions. This project follows the all-contributors specification. Add yourself to the p5.js repository readme by following the instructions here!

Add Yourself to Contributors

If you've contributed to this website (or any other part of the p5.js project), add yourself here. Instructions to do this can be found at the bottom of the section.

Stewards

Stewards are contributors that are particularly involved, familiar, or responsive to certain areas of the project. Their role is to help provide context and guidance to others working on p5.js website. If you have a question about contributing to a particular area, you can tag the listed steward in an issue or pull request. They may also weigh in on feature requests and guide the overall direction of their area, with the input of the community.You can read more about the organization of the project at contributor_docs/organization.md, p5.js Contributor Guidelines, and p5.js Steward Guidelines.

✨Anyone interested can volunteer to be a steward! ✨There are no specific requirements for expertise, just an interest in actively learning and participating. We can start with 1-3 stewards for each area. If you’re familiar with one or more areas of p5.js website, please reply to this issue to volunteer as a steward!

Once added, a steward's username will remain in the stewards section of the readme until they request to be removed. If a steward is unresponsive for an extended period of time, we may ping them to ask about their status. And you can always take a break as a steward and come back!

Website Steward(s)

Area Steward(s)
Overall @Qianqianye, @limzykenneth
Reference @Divyansh013
Example GSoC 2022: @Malayvasa (Contributor), @tyler-yin(Mentor); @3ru
Teach GSoC 2022: @Gracia-zhang (Contributor), @yinhwa(Mentor); @SarveshLimaye
Showcase GSoC 2022: @anniezhengg (Contributor), @raclim(Mentor)
Learn @nickmcintyre
Libraries @Qianqianye
Community/Books/Social Media @Qianqianye
Contributor Docs SoD 2022: @limzykenneth
Other suggested area?

Translation Steward(s)

Language Steward(s)
Overall @Qianqianye, @limzykenneth
Spanish @Guirdo, @Andreu-G, @dnd-alv, @holomorfo
Chinese @unicar9, @Gracia-zhang, @pentalei
Korean @yinhwa, @almchung, @jhongover9000, @sssueing, @GeryGeryGery, @sosunnyproject
Hindi @adarrssh, @Divyansh013, @deepchauhan, @SarveshLimaye

Other Language Steward(s):

Setup

  1. Install node.js.
  2. Clone this repo by typing git clone https://github.com/processing/p5.js-website/ in terminal.
  3. Navigate to the p5.js-website directory in the terminal and type npm install.

Running

Once you've setup the site, type npm run watch to run the website. This should open a window in your browser with the site running at http://localhost:9000.

File structure

  • See note about what to include in pull requests here.
  • src/ – All the pieces for generating the built site. Edits should be made here.
    • assets/ – All static files (imgs, css, fonts, js, p5_featured homepage sketches)
      • Note: if you make edits here you must restart the server to see your changes. To see changes immediately, you can edit the assets files in the dist directory, but need to copy and paste your updated work here for it to be saved.
    • data/ – translation files
    • templates/
      • layouts/ – default.hbs is main page template
      • pages/ – Contains each of the pages of the p5 site, these get inserted in {{> body }} tag of default layout. Note that for some pages (ex: learn, teach, and libraries) the hbs files are built from ejs files in the data/ folder. When this is the case, you will find a README file inside that page's folder with notes about how this works.
      • partials/ – These are reusable pieces that can get added to any page or layout, they correspond to other {{> filename }} tags in the pages or default layout.
  • dist/ – Where the rendered files are stored, this gets generated via grunt server but does not get added to pull requests as it is auto-built online.
  • Gruntfile.js – This file contains all the tasks for using assemble and YAML to generate the final, static site. It uses the taskrunner grunt.

Tools

  • Assemble is used to build a static site out of all the layouts and yml data.
  • grunt-assemble-i18n renders a set of pages for each language specified in the gruntfile, based on the handlebars templates and yml data. There is not a lot of documentation, but this example demonstrates the functionality well.
  • assemble-contrib-permalinks allows us to customize the permalinks (file structure of the rendered static site).

Translation/i18n

  • Instructions for contributing to website translation/internationalization

Externally hosted language versions

Regarding website translation, we are rolling out new languages slowly to be absolutely sure that we can support the full translation and maintenance of each language. We want to avoid the situation where we have many languages and it's beyond our means to support. So for this reason, we are holding now with Spanish, Chinese, Korean, and Hindi and getting those fully complete before we take on others.

We very much welcome translations that are hosted elsewhere. For example, https://p5js.jp/ - ζ—₯本θͺž (Japanese), translated and hosted by Katsuya Endoh. Please feel free to translate any of the website content and host it on an external blog or site. All of the website content is licensed under Creative Commons which makes it possible to reuse this content for non-commercial purposes if it is credited. We would be happy to share links and make connections so others can find and use this material.

More Repositories

1

p5.js

p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs β€”
JavaScript
20,599
star
2

processing

Source code for the Processing Core and Development Environment (PDE)
Java
6,437
star
3

p5.js-web-editor

The p5.js Editor is a website for creating p5.js sketches, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! You can create, share, or remix p5.js sketches without needing to download or configure anything.
JavaScript
1,246
star
4

p5.js-sound

p5.sound brings the Processing approach to Web Audio and p5.js. Demos:
JavaScript
857
star
5

processing-android

Processing mode and core library to create Android apps with Processing
Java
765
star
6

processing-docs

[Deprecated] Processing reference, examples, tutorials, and website
HTML
370
star
7

p5.js-editor

Deprecated desktop editor for p5.js
JavaScript
337
star
8

processing-video

GStreamer-based video library for Processing
Java
272
star
9

p5.js-video

JavaScript
175
star
10

processing-sound

Audio library for Processing built with JSyn
Java
138
star
11

processing-library-template

Processing Library Template for Eclipse
CSS
136
star
12

processing-web-archive

Repository for the Processing.org web site, examples, reference, and dreams
HTML
128
star
13

processing-sound-archive

Archived Sound Library for Processing
HTML
125
star
14

processing-android-archive

Java
96
star
15

p5.accessibility

p5.accessibility.js makes the p5 canvas more accessible to people who are blind and visually impaired. It can be used with any p5.js sketch and it is used in the p5.js web editor.
JavaScript
74
star
16

processing-experimental

Experimental Mode for the PDE
Java
72
star
17

processing-templates

Library, Mode, and Tool templates
Java
60
star
18

p5.js-website-OLD

The website for p5.js.
JavaScript
60
star
19

Processing-Hour-Of-Code

Repository for an interactive one-hour Processing tutorial.
JavaScript
56
star
20

processing-website

Repository for processing.org
MDX
54
star
21

processing-eclipse

Eclipse plugin project for Processing
Java
50
star
22

processing-android-library-template

Processing Android Library Template for Gradle
CSS
32
star
23

processing-tool-template

Processing Tool Template for Eclipse
Java
27
star
24

p5.sound.js

new build of p5.sound.js library
JavaScript
26
star
25

processing-examples

Example files for "processing4" and "processing-website"
Processing
17
star
26

processing-pi-website

Files for the pi.processing.org subdomain that documents Processing on the Raspberry Pi
CSS
16
star
27

p5.js-getting-started-es

Spanish translation of Getting Started with p5.js
HTML
14
star
28

processing-design-system

Processing
10
star
29

processing4-javafx

JavaFX library for Processing 4
Java
10
star
30

processing-javadocs

I am testing the idea of using github pages for javadocs
HTML
7
star
31

p5.js-website-translator

Experimental web app to facilitate the p5.js website translation.
Vue
7
star
32

processing-forum-archive

Bugs and details about the Processing Forum: http://forum.processing.org
7
star
33

OSACC-p5.js-Access-Report

6
star
34

processing-library-template-gradle

Processing Library Template for Gradle and IntelliJ
Java
6
star
35

p5.js-showcase

JavaScript
6
star
36

p5.js-release

Holds the built, versioned releases of p5.js.
JavaScript
5
star
37

processing-community-day-website

The website for Processing Community Day
CSS
2
star
38

cardboard-wrapper-sdk

Wrapper Library for Google's Cardboard sdk for VR
C++
2
star
39

processing-gsoc

1
star
40

processing-doclet

Java
1
star
41

p5.js-example

GLSL
1
star
42

Processing-Foundation-GSoC

This repository is a central hub for all resources, project ideas, and guidelines related to the Google Summer of Code (GSoC) program at the Processing Foundation
1
star