Skip to content

Latest commit

 

History

History
91 lines (54 loc) · 3.54 KB

README.md

File metadata and controls

91 lines (54 loc) · 3.54 KB

P5.js Brush

Description

A simple brush that shows a lightbulb image where you can move your cursor around it and see different words being drawn with movement. All this has been done with the help of a JavaScript library called p5.js.

Screenshot

Instructions to run the lens on local server

  1. Open this repo with the terminal either through an IDE of choice or the system's terminal
  2. Run the repo through a server. If you do not have a server command already installed globally, run the command:
npm install --global http-server

Else, run the following the command if you already have a server installed or after running the command above sucessfully:

http-server
  1. Go to the browser and navigate to: localhost:8080
  2. Move the cursor around and you will see different words being written into the interface. Refresh if you want to see a new set of words.

Tools used

  • p5.js