/coding-art-book-examples

This is the repository for the book's code.

Apache License 2.0Apache-2.0

Coding Art example library

This is the repository for all source code examples in the "Coding Art" book. We publish the code of all examples in the book organized by chapter and section. You can browse the examples by chapter here:


Installing Processing

Let's install all examples as a Processing example library:

You need the Processing coding environment to use the "Coding Art" examples. No problem, you can download it here. Installation should be quick and fast.

library usage example

How to easy-install the example library

The easiest and fastest way to get the book examples into your Processing environment is by using the Processing Library Manager. Here is the picture-perfect walk-through on macOS (Windows and Linux should work in a similar way):

Open Processing and the Examples box (File >> Examples...). In the examples box, click the button "Add examples..." at the top.

easy installation step 1

A new window opens with an overview of the available example libraries. Either search the list or enter "Coding Art" in the search box. Click the example in the results and then the button "Install". Done.

easy installation step 2

After a short moment, the example should be installed and become available in the examples box on the left side. The examples manager shows a green checkmark to indicate that the library was installed successfully.

easy installation step 3

We will update the library in the future, so you can get the latest version by clicking the "Update" button.

How to manually install the example library

Download the library archive and unpack it into the Processing examples folder on your computer. This folder is usually located in your home directory and contains subfolders such as examples, libraries, tools etc.

Quick check: After this step, your Processing libraries folder should include a new folder "CodingArtBookExamples", which contains three files and the "examples" folder. All good? 🏄‍♂️

Then restart Processing and you should be able to see the book examples in the "Contributed Examples" folder of the Examples browser (open this from File >> Examples.. ).


License

Copyright 2019-2023 Mathias Funk and Yu Zhang

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.