Releases: cubing/cubing.js
Releases · cubing/cubing.js
v0.56.0
Release notes:
- [twisty] Import from
three/src
to enable tree shaking. This has no change in functionality, but it may affect how other bundlers interact wtih the package. - [puzzles] Update big cube pieces to use Speffz.
- [bin/scramble] Add a workaround for an issue that could prevent the program from exiting.
v0.55.3
Release notes:
- [puzzles] Add a 4x4x4 keyboard mapping.
- [puzzles] Clock:
- Remove
PEG_CAPS
orbit fromclock
. - Fix incorrect conjugates in the definitions for
BDMR1+
andBMDL1+
.
- Remove
v0.55.2
Release notes:
- [search] Remove an unused import of an unpublished WASM file. This should help with bundler compat.
v0.55.1
Release notes:
- [twisty] Allow for time segments without any active leaf in the
SimultaneousMoveIndexer
. - [twisty]
<twisty-alg-viewer>
use an offset fraction instead of an absolute offset amount for pressed moves. - Switch to built-in
getBuiltinModule(…)
.
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.