Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Graphics with p5.js

Computer Graphic algorithm experiments using p5.js.

Algorithms

Add a new algorithm:

  1. Create a new file in the algorithms folder.
  2. Write a function for the algorithm with display: Display as a parameter.
  3. Use display.setPixel(x, y) to set a pixel on the canvas.
  4. Call the function in the draw function in src/main.ts.

How to run

Installed necessary packages:

yarn

To run the development build:

yarn dev

To run the production build:

yarn build

To preview the production build:

yarn preview

About

Computer Graphics algorithms in P5JS

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Contributors

Languages