Skip to content

Commit

Permalink
Add ELL.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Jan 2, 2021
1 parent 77f9aff commit 7fc2f3a
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 1 deletion.
14 changes: 14 additions & 0 deletions src/cubing/twisty/3D/puzzles/stickerings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,20 @@ export const stickerings: Record<ExperimentalStickering, PuzzleAppearance> = {
},
},

"ELL": {
orbits: {
EDGES: {
pieces: [r, r, r, r, d, d, d, d, d, d, d, d],
},
CORNERS: {
pieces: [d, d, d, d, d, d, d, d],
},
CENTERS: {
pieces: [p, d, d, d, d, d],
},
},
},

"ELS": {
orbits: {
EDGES: {
Expand Down
1 change: 1 addition & 0 deletions src/cubing/twisty/dom/TwistyPlayerConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export const experimentalStickerings = {
"OLL": true,
"COLL": true,
"OCLL": true,
"ELL": true,
"ELS": true,
"LL": true,
"F2L": true,
Expand Down
2 changes: 1 addition & 1 deletion src/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ <h2><code>cubing.js</code><br />Dev Apps</h2>
🔄
<a href="./twisty/2d-stickering.html">twisty/2d-stickering</a>
</div>
<div>🔄 <a href="./twisty/2d-ll-stickering.html">twisty/2d-ll-stickering</a></div>
<div>🔄 <a href="./twisty/pg3d.html">twisty/pg3d</a></div>
<div>🔄 <a href="./twisty/pyraminx.html">twisty/pyraminx</a></div>
<div>🔄 <a href="./twisty/ll.html">twisty/ll</a></div>
<div>🔄 <a href="./twisty/mkbhd.html">twisty/mkbhd</a></div>
<div>🔄 <a href="./twisty/supercube.html">twisty/supercube</a></div>
<div>🔄 <a href="./twisty/supercube-arrows.html">twisty/supercube-arrows</a></div>
<div>🔄 <a href="./twisty/simultaneous.html">twisty/simultaneous</a></div>
<div>🔄 <a href="./twisty/2d-ll-stickering.html">twisty/2d-ll-stickering</a></div>
<div>🖼 <a href="./kpuzzle/svg.html">KPuzzle SVG</a></div>
<div>🕶 <a href="./vr/index.html">VR</a></div>
<div>🕶 <a href="./vr/proxy/proxy.html">VR proxy</a></div>
Expand Down
8 changes: 8 additions & 0 deletions src/demo/twisty/2d-ll-stickering.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ <h2>OCLL</h2>
control-panel="none"
background="none"
></twisty-player>
<h2>ELL</h2>
<twisty-player
visualization="experimental-2D-LL"
experimental-stickering="ELL"
experimental-start-setup="M U' M' U2 M U' M'"
control-panel="none"
background="none"
></twisty-player>
<h2>CLS</h2>
<twisty-player
visualization="experimental-2D-LL"
Expand Down
1 change: 1 addition & 0 deletions src/demo/twisty/stickering-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export function demo(visualization: VisualizationFormat): void {
addAlg("OLL", "r U R' U R U2 r'");
addAlg("COLL", "L R' U' R U L' U2 R' U2 R");
addAlg("OCLL", "R U R' U R U2 R'");
addAlg("ELL", "M U' M' U2 M U' M'");
addAlg("ELS", "[r U' r': U]");
addAlg("LL", "R' F R F2' U F R U R' F' U' F");
addAlg("F2L", "R2' u R2 u' R2'");
Expand Down

0 comments on commit 7fc2f3a

Please sign in to comment.