Releases: cubing/cubing.js
Releases · cubing/cubing.js
v0.55.1
v0.55.0
Release notes:
- The bundled types have been overhauled. This should eliminate some bugs that hade the types impossible to use, but it's possible it could have introduced other issues. Please file an issue if you run into any trouble.
v0.54.5
Release notes:
- [twisty] Add a
animationTimelineLeavesRequest
prop. Use like this:
import { Move, Pause } from "cubing/alg";
import { TwistyPlayer } from "cubing/twisty";
const player = document.body.appendChild(new TwistyPlayer());
player.alg = "R U' D2 R'";
// Note that:
// - The leaves must match those of the alg. (No consistency checks are performed at this time.)
// - Leaves may overlap if they can be simultaneously animated.
// - There must always be at least one animating leaf at any moment. You can use a `Pause` for this if there is a gap between moves.
player.experimentalModel.animationTimelineLeavesRequest.set([
{ animLeaf: new Move("R", 1), start: 0, end: 200 },
{ animLeaf: new Pause(), start: 200, end: 218 },
{ animLeaf: new Move("U", -1), start: 218, end: 370 },
{ animLeaf: new Move("D", 2), start: 249, end: 520 },
{ animLeaf: new Pause(), start: 520, end: 530 },
{ animLeaf: new Move("R", -1), start: 530, end: 790 },
]);
v0.54.4
Release notes:
- [experimental-json-schema] Add schemas for
KPuzzle
definitions. Note that JSON schema does not follow package resolution nor package exports, so you have to reference these by relative file path. For example:
{
"$schema": "../../../../../node_modules/cubing/experimental-json-schema/kpuzzle/KPuzzleDefinition.schema.json",
}
v0.54.3
Release notes:
- [scramble] Update
baby_fto
scrambles to avoid adjacentL
andBR
moves.
v0.54.2
Release notes:
- [puzzles] Implement
experimentalIsSolved
for 2×2×2KPattern
s.
v0.54.1
Release notes:
- [scramble] Prevent 2×2×2 scrambles from having adjacent
L
andR
moves.
v0.54.0
Release notes:
- [scramble] Use WASM for Square-1 scrambles.
v0.53.15
Release notes:
- [puzzles] Add an SVG for
baby_fto
.
v0.53.14
Release notes:
- [scramble] Fix scramble filtering for some events.
- [scramble] Change
baby_fto
scrambles to useBR
moves instead ofD
.