https://github.com/randomgamingdev/p5jsdebugcam
A basic keyboard only debug camera for p5.js
https://github.com/randomgamingdev/p5jsdebugcam
browser debug easy easy-to-use html html5 javascript-library library p5 p5js processing simple small
Last synced: 3 months ago
JSON representation
A basic keyboard only debug camera for p5.js
- Host: GitHub
- URL: https://github.com/randomgamingdev/p5jsdebugcam
- Owner: RandomGamingDev
- License: mit
- Created: 2023-06-11T01:54:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T02:23:30.000Z (about 1 year ago)
- Last Synced: 2024-04-08T03:23:39.797Z (about 1 year ago)
- Topics: browser, debug, easy, easy-to-use, html, html5, javascript-library, library, p5, p5js, processing, simple, small
- Language: JavaScript
- Homepage:
- Size: 140 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# p5jsDebugCam
A basic keyboard only debug camera for p5.js
Simply create a new `DebugCam` instance like this: `DebugCam(, moveSpeed, turnSpeed)` and then put a call to the `.takeInput()` element of your previously initialized `DebugCam` instance in the `keyPressed()` function of p5.js in order to use the library
To use this library you can simply include https://cdn.jsdelivr.net/gh/RandomGamingDev/p5jsDebugCam/debugCam.js in your HTML file! If you want to you can also just download the file and include it in your HTML file that way.
btw stuff updates so remember to specify a version/commit for your library if you want to use a link and don't want your code to automatically update to the newest version of the library