Releases: regorxxx/Camelot-Wheel-Notation
Releases · regorxxx/Camelot-Wheel-Notation
v2.0.1 - Hotfix
v2.0.0 - Hotfix
[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
Better random pattern method without sort + random.
v1.1.0
v.1.0.0 - First relase
First public release.