Project

General

Profile

« Previous | Next » 

Revision a46893d7

Added by Leszek Koltunski over 4 years ago

Add Pyraminx3 Pretty Patterns.

View differences:

src/main/java/org/distorted/patterns/RubikPatternList.java
29 29
  CUBE3 (RubikObjectList.CUBE, 3, RubikPatternCube3.patterns),
30 30
  CUBE4 (RubikObjectList.CUBE, 4, RubikPatternCube4.patterns),
31 31
  CUBE5 (RubikObjectList.CUBE, 5, RubikPatternCube5.patterns),
32
  PYRA3 (RubikObjectList.PYRA, 3, RubikPatternPyraminx3.patterns),
32 33
  ;
33 34

  
34 35
  public static final int NUM_OBJECTS = values().length;
src/main/java/org/distorted/patterns/RubikPatternPyraminx3.java
1
///////////////////////////////////////////////////////////////////////////////////////////////////
2
// Copyright 2020 Leszek Koltunski                                                               //
3
//                                                                                               //
4
// This file is part of Magic Cube.                                                              //
5
//                                                                                               //
6
// Magic Cube is free software: you can redistribute it and/or modify                            //
7
// it under the terms of the GNU General Public License as published by                          //
8
// the Free Software Foundation, either version 2 of the License, or                             //
9
// (at your option) any later version.                                                           //
10
//                                                                                               //
11
// Magic Cube is distributed in the hope that it will be useful,                                 //
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of                                //
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                 //
14
// GNU General Public License for more details.                                                  //
15
//                                                                                               //
16
// You should have received a copy of the GNU General Public License                             //
17
// along with Magic Cube.  If not, see <http://www.gnu.org/licenses/>.                           //
18
///////////////////////////////////////////////////////////////////////////////////////////////////
19

  
20
package org.distorted.patterns;
21

  
22
///////////////////////////////////////////////////////////////////////////////////////////////////
23
//
24
// axis  : U=0, B=1, R=2, L=3
25
// layers: base=0, mid=1, tip=2
26
// 
27
// U = 388
28

  
29
public class RubikPatternPyraminx3
30
{
31
public static final String[][] patterns =
32
{
33
	{
34
	"Vertical Axis (2 Colors)",
35
	"3 Gates [1]: 166 486 422 486 454 486 198",
36
	"3 Gates [2]: 454 230 198 230 166 230 422",
37
	"3 Edge Wheels [1]: 390 454 230 422 134 166 454 486 454",
38
	"3 Edge Wheels [2]: 198 230 198 422 390 166 486 198 134",
39
	"3 Mushrooms [1]: 386 454 486 390 486 134 486 198",
40
	"3 Mushrooms [2]: 454 230 390 230 134 230 198 130",
41
	"3 Fish [1]: 390 486 454 486 166 130 422 198 486",
42
	"3 Fish [2]: 230 454 166 386 422 230 198 230 134",
43
	"3 Hourglasses [1]: 454 230 386 198 230 422 230 166",
44
	"3 Hourglasses [2]: 422 486 166 486 454 130 486 198",
45
	"3 Scepters [1]: 422 198 390 166 198 486 198 230",
46
	"3 Scepters [2]: 486 454 230 454 422 134 454 166",
47
	"3 Fir Trees [1]: 390 454 486 390 486 134 486 198",
48
	"3 Fir Trees [2]: 454 230 390 230 134 230 198 134",
49
	"3 Bridges [1]: 454 486 390 486 130 486 198",
50
	"3 Bridges [2]: 454 230 386 230 134 230 198",
51
	"3 Eyes [1]: 198 134 454 134 198 134 454",
52
	"3 Eyes [2]: 198 390 454 390 198 390 454",
53
	"Ring [1]: 386",
54
	"Ring [2]: 130",
55
	"3 Crowns [1]: 454 130 198 134 454 134 198",
56
	"3 Crowns [2]: 454 390 198 390 454 386 198",
57
	"3 Dots [1]: 386 454 390 198 390 454 390 198",
58
	"3 Dots [2]: 454 134 198 134 454 134 198 130",
59
	"3 Jewels [1]: 390 454 390 198 390 454 390 198",
60
	"3 Jewels [2]: 454 134 198 134 454 134 198 134",
61
	"Pyramid in a Pyramid (1x1x1) [1]: 388",
62
	"Pyramid in a Pyramid (1x1x1) [2]: 132",
63
	"Pyramid in a Pyramid (2x2x2) [1]: 390",
64
	"Pyramid in a Pyramid (2x2x2) [2]: 134"
65
	},
66

  
67
	{
68
	"Vertical Axis (3 Colors)",
69
	"3 Edge Wheels [1]: 134 454 230 390 198 230 422 230 166",
70
	"3 Edge Wheels [2]: 422 486 166 486 454 134 486 198 390",
71
	"3 Edge Wheels [3]: 422 198 390 166 198 486 198 230 390",
72
	"3 Edge Wheels [4]: 134 486 454 230 454 422 134 454 166",
73
	"3 Mushrooms [1]: 386 454 230 386 198 230 422 230 166",
74
	"3 Mushrooms [2]: 422 486 166 486 454 130 486 198 130",
75
	"3 Mushrooms [3]: 134 486 454 486 166 134 422 198 486 132",
76
	"3 Mushrooms [4]: 230 454 166 390 422 230 198 230 390 388",
77
	"3 Mushrooms [5]: 130 454 486 390 486 134 486 198",
78
	"3 Mushrooms [6]: 454 230 390 230 134 230 198 386",
79
	"3 Hourglasses [1]: 486 454 486 166 130 422 198 486",
80
	"3 Hourglasses [2]: 230 454 166 386 422 230 198 230",
81
	"3 Scepters [1]: 486 454 486 166 134 422 198 486",
82
	"3 Scepters [2]: 230 454 166 390 422 230 198 230",
83
	"3 Fir Trees [1]: 134 486 454 486 166 134 422 198 486",
84
	"3 Fir Trees [2]: 230 454 166 390 422 230 198 230 390",
85
	"3 Fir Trees [3]: 130 486 454 486 166 134 422 198 486",
86
	"3 Fir Trees [4]: 230 454 166 390 422 230 198 230 390 132",
87
	"3 Fir Trees [5]: 390 454 230 390 198 230 422 230 166",
88
	"3 Fir Trees [6]: 422 486 166 486 454 134 486 198 134",
89
	"3 Fir Trees [7]: 134 454 486 390 486 134 486 198",
90
	"3 Fir Trees [8]: 454 230 390 230 134 230 198 390",
91
	"3 Fir Trees [9]: 134 454 486 386 486 134 486 198",
92
	"3 Fir Trees [10]: 454 230 390 230 130 230 198 390",
93
	"3 Bridges [1]: 454 486 386 486 134 486 198",
94
	"3 Bridges [2]: 454 230 390 230 130 230 198",
95
	"Winding Ring [1]: 130 454 390 198 390 454 390 198",
96
	"Winding Ring [2]: 454 134 198 134 454 134 198 386",
97
	"Chessboard Pyramid in a Pyramid [1]: 134 454 390 198 390 454 386 198",
98
	"Chessboard Pyramid in a Pyramid [2]: 454 130 198 134 454 134 198 390",
99
	"3 Jewels [1]: 198 390 454 390 198 390 454 390 388",
100
	"3 Jewels [2]: 134 198 134 454 134 198 134 454 132",
101
	"(Pyramid in a)2 Pyramid [1]: 390 388",
102
	"(Pyramid in a)2 Pyramid [2]: 134 132"
103
	},
104

  
105
	{
106
	"Swap (2 Faces)",
107
	"2 Eyes: 422 390 422 134 166 134 422 390 422"
108
	},
109

  
110
	{
111
	"Swap (4 Faces)",
112
	"4 Gates [1]: 230 422 198 166 454 486",
113
	"4 Gates [2]: 454 166 486 422 230 198",
114
	"4 Edge Wheels: 390 486 390 198 422 230 390 454 166",
115
	"Edge Tetragon: 390 486 134 486 166 486 422",
116
	"2 Edge Wheels, 2 Gates: 390 486 166 390 454 166 198 230 390 166"
117
	},
118

  
119
	{
120
	"All Faces (2 Colors)",
121
	"4 Temples [1]: 390 230 390 454 390 166 390",
122
	"4 Temples [2]: 134 454 134 230 134 422 134",
123
	"4 Fir Trees [1]: 390 166 134 230 166 454 422 390",
124
	"4 Fir Trees [2]: 134 422 390 454 422 230 166 134",
125
	"4 Eyes [1]: 166 390 166 390 166 390",
126
	"4 Eyes [2]: 422 134 422 134 422 134",
127
	"4 Eyes [3]: 454 230 166 454 486 454 422",
128
	"4 Eyes [4]: 230 454 422 230 198 230 166"
129
	},
130

  
131
	{
132
	"All Faces (3 Colors)",
133
	"4 Edge Wheels [1]: 454 230 454 134 230 454 230 390",
134
	"4 Edge Wheels [2]: 230 454 230 390 454 230 454 134",
135
	"4 Edge Wheels [3]: 166 230 390 230 422 230 134",
136
	"4 Edge Wheels [4]: 422 454 134 454 166 454 390",
137
	"4 Scepters [1]: 454 134 486 454 166 198 166 134",
138
	"4 Scepters [2]: 230 390 198 230 422 486 422 390",
139
	"4 Fir Trees [1]: 230 422 454 166 390 486 390 422 486 134",
140
	"4 Fir Trees [2]: 454 166 230 422 134 198 134 166 198 390",
141
	"Edge Tetragon [1]: 390 486 390 198 390 454 230",
142
	"Edge Tetragon [2]: 390 166 230 422 230 134 230",
143
	"Edge Tetragon [3]: 390 230 166 390 486 198 166 390 454 166",
144
	"Edge Tetragon [4]: 390 166 390 422 134 422 390 166 390",
145
	"Edge Tetragon [5]: 134 422 134 166 486 134 230",
146
	"Edge Tetragon [6]: 390 166 390 422 198 390 454",
147
	"Twister [1]: 390 454 134 486 390 422",
148
	"Twister [2]: 166 134 230 390 198 134"
149
	},
150

  
151
	{
152
	"All Faces (4 Colors)",
153
	"4 Edge Wheels [1]: 390 166 230 454 134 486 422 198",
154
	"4 Edge Wheels [2]: 390 230 166 454 134 422 486 198",
155
	"4 Edge Wheels [3]: 390 422 230 390 230 422 230 390 422",
156
	"4 Crossed Scepters: 422 134 486 422 486 166 454 230 134",
157
	"Ra Amin Ka [1]: 134 486 166 198 134 230 390 198 230 134",
158
	"Ra Amin Ka [2]: 390 486 454 134 486 390 454 422 230 390"
159
	},
160

  
161
	{
162
	"Combinations (2 Types)",
163
	"3 Scepters (3 Colors), Crossed Scepters (3 Colors) [1]: 422 454 134 198 486 422 486",
164
	"3 Scepters (3 Colors), Crossed Scepters (3 Colors) [2]: 166 230 390 486 198 166 198",
165
	"3 Scepters (3 Colors), Crossed Scepters (3 Colors) [3]: 454 486 134 230 422 454 422",
166
	"3 Scepters (3 Colors), Crossed Scepters (3 Colors) [4]: 230 198 390 454 166 230 166",
167
	"2 Gates, Eyes (3 Colors) [1]: 422 390 486 134 230 166",
168
	"2 Gates, Eyes (3 Colors) [2]: 422 486 390 230 134 166",
169
	"Edge Wheel (4 Colors), 3 Eyes (3 Colors) [1]: 390 454 486 454 134 486 454 486",
170
	"Edge Wheel (4 Colors), 3 Eyes (3 Colors) [2]: 230 198 230 390 198 230 198 134",
171
	"Edge Wheel (4 Colors), 3 Eyes (3 Colors) [3]: 486 390 198 422 486 134 486 454 166",
172
	"Edge Wheel (4 Colors), 3 Eyes (3 Colors) [4]: 422 198 230 390 230 166 454 134 230",
173
	"Edge Wheel (4 Colors), 3 Eyes (3 Colors) [5]: 390 230 454 230 454 134 486 198 486 198",
174
	"Edge Wheel (4 Colors), 3 Eyes (3 Colors) [6]: 454 230 454 230 390 198 486 198 486 134"
175
	},
176

  
177
	{
178
	"Combinations (3 Types)",
179
	"Gate, Eyes, Edge Wheel (3 Colors) [1]: 390 486 166 390 422 390 230",
180
	"Gate, Eyes, Edge Wheel (3 Colors) [2]: 134 198 422 134 166 134 454",
181
	"Edge Wheel, 2 Edge Wheels (3 Colors), Edge Wheel (4 Colors): 134 422 454 230 390 166 230 198 230"
182
	},
183

  
184
	{
185
	"Combinations (4 Types)",
186
	"Tempel, Scepter, Scepter (3 Colors), Twister (3 Colors) [1]: 454 390 422 134 422 454 230 198",
187
	"Tempel, Scepter, Scepter (3 Colors), Twister (3 Colors) [2]: 230 134 166 390 166 230 454 486",
188
	"Fir Tree (3 Colors), Jewel, Supertwist (3 Colors), Supertwist (4 Colors) [1]: 390 166 454 486 422 390 486 134",
189
	"Fir Tree (3 Colors), Jewel, Supertwist (3 Colors), Supertwist (4 Colors) [2]: 134 422 230 198 166 134 198 390"
190
	},
191

  
192
	{
193
	"Various Patterns",
194
	"3 Eyes (3 Colors): 134 198 166 134 422 134 454",
195
	"TU-Twist With 3 Generators: 198 486 166 198 166 454 166 230 454"
196
	},
197

  
198
	{
199
	"Flips and Twists",
200
	"2 Edge Flips (rf) (fl): 390 486 134 454 134 198 390 230",
201
	"2 Edge Flips (lr) (fd): 230 134 486 134 454 390 198 390",
202
	"4 Edge Flips (lr) (fd) (ld) (rd): 198 166 454 166 486 390 422 134 422 230",
203
	"4 Edge Flips (rf) (fl) (ld) (rd): 390 230 166 390 486 198 166 390 454 166",
204
	"Superflip: 454 230 390 454 230 390 454 230 390",
205
	"Corner Supertwist [1]: 388 452 484 420",
206
	"Corner Supertwist [2]: 132 196 228 164",
207
	"Corner Supertwist [3]: 388 452 228 164",
208
	"Corner Supertwist [4]: 132 196 484 420",
209
	"3 Corner Twists, 1 Deep Corner Twist [1]: 390 452 484 420",
210
	"3 Corner Twists, 1 Deep Corner Twist [2]: 134 196 228 164",
211
	"Center Supertwist [1]: 386 482 194 134 162 486 390 162 230 194",
212
	"Center Supertwist [2]: 450 486 418 134 230 418 390 450 226 130",
213
	"Center Supertwist [3]: 390 486 386 166 226 422 450 134 486 162 486",
214
	"Center Supertwist [4]: 230 418 230 390 194 166 482 422 130 230 134",
215
	"2 Corner Twists, 2 Center Twists [1]: 134 486 166 134 198 134 166 198 166",
216
	"2 Corner Twists, 2 Center Twists [2]: 422 454 422 390 454 390 422 230 390",
217
	"3 Corner Twists, 3 Center Twists [1]: 422 134 230 134 198 390 230 134 198 134",
218
	"3 Corner Twists, 3 Center Twists [2]: 390 454 390 486 134 454 390 486 390 166",
219
	"Supertwist [1]: 230 454 390 230 198 166 390 454 166 134",
220
	"Supertwist [2]: 390 422 198 134 422 454 486 134 198 486",
221
	"Supertwist [3]: 390 486 390 166 230 422 454 134 486 166 486",
222
	"Supertwist [4]: 230 422 230 390 198 166 486 422 134 230 134",
223
	"Superfliptwist [1]: 386 450 230 386 450 230 390 454 226 420",
224
	"Superfliptwist [2]: 164 482 198 134 486 194 130 486 194 130",
225
	"Eye of the Twister [1]: 418 230 386 482 450 486 134 454 134 198 134",
226
	"Eye of the Twister [2]: 390 454 390 198 390 230 194 226 130 486 162",
227
	"Twister [1]: 454 390 486 390 198 486 198 230 198 422 134",
228
	"Twister [2]: 390 166 454 486 454 230 454 134 230 134 198"
229
	}
230
};
231
}

Also available in: Unified diff