Skip to content

py5 code adapted from the py5bot website, modified to Module Mode so that they can be run without the py5bot Jupyter kernel.

Notifications You must be signed in to change notification settings

nonfunjible/py5-examples-adapted-from-py5bot-site

Repository files navigation

py5 Examples Adapted from py5bot Site

py5 is a Python 3.8+ version of Processing, a platform for visual art.

This repo is for py5 code adapted from the py5bot website. The code on that webpage requires the py5bot Jupyter kernel to run. Here, the code examples have been modified to py5's Module Mode so that they can be run without the need for the py5bot Jupyter kernel.

Examples

The 1st code example in this repo produces this:

white square on yellow background

The 2nd code example in this repo produces a random iteration of this:

randomly positioned and randomly colored squares

The 3rd code example in this repo shows that you can include a print() statement and produces this:

red square

The 4th code example in this repo produces a random iteration of this:

randomly positioned and randomly sized circles

About

py5 code adapted from the py5bot website, modified to Module Mode so that they can be run without the py5bot Jupyter kernel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages