Skip to content

Releases: cubing/cubing.js

v0.55.1

30 Mar 03:41
Compare
Choose a tag to compare

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

25 Mar 01:00
Compare
Choose a tag to compare

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

24 Mar 09:26
Compare
Choose a tag to compare

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

10 Mar 13:42
Compare
Choose a tag to compare

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

01 Mar 01:06
Compare
Choose a tag to compare

Release notes:

  • [scramble] Update baby_fto scrambles to avoid adjacent L and BR moves.

v0.54.2

24 Feb 05:04
Compare
Choose a tag to compare

Release notes:

  • [puzzles] Implement experimentalIsSolved for 2×2×2 KPatterns.

v0.54.1

02 Feb 09:33
Compare
Choose a tag to compare

Release notes:

  • [scramble] Prevent 2×2×2 scrambles from having adjacent L and R moves.

v0.54.0

02 Feb 08:59
Compare
Choose a tag to compare

Release notes:

  • [scramble] Use WASM for Square-1 scrambles.

v0.53.15

01 Feb 12:47
Compare
Choose a tag to compare

Release notes:

  • [puzzles] Add an SVG for baby_fto.

v0.53.14

01 Feb 09:19
Compare
Choose a tag to compare

Release notes:

  • [scramble] Fix scramble filtering for some events.
  • [scramble] Change baby_fto scrambles to use BR moves instead of D.