Use the following command to run the development server.
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
This template consists of a single page. This page has one sketch on it derived from the flocking example on the p5.js website.
Additionally, I have added a typing animation that you can customize.
This is what the sketch looks like:
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
To learn more about p5.js, take a look at the following resources:
- p5.js Reference - learn about p5.js using there online reference
- p5.js Examples - official pre-made examples in p5.js
To leard more about react-p5, take a look at the following resources:
- react-p5 on npm - the package on the npm website