feature-120-cell-more-inscriptions #24

Merged
bombinans merged 20 commits from feature-120-cell-more-inscriptions into main 2026-01-01 07:27:01 +00:00
2 changed files with 28 additions and 4 deletions
Showing only changes of commit 264aa5e497 - Show all commits

View File

@ -105,8 +105,20 @@ export const LAYERS120 = {
}; };
export const CELL120_CELL5 = { export const CELL120_CELL5 = {
"1": [ 1, 93, 37, 157 ], "tetras": {
} "1": [ 27, 223, 253, 419 ],
"2": [ 28, 76, 44, 112 ],
"3": [ 264, 238, 283, 197 ],
"4": [ 309, 84, 304, 578 ],
"5": [ 275, 225, 42, 521 ],
},
"cell5s": {
"1": [ 27, 28, 264, 309, 275 ],
"2": [ 223, 76, 238, 84, 225 ],
"3": [ 253, 44, 283, 304, 42 ],
"4": [ 419, 112, 197, 578, 521 ],
},
};
// Schoute's partition via https://arxiv.org/abs/1010.4353 // Schoute's partition via https://arxiv.org/abs/1010.4353

View File

@ -480,13 +480,25 @@ export const cell120_inscribed_cell5 = () => {
links.push(...links600); links.push(...links600);
} }
*/ for( const c5 in CELLINDEX.CELL120_CELL5 ) { */ const TETRAS = CELLINDEX.CELL120_CELL5.tetras;
const nodes5 = nodes.filter((n) => CELLINDEX.CELL120_CELL5[c5].includes(n.id)); const CELL5S = CELLINDEX.CELL120_CELL5.cell5s;
for( const t in TETRAS ) {
const nodes5 = nodes.filter((n) => TETRAS[t].includes(n.id));
const links5 = auto_detect_edges(nodes5, 4); const links5 = auto_detect_edges(nodes5, 4);
links5.map((l) => l.label = t);
links.push(...links5);
}
for( const c5 in CELL5S ) {
const nodes5 = nodes.filter((n) => CELL5S[c5].includes(n.id));
const links5 = auto_detect_edges(nodes5, 5);
links5.map((l) => l.label = 0); links5.map((l) => l.label = 0);
links.push(...links5); links.push(...links5);
} }
return { return {
name: '120-cell-5-cell', name: '120-cell-5-cell',
nodes: nodes, nodes: nodes,