WeSearch

Cayley Graphs and Pretty Things

·21 min read · 0 reactions · 0 comments · 12 views
#mathematics#programming#visualization
⚡ TL;DR · AI summary

The article discusses the implementation of Cayley graphs using JavaScript and the Three.js library. It outlines the process of fetching data, initializing plots, and creating interactive visualizations. The focus is on how to represent mathematical groups graphically and the functionality of the plotting tool.

Key facts
Original article
Github
Read full at Github →
Opening excerpt (first ~120 words) tap to expand

{ "imports": { "three": "https://unpkg.com/three/build/three.module.js" } } .cayley-uwu { border: 2px solid rgb(1, 253, 198); box-sizing: border-box; } .cayley-container { padding-top: 1em; padding-bottom: 1em; display: flex; align-items: center; justify-content: center; } .graph-info-msg { top: 0.5em !important; color: white !important; opacity: 1 !important; font-family: victormono !important; font-size: 1.1em !important; } import { Group, Matrix, Rational } from "https://juliapoo.github.io/Cayley-Graph-Plotting/ts/cayley.js"; const DATAURL = [ fetch("https://juliapoo.github.io/Cayley-Graph-Plotting/rsrc/grouplisting.json"), fetch("https://juliapoo.github.io/Cayley-Graph-Plotting/rsrc/matrep.json") ]; function init_plot(dom) { const plt = ForceGraph3D({ antialias: true, alpha: true })…

Excerpt limited to ~120 words for fair-use compliance. The full article is at Github.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Github