Compare commits

..

No commits in common. "01a12bfe2ad2ca0af5ac5e9da0d91ac483fc4799" and "973d1d944bb1f278a441a222bcca48730ce2f7f8" have entirely different histories.

1 changed files with 1 additions and 29 deletions

View File

@ -301,7 +301,7 @@ function auto_120cell_faces(links) {
export function make_120cell_vertices() {
function make_120cell_vertices() {
const phi = 0.5 * (1 + Math.sqrt(5));
const r5 = Math.sqrt(5);
const phi2 = phi * phi;
@ -617,34 +617,7 @@ export const cell600_layered = () => {
}
export const snub24cell = () => {
const nodes600 = make_600cell_vertices();
const links600 = auto_detect_edges(nodes600, 12);
const nodes = nodes600.filter((n) => n.label != 1);
const links = links600.filter((l) => {
const sn = node_by_id(nodes, l.source);
const tn = node_by_id(nodes, l.target);
return sn && tn;
});
console.log(nodes);
links.map((l) => l.label = 0);
return {
name: 'snub 24-cell',
nodes: nodes,
links: links,
geometry: {
node_size: 0.02,
link_size: 0.02
},
options: [ { name: "--" } ],
}
}
@ -721,7 +694,6 @@ export const build_all = () => {
cell16(),
tesseract(),
cell24(),
snub24cell(),
cell600(),
cell600_layered(),
cell120_inscribed(),