- Requirements:
npm
oryarn
- Steps:
npm install
oryarn install
- Copy image(s) into
/renders/input/
- Run
npm start
oryarn start
- Wait for the server to start (there will be a message in console)
- Open
localhost:8080
orlocalhost:8080/autostart
(if you go here skip the next step) - Open the console in your browser and run
main()
- The graphed images will be screenshotted and sent to
/renders/output/
- Arguments:
dir
(where this project is downloaded e.g. Downloads/desmos-renderer)framerate
(determines the framerate of the output video)
- Arguments:
fileName
(this file is split into frames in /renders/input/)dir
(where this project is downloaded e.g. Downloads/desmos-renderer)
- Used for converting .mkv files from
youtube-dl
into .mp4 files