Skip to content

A collection of Processing code examples we use in our introductory coding classes at Marlborough School in Los Angeles.

License

Notifications You must be signed in to change notification settings

dkessner/ProcessingExamples

Repository files navigation

Processing Examples

Live site

https://dkessner.github.io/ProcessingExamples/

Adding an example

  1. (First time only) Clone this repository, either in a GUI git client like GitHub Desktop or from the command line:

    git clone git@github.com:dkessner/ProcessingExamples.git
    
  2. Pull changes to your local repo. (git pull).

  3. Copy your entire sketch folder to the ProcessingExamples directory, and verify that the sketch runs.

  4. Create a file index.md in the sketch folder:

    # Sketch Name
    
    You can put any description or notes here
    
    {% raw %}{% include embed_sketch_and_code.html sources="sketch_name.pde" %}{% endraw %}
    
  5. Add an entry to the menu in _includes/menu.html.

  6. Add the new sketch folder to your local repo, commit and push your changes. (git add/commit/push).

Local testing

GitHub Pages uses the static site generator Jekyll to convert Markdown files (.md) to HTML. You can test your local changes to the site using a local installation of Jekyll.

  1. Install Jekyll.

  2. Start a local server.

    On the command line, in your local ProcessingExamples directory:

    bundle exec jekyll serve
    
  3. View the pages in your browser at: http://localhost:4000

Detailed instructions on GitHub

About

A collection of Processing code examples we use in our introductory coding classes at Marlborough School in Los Angeles.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages