diff --git a/polytopes.js b/polytopes.js index 241cc30..4686561 100644 --- a/polytopes.js +++ b/polytopes.js @@ -527,14 +527,13 @@ export const cell120_inscribed_cell5 = () => { const nids = []; for( const c5 in CELL5S ) { - if( CELL5S[c5].label === 3 ) { const nodes5 = nodes.filter((n) => CELL5S[c5].nodes.includes(n.id)); const links5 = auto_detect_edges(nodes5, 5); links5.map((l) => l.label = CELL5S[c5].label); + nodes5.map((n) => n.label = CELL5S[c5].label); linksc5s.push(...links5); nodesc5s.push(...nodes5); nids.push(...nodes5.map((n) => n.id)); - } } const links120 = links.filter((l) => nids.includes(l.source) && nids.includes(l.target)); @@ -543,12 +542,12 @@ export const cell120_inscribed_cell5 = () => { nodes: nodesc5s, links: [...linksc5s, ...links120], options: [ -// { name: "all", links: [0, 1, 2, 3, 4, 5] }, + { name: "all", links: [0, 1, 2, 3, 4, 5] }, { name: "24", links: [0, 3 ] }, -// { name: "48", links: [0, 1, 2 ] }, -// { name: "72", links: [0, 1, 2, 3 ] }, + { name: "48", links: [0, 1, 2 ] }, + { name: "72", links: [0, 1, 2, 3 ] }, { name: "96", links: [0, 1, 2, 3, 4 ] }, -// { name: "hide 1200-cell", links: [ 1, 2, 3, 4, 5 ] }, + { name: "hide 120-cell links", links: [ 1, 2, 3, 4, 5 ] }, ], description: `The vertices of the 120-cell can also be partitioned into 120 5-cells: each 5-cell has one vertex in each of the five