Skip to content

SYM380/p5.pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

p5.pattern

A pattern drawing library for p5.js. alt

Features

  • The shape functions for drawing patterns
  • Color and rotation of patterns
  • 11 preset patterns
  • Custom patterns
  • WEBGL mode not supported
  • p5.Graphics supported
  • MIT License

Installation

Link p5.pattern.js to your HTML file.

<head>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.js"></script>
    <script src="p5.pattern.js"></script>
    <script src="mysketch.js"></script>
</head>

Usage

OpenProcessing | p5.pattern

If you have any requests for new features or find any bugs, please give me feedback!