DEV Community

Cover image for Topology fun
Patrick Lee Walker
Patrick Lee Walker

Posted on

1

Topology fun

Exposition

Not too long ago, in one of the final semesters of my undergraduate studies, I was programming in Topology. As a math enthusiast and programmer, I was working hard to complete a B.A. in Mathematics and a B.S. in Computer Science, and at the time, I was taking a few math upper-division electives that peeked my interest - the most interesting being Topology, of course. During that time, we were assigned two projects where we could do anything we wanted involving Topology up to what we had learned, and to my great creativity, I wrote two programs that solved (what could be considered) arduous tasks in the course.

The Projects

  1. 2D-Mainfold Glueing (see below)
    • calculate three qualities that form a complete invariant
    • determine the homogeneity class
  2. Bracket/Jones Polynomial (see below)
    • parameterize and digitize a knot in space
    • calculate the bracket and Jones polynomial of that knot

GitHub logo Patrickwalkstar / Topology

Coding projects for Topology

Topology-Projects

Coding projects for Topology

2D-Manifold Glueing

This program, with an input polygon schema, can calculate the three qualities that form a complete invariant of 2-dimensional manifolds: the Euler characteristic, the orientability and, the genus of the resulting surface. The homogeneity class (the homogenous space formed) of the presented polygon schema is calculated with the three qualities above.

Bracket/Jones Polynomial

Using the "Walker parameterization" as the input of a knot (described in the attached paper), this program calculates the bracket polynomial and Jones polynomial of that knot.




Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more