Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Creative Coding/Scripting animation in P5js: Difference between revisions

From I/M/D Wiki
Leo (talk | contribs)
Created page with "= Interface = = Functions = == Shape functions == == Color functions == == Text functions == == Image functions == == Preload == == Fonts == = Variables = == Environment Variables == == Declarations == == Operators =="
 
Leo (talk | contribs)
No edit summary
Line 1: Line 1:
= P5js =
[https://p5js.org P5js] is a library of [https://developer.mozilla.org/en-US/docs/Web/JavaScript JavaScript] designed for artists and creatives working with graphics, animation, and interaction on the web.
JavaScript is a scripting language for interactive design on the web. Together with HTML and CSS, it makes 98% of the web content. Javascript has different libraries, the same way a language like English comes with different dialects and accents. Three.js is the 3D library of the web, Node.js is the library for multi-user live interaction, P5.js is the creative dialect of JavaScript.
It was initiated by the [https://processing.org Processing] foundation, the group behind Java-based coding software Processing. Processing was built in 2001 for artists who wanted to dive into code as a creative medium, without having the expertise of a computer scientist.
Since then, the community around Processing grew and built an online-friendly version: P5js! P5js also includes a browser-based code editor, and a mini cloud storage for your codes and files.
You can find the code editor at [https://editor.p5js.org editor.p5js.org].
= Interface =
= Interface =


= Functions =
= Functions =

Revision as of 12:26, 20 September 2025

P5js

P5js is a library of JavaScript designed for artists and creatives working with graphics, animation, and interaction on the web.

JavaScript is a scripting language for interactive design on the web. Together with HTML and CSS, it makes 98% of the web content. Javascript has different libraries, the same way a language like English comes with different dialects and accents. Three.js is the 3D library of the web, Node.js is the library for multi-user live interaction, P5.js is the creative dialect of JavaScript.

It was initiated by the Processing foundation, the group behind Java-based coding software Processing. Processing was built in 2001 for artists who wanted to dive into code as a creative medium, without having the expertise of a computer scientist.

Since then, the community around Processing grew and built an online-friendly version: P5js! P5js also includes a browser-based code editor, and a mini cloud storage for your codes and files.

You can find the code editor at editor.p5js.org.

Interface

Functions

Shape functions

Color functions

Text functions

Image functions

Preload

Fonts

Variables

Environment Variables

Declarations

Operators