![]() The line function takes 4 arguments-2 for the (x, y) coordinates of the starting point and 2 for the (x, y) coordinates of the endpoint. Processing comes with a number of built-in functions to draw basic forms-a line being one of them. Both are available from the official p5JS website here. To follow along, you can download the latest P5JS distribution or use the free online editor. The complexity of P5JS is mostly characterized by how an artist chooses to use it. P5JS is free to use, easy to set up, and very beginner-friendly. It is often noted as the tool of choice among generative artists from communities such as the Generative subreddit or popular curated communities such as ArtBlocks (yes, NFTs.) P5JS is a visualization library designed with 2D generative designers in mind. In this short tutorial, we’ll use the JavaScript implementation of Processing-P5JS-to explore the process of creating a squiggly line. However, generating squiggly lines can be a bit more of a challenge. ![]() Generating lines is so easy in Processing that one can almost do it by accident.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |