Skip to content

Latest commit

 

History

History
70 lines (61 loc) · 3.4 KB

CHANGELOG.md

File metadata and controls

70 lines (61 loc) · 3.4 KB

Changelog

[Table of Contents]

Added

Changed

Removed

Fixed

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.

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. 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).

Removed

Fixed

1.1.1 - 2021-06-07

Added

Changed

Removed

Fixed

  • Pattern creation: not really random due to using sort + random method. Using an array shuffle now instead.

1.1.0 - 2021-05-03

Added

  • Method for pattern creation from harmonic mixing.
  • Method for pattern application to keys.

Changed

Removed

Fixed

  • keyNotation for self mapped keys was wrong.

1.0.0 - 2021-05-02

Added

  • First release.

Changed

Removed

Fixed