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 13 additions and 6 deletions
Showing only changes of commit 303a2971fe - Show all commits

View File

@ -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

View File

@ -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 ) {
const nodes5 = nodes.filter((n) => CELLINDEX.CELL120_CELL5[c5].includes(n.id));
console.log(`node5 = ${nodes5}`); console.log(`node5 = ${nodes5}`);
const links5 = auto_detect_edges(nodes5, 4); const links5 = auto_detect_edges(nodes5, 4);
links5.map((l) => l.label = 1); links5.map((l) => l.label = c5);
links.push(...links5); links.push(...links5);
}
return { return {
name: '120-cell-5-cell', name: '120-cell-5-cell',