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:
- Chapter Idea to visuals (Processing)
- Chapter Composition and structure (Processing)
- Chapter Refinement and depth (Processing)
- Chapter Completion and production (Processing)
- Chapter Interkmission: MOUNTROTHKO (Processing)
- Chapter Flow fields and particle storms (p5.js)
- Chapter Making sense of touch and sensors (p5.js)
- Extras: Miscellaneous code examples (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.
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.
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.
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.
We will update the library in the future, so you can get the latest version by clicking the "Update" button.
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.. ).
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.