Skip to content

EmericW/genuary2021

Repository files navigation

Genuary 2021

Prompts

Run localy

node version 14.12.x

yarn
// cd into the prompt you wan't to run
cd prompts/jan.1
yarn start

Generate new prompt

cp -r resources/template prompts/jan.x

Video export code snippits

// include script
<script src="../../../whammy.js"></script>

// top level
const encoder = new Whammy.Video(45);

// draw()
encoder.add(drawingContext);

if (frameCount === 45 * 10) {
  encoder.compile(false, function (output) {
    window.open(URL.createObjectURL(output));
  });
  noLoop();
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published