Skip to content

Releases: regorxxx/Camelot-Wheel-Notation

v2.0.1 - Hotfix

19 Oct 15:52
Compare
Choose a tag to compare

[2.0.1] - 2022-10-19

Added

Changed

Removed

Fixed

  • createRange() method was not working properly due to missing this context.
  • applyPattern() method was not working properly due to missing this context.

v2.0.0 - Hotfix

11 Oct 20:22
Compare
Choose a tag to compare

[2.0.0] - 2022-10-11

Added

  • Open Key support (in addition to Camelot Keys and Standard Notation). Methods to apply movements on the wheel are notation agnostic, as long as you work with the key object (Camelot Key or Open Key), so they work in both cases the same.
  • Added 2 methods to translate object keys between Camelot notation and Open one: translateObjectCamelotToOpen() and translateObjectOpenToCamelot().
  • getKeyNotationTable() and getKeyNotationObjectTable() to retrieve a copy (not a reference) of the private translation tables.
  • translateToNotation() method to convert any key object to multiple notations at the same time, for ex. to get equivalences for queries.
  • clone() method to clone a key object. i.e. simple object destructuring.
  • createRange() method to return a cross on wheel with a given length. i.e. can change hour or letter, but not both without a penalty (-1 length)
  • getDistance(), getLetterDistance(), getHourDistance() to measure the 'distance' between 2 keys.

Changed

  • getKeyNotationObject() has been split into 2 versions, one for Camelot Keys (getKeyNotationObjectCamelot) and another for Open Keys (getKeyNotationObjectOpen), they work the same as previously and output their respective key object.
  • getKeyNotation() has been split into 2 versions, same comment applies (getKeyNotationCamelot and getKeyNotationOpen). They convert the key object to a string ('7A').
  • Pattern creation: random shuffling is now up to x1000 times faster for big sizes.
  • General cleanup of code while remaining compatible with plain java-script. Moved all functions to camelotWheel object, as methods. Moved maps to private variables. Previous code using this library may need a small rewrite for a few functions. In particular applyPattern(), cyclicOffset() and createHarmonicMixingPattern() are now methods of cameloWheel instead of functions polluting the global namespace and the notation tables (maps) are private and not reachable anymore (the new methods must be used for that use-case).

v1.1.1 - Pattern bugfix

07 Jun 17:03
Compare
Choose a tag to compare

Better random pattern method without sort + random.

v1.1.0

03 May 16:42
Compare
Choose a tag to compare

Added patterns and bugfix.

v.1.0.0 - First relase

02 May 09:29
Compare
Choose a tag to compare

First public release.