commit 1d0ab35c076208fa232cc155cbdd7d49430092a6 parent 7dac2c3bc3ea70ed52b25a08566b760af41e6f1a Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Sat, 27 Jan 2024 17:18:11 +0100 started page on DR triggers Diffstat:
36 files changed, 366 insertions(+), 0 deletions(-)
diff --git a/src/speedcubing/triggers/gen.sh b/src/speedcubing/triggers/gen.sh @@ -0,0 +1,48 @@ +#!/bin/sh + +invert() { + # To invert an alg, replace R2 with RR, B' with B3 and then BBB + # and similar. Then reverse the string and triple every letter. + # It's a ugly hack, but it works. + alg="$(echo "$1" | tr -d ' ' | tr \' 3)" + echo "$alg" | sed -E 's/(.)(3)/\1\1\1/g' | \ + sed -E 's/(.)(2)/\1\1/g' | sed 's/./&&&/g' | rev +} + +gen() { + [ -e "trigger_$1.png" ] || cubeviz trigger "$1" > /dev/null 2>&1 +} + +printitem() { + alg="$1" + if [ -n "$alg" ]; then + inv="$(invert "$alg")" + echo "Working on alg $alg with inverse $inv" 1>&2 + gen "$inv" + printf '<td style="font-size:16pt; text-align:center" ' + printf 'width="20%%">%s</td>\n' "$alg" + printf '<td><a href="trigger_%s.png">\n' "$inv" + printf '<img src="trigger_%s.png" ' "$inv" + printf 'style="height:100px"></a></td>\n' + else + printf '<td width="20%%"><td width="30%%">\n' + fi +} + +maketable() { + alg1="$(echo "$1" | sed 's/;.*$//' | tr -d '!')" + alg2="$(echo "$1" | sed 's/.*;//')" + printf '<table><tr>\n' + printitem "$alg1" + printitem "$alg2" + printf '</tr></table>\n' +} + +while read -r line; do + algs="$(echo "$line" | grep '^!')" + if [ -z "$algs" ]; then + echo "$line" + else + maketable "$line" + fi +done diff --git a/src/speedcubing/triggers/index.html b/src/speedcubing/triggers/index.html @@ -0,0 +1,225 @@ +<h1>DR Triggers</h1> + +<p> +On this page you can find all DR triggers up to 4 move that start +with a DR-breaking move. Every trigger is paired with its "R2 variation", +for example R U R' is paired with R' U R'. +</p> + +<p> +DRs are always on U/D with EO on F/B. The picture show the U face, the D face +and a 3D view of the cube. Click on pics to enlarge. +</p> + +<p> +Work in progress. +</p> + +<h2>1 move</h2> + +<p>Not much to say here</p> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R</td> +<td><a href="trigger_RRR.png"> +<img src="trigger_RRR.png" style="height:100px"></a></td> +<td width="20%"><td width="30%"> +</tr></table> + +<h2>2 moves</h2> + +<p>Setups to this are hard to see.</p> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R L</td> +<td><a href="trigger_LLLRRR.png"> +<img src="trigger_LLLRRR.png" style="height:100px"></a></td> +<td width="20%"><td width="30%"> +</tr></table> + +<h2>3 moves</h2> + +<h3>Classic</h3> + +<p>Classic triggers.<p> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R U R</td> +<td><a href="trigger_RRRUUURRR.png"> +<img src="trigger_RRRUUURRR.png" style="height:100px"></a></td> +<td style="font-size:16pt; text-align:center" width="20%"> R' U R</td> +<td><a href="trigger_RRRUUURRRRRRRRR.png"> +<img src="trigger_RRRUUURRRRRRRRR.png" style="height:100px"></a></td> +</tr></table> +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R U2 R</td> +<td><a href="trigger_RRRUUUUUURRR.png"> +<img src="trigger_RRRUUUUUURRR.png" style="height:100px"></a></td> +<td width="20%"><td width="30%"> +</tr></table> + +<h3>Advanced</h3> + +<p>More advanced, but very short.</p> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> L U2 R</td> +<td><a href="trigger_RRRUUUUUULLL.png"> +<img src="trigger_RRRUUUUUULLL.png" style="height:100px"></a></td> +<td width="20%"><td width="30%"> +</tr></table> +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> L U R</td> +<td><a href="trigger_RRRUUULLL.png"> +<img src="trigger_RRRUUULLL.png" style="height:100px"></a></td> +<td style="font-size:16pt; text-align:center" width="20%"> L' U R</td> +<td><a href="trigger_RRRUUULLLLLLLLL.png"> +<img src="trigger_RRRUUULLLLLLLLL.png" style="height:100px"></a></td> +</tr></table> + +<h2>4 moves</h2> + +<h3>HTR-like</h3> + +<p>These have many variations, try all of them to influence edges +or reduce to double slice.</p> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R U2 B2 R</td> +<td><a href="trigger_RRRBBBBBBUUUUUURRR.png"> +<img src="trigger_RRRBBBBBBUUUUUURRR.png" style="height:100px"></a></td> +<td style="font-size:16pt; text-align:center" width="20%"> R' U2 B2 R</td> +<td><a href="trigger_RRRBBBBBBUUUUUURRRRRRRRR.png"> +<img src="trigger_RRRBBBBBBUUUUUURRRRRRRRR.png" style="height:100px"></a></td> +</tr></table> + +<h3>Edges only</h3> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> L U2 D2 R</td> +<td><a href="trigger_RRRDDDDDDUUUUUULLL.png"> +<img src="trigger_RRRDDDDDDUUUUUULLL.png" style="height:100px"></a></td> +<td width="20%"><td width="30%"> +</tr></table> + +<h3>Inserted E2 variations of 3 movers</h3> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R U D2 R</td> +<td><a href="trigger_RRRDDDDDDUUURRR.png"> +<img src="trigger_RRRDDDDDDUUURRR.png" style="height:100px"></a></td> +<td style="font-size:16pt; text-align:center" width="20%"> R' U D2 R</td> +<td><a href="trigger_RRRDDDDDDUUURRRRRRRRR.png"> +<img src="trigger_RRRDDDDDDUUURRRRRRRRR.png" style="height:100px"></a></td> +</tr></table> +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> L U D2 R</td> +<td><a href="trigger_RRRDDDDDDUUULLL.png"> +<img src="trigger_RRRDDDDDDUUULLL.png" style="height:100px"></a></td> +<td style="font-size:16pt; text-align:center" width="20%"> L' U D2 R</td> +<td><a href="trigger_RRRDDDDDDUUULLLLLLLLL.png"> +<img src="trigger_RRRDDDDDDUUULLLLLLLLL.png" style="height:100px"></a></td> +</tr></table> + +<p>For this last one, make sure corners are 4+4 and not 8+8.</p> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R U2 D2 R</td> +<td><a href="trigger_RRRDDDDDDUUUUUURRR.png"> +<img src="trigger_RRRDDDDDDUUUUUURRR.png" style="height:100px"></a></td> +<td width="20%"><td width="30%"> +</tr></table> + +<h3>5 corners, group 1</h3> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R U F2 R</td> +<td><a href="trigger_RRRFFFFFFUUURRR.png"> +<img src="trigger_RRRFFFFFFUUURRR.png" style="height:100px"></a></td> +<td style="font-size:16pt; text-align:center" width="20%"> R' U F2 R</td> +<td><a href="trigger_RRRFFFFFFUUURRRRRRRRR.png"> +<img src="trigger_RRRFFFFFFUUURRRRRRRRR.png" style="height:100px"></a></td> +</tr></table> +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R U' F2 R</td> +<td><a href="trigger_RRRFFFFFFUUUUUUUUURRR.png"> +<img src="trigger_RRRFFFFFFUUUUUUUUURRR.png" style="height:100px"></a></td> +<td style="font-size:16pt; text-align:center" width="20%"> R' U' F2 R</td> +<td><a href="trigger_RRRFFFFFFUUUUUUUUURRRRRRRRR.png"> +<img src="trigger_RRRFFFFFFUUUUUUUUURRRRRRRRR.png" style="height:100px"></a></td> +</tr></table> + +<h3>5 corners, group 2</h3> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> L U F2 R</td> +<td><a href="trigger_RRRFFFFFFUUULLL.png"> +<img src="trigger_RRRFFFFFFUUULLL.png" style="height:100px"></a></td> +<td style="font-size:16pt; text-align:center" width="20%"> L' U F2 R</td> +<td><a href="trigger_RRRFFFFFFUUULLLLLLLLL.png"> +<img src="trigger_RRRFFFFFFUUULLLLLLLLL.png" style="height:100px"></a></td> +</tr></table> +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> L U' F2 R</td> +<td><a href="trigger_RRRFFFFFFUUUUUUUUULLL.png"> +<img src="trigger_RRRFFFFFFUUUUUUUUULLL.png" style="height:100px"></a></td> +<td style="font-size:16pt; text-align:center" width="20%"> L' U' F2 R</td> +<td><a href="trigger_RRRFFFFFFUUUUUUUUULLLLLLLLL.png"> +<img src="trigger_RRRFFFFFFUUUUUUUUULLLLLLLLL.png" style="height:100px"></a></td> +</tr></table> + +<h3>6 corners, group 1</h3> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R U D R</td> +<td><a href="trigger_RRRDDDUUURRR.png"> +<img src="trigger_RRRDDDUUURRR.png" style="height:100px"></a></td> +<td width="20%"><td width="30%"> +</tr></table> +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R U D' R</td> +<td><a href="trigger_RRRDDDDDDDDDUUURRR.png"> +<img src="trigger_RRRDDDDDDDDDUUURRR.png" style="height:100px"></a></td> +<td width="20%"><td width="30%"> +</tr></table> +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> L U D R</td> +<td><a href="trigger_RRRDDDUUULLL.png"> +<img src="trigger_RRRDDDUUULLL.png" style="height:100px"></a></td> +<td width="20%"><td width="30%"> +</tr></table> +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> L U D' R</td> +<td><a href="trigger_RRRDDDDDDDDDUUULLL.png"> +<img src="trigger_RRRDDDDDDDDDUUULLL.png" style="height:100px"></a></td> +<td width="20%"><td width="30%"> +</tr></table> + +<h3>6 corners, group 2</h3> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> L R U R</td> +<td><a href="trigger_RRRUUURRRLLL.png"> +<img src="trigger_RRRUUURRRLLL.png" style="height:100px"></a></td> +<td style="font-size:16pt; text-align:center" width="20%"> L' R U R</td> +<td><a href="trigger_RRRUUURRRLLLLLLLLL.png"> +<img src="trigger_RRRUUURRRLLLLLLLLL.png" style="height:100px"></a></td> +</tr></table> +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> L R' U R</td> +<td><a href="trigger_RRRUUURRRRRRRRRLLL.png"> +<img src="trigger_RRRUUURRRRRRRRRLLL.png" style="height:100px"></a></td> +<td style="font-size:16pt; text-align:center" width="20%"> L' R' U R</td> +<td><a href="trigger_RRRUUURRRRRRRRRLLLLLLLLL.png"> +<img src="trigger_RRRUUURRRRRRRRRLLLLLLLLL.png" style="height:100px"></a></td> +</tr></table> + +<h3>6 corners, group 3</h3> + +<table><tr> +<td style="font-size:16pt; text-align:center" width="20%"> R U R L</td> +<td><a href="trigger_LLLRRRUUURRR.png"> +<img src="trigger_LLLRRRUUURRR.png" style="height:100px"></a></td> +<td width="20%"><td width="30%"> +</tr></table> + diff --git a/src/speedcubing/triggers/index.txt b/src/speedcubing/triggers/index.txt @@ -0,0 +1,93 @@ +<h1>DR Triggers</h1> + +<p> +On this page you can find all DR triggers up to 4 move that start +with a DR-breaking move. Every trigger is paired with its "R2 variation", +for example R U R' is paired with R' U R'. +</p> + +<p> +DRs are always on U/D with EO on F/B. The picture show the U face, the D face +and a 3D view of the cube. Click on pics to enlarge. +</p> + +<p> +Work in progress. +</p> + +<h2>1 move</h2> + +<p>Not much to say here</p> + +! R; + +<h2>2 moves</h2> + +<p>Setups to this are hard to see.</p> + +! R L; + +<h2>3 moves</h2> + +<h3>Classic</h3> + +<p>Classic triggers.<p> + +! R U R; R' U R +! R U2 R; + +<h3>Advanced</h3> + +<p>More advanced, but very short.</p> + +! L U2 R; +! L U R; L' U R + +<h2>4 moves</h2> + +<h3>HTR-like</h3> + +<p>These have many variations, try all of them to influence edges +or reduce to double slice.</p> + +! R U2 B2 R; R' U2 B2 R + +<h3>Edges only</h3> + +! L U2 D2 R; + +<h3>Inserted E2 variations of 3 movers</h3> + +! R U D2 R; R' U D2 R +! L U D2 R; L' U D2 R + +<p>For this last one, make sure corners are 4+4 and not 8+8.</p> + +! R U2 D2 R; + +<h3>5 corners, group 1</h3> + +! R U F2 R; R' U F2 R +! R U' F2 R; R' U' F2 R + +<h3>5 corners, group 2</h3> + +! L U F2 R; L' U F2 R +! L U' F2 R; L' U' F2 R + +<h3>6 corners, group 1</h3> + +! R U D R; +! R U D' R; +! L U D R; +! L U D' R; + +<h3>6 corners, group 2</h3> + +! L R U R; L' R U R +! L R' U R; L' R' U R + +<h3>6 corners, group 3</h3> + +! R U R L; + diff --git a/src/speedcubing/triggers/trigger_LLLRRR.png b/src/speedcubing/triggers/trigger_LLLRRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_LLLRRRUUURRR.png b/src/speedcubing/triggers/trigger_LLLRRRUUURRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRR.png b/src/speedcubing/triggers/trigger_RRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRBBBBBBUUUUUURRR.png b/src/speedcubing/triggers/trigger_RRRBBBBBBUUUUUURRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRBBBBBBUUUUUURRRRRRRRR.png b/src/speedcubing/triggers/trigger_RRRBBBBBBUUUUUURRRRRRRRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRDDDDDDDDDUUULLL.png b/src/speedcubing/triggers/trigger_RRRDDDDDDDDDUUULLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRDDDDDDDDDUUURRR.png b/src/speedcubing/triggers/trigger_RRRDDDDDDDDDUUURRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRDDDDDDUUULLL.png b/src/speedcubing/triggers/trigger_RRRDDDDDDUUULLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRDDDDDDUUULLLLLLLLL.png b/src/speedcubing/triggers/trigger_RRRDDDDDDUUULLLLLLLLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRDDDDDDUUURRR.png b/src/speedcubing/triggers/trigger_RRRDDDDDDUUURRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRDDDDDDUUURRRRRRRRR.png b/src/speedcubing/triggers/trigger_RRRDDDDDDUUURRRRRRRRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRDDDDDDUUUUUULLL.png b/src/speedcubing/triggers/trigger_RRRDDDDDDUUUUUULLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRDDDDDDUUUUUURRR.png b/src/speedcubing/triggers/trigger_RRRDDDDDDUUUUUURRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRDDDUUULLL.png b/src/speedcubing/triggers/trigger_RRRDDDUUULLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRDDDUUURRR.png b/src/speedcubing/triggers/trigger_RRRDDDUUURRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRFFFFFFUUULLL.png b/src/speedcubing/triggers/trigger_RRRFFFFFFUUULLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRFFFFFFUUULLLLLLLLL.png b/src/speedcubing/triggers/trigger_RRRFFFFFFUUULLLLLLLLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRFFFFFFUUURRR.png b/src/speedcubing/triggers/trigger_RRRFFFFFFUUURRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRFFFFFFUUURRRRRRRRR.png b/src/speedcubing/triggers/trigger_RRRFFFFFFUUURRRRRRRRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRFFFFFFUUUUUUUUULLL.png b/src/speedcubing/triggers/trigger_RRRFFFFFFUUUUUUUUULLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRFFFFFFUUUUUUUUULLLLLLLLL.png b/src/speedcubing/triggers/trigger_RRRFFFFFFUUUUUUUUULLLLLLLLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRFFFFFFUUUUUUUUURRR.png b/src/speedcubing/triggers/trigger_RRRFFFFFFUUUUUUUUURRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRFFFFFFUUUUUUUUURRRRRRRRR.png b/src/speedcubing/triggers/trigger_RRRFFFFFFUUUUUUUUURRRRRRRRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRUUULLL.png b/src/speedcubing/triggers/trigger_RRRUUULLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRUUULLLLLLLLL.png b/src/speedcubing/triggers/trigger_RRRUUULLLLLLLLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRUUURRR.png b/src/speedcubing/triggers/trigger_RRRUUURRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRUUURRRLLL.png b/src/speedcubing/triggers/trigger_RRRUUURRRLLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRUUURRRLLLLLLLLL.png b/src/speedcubing/triggers/trigger_RRRUUURRRLLLLLLLLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRUUURRRRRRRRR.png b/src/speedcubing/triggers/trigger_RRRUUURRRRRRRRR.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRUUURRRRRRRRRLLL.png b/src/speedcubing/triggers/trigger_RRRUUURRRRRRRRRLLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRUUURRRRRRRRRLLLLLLLLL.png b/src/speedcubing/triggers/trigger_RRRUUURRRRRRRRRLLLLLLLLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRUUUUUULLL.png b/src/speedcubing/triggers/trigger_RRRUUUUUULLL.png Binary files differ. diff --git a/src/speedcubing/triggers/trigger_RRRUUUUUURRR.png b/src/speedcubing/triggers/trigger_RRRUUUUUURRR.png Binary files differ.