Skip to content

Releases: mngyuan/every

v1.2.0

Choose a tag to compare

@mngyuan mngyuan released this 17 Feb 12:20

Fixes

  • .if(...) passes check if true, not if false
  • a single .do(...) will still run

Added

  • test/single-task for the single .do() test case
  • Overly cautious p5 2.x version gating for key code checks

Full Changelog: v1.1.0...v1.2.0

v1.1.0

Choose a tag to compare

@mngyuan mngyuan released this 02 Dec 16:07

every now supports both p5.js 1.x and 2.x with the same import

v1.0.1

Choose a tag to compare

@mngyuan mngyuan released this 14 Nov 23:00
bc0f81d
  • renamed .show to .draw for consistency/to highlight the parallel with p5.js's draw
  • added .do, which runs once instead of .draw's continuous looping
  • added MIT license

v0.2.0

Choose a tag to compare

@mngyuan mngyuan released this 27 Nov 14:34
  • fixed error throwing in console if every was imported and every() is not called
  • fixed drawing context not resetting between scenes
  • added default duration of 1 to every()
  • added showAll
  • added hosted version

Initial Release

Choose a tag to compare

@mngyuan mngyuan released this 27 Nov 14:32
  • added show, untilMousePressed, untilKeyPressed, if
  • added seconds, minutes, hours, days