Brought some ui stuff from another branch
This commit is contained in:
parent
5922a5df60
commit
303a2971fe
@ -107,7 +107,12 @@ export const LAYERS120 = {
|
|||||||
// just one for now
|
// just one for now
|
||||||
|
|
||||||
export const CELL120_CELL5 = {
|
export const CELL120_CELL5 = {
|
||||||
"1": [ 1, 258, 304, 431, 510 ]
|
"1": [ 1, 258, 304, 431, 510 ],
|
||||||
|
"2": [ 1, 260, 302, 427, 506 ],
|
||||||
|
"3": [1, 264, 298, 435, 514],
|
||||||
|
"4": [1, 330, 334, 387, 391],
|
||||||
|
"5": [1, 491, 503, 574, 578],
|
||||||
|
"6": [1, 495, 499, 570, 582 ],
|
||||||
};
|
};
|
||||||
|
|
||||||
// Schoute's partition via https://arxiv.org/abs/1010.4353
|
// Schoute's partition via https://arxiv.org/abs/1010.4353
|
||||||
|
|||||||
12
polytopes.js
12
polytopes.js
@ -471,11 +471,13 @@ export const cell120_inscribed_cell5 = () => {
|
|||||||
|
|
||||||
links.map((l) => l.label = 0);
|
links.map((l) => l.label = 0);
|
||||||
|
|
||||||
const nodes5 = nodes.filter((n) => CELLINDEX.CELL120_CELL5["1"].includes(n.id));
|
for( const c5 in CELLINDEX.CELL120_CELL5 ) {
|
||||||
console.log(`node5 = ${nodes5}`);
|
const nodes5 = nodes.filter((n) => CELLINDEX.CELL120_CELL5[c5].includes(n.id));
|
||||||
const links5 = auto_detect_edges(nodes5, 4);
|
console.log(`node5 = ${nodes5}`);
|
||||||
links5.map((l) => l.label = 1);
|
const links5 = auto_detect_edges(nodes5, 4);
|
||||||
links.push(...links5);
|
links5.map((l) => l.label = c5);
|
||||||
|
links.push(...links5);
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
name: '120-cell-5-cell',
|
name: '120-cell-5-cell',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user