Skip to content

About

Interactive visualization of Stallings folding with step-by-step animations.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

Stallings Folding Visualizer

A small interactive tool for visualizing Stallings folding, with step-by-step animations and Chinese/English support.

Built with the help of ChatGPT. Made for exploring and learning geometric group theory.

🌐 Try it here

(A screenshot of the visualizer is shown at the bottom of this README.)

Example

Here's an example from Office Hours with a Geometric Group Theorist that I'm currently reading.

Free group rank: 2

Subgroup generators:

abab^{-1}
abb
bab
baaab^{-1}

Enter these four words, one per line, and click Build Graph and Compute Folding to construct the initial graph.

You can then step through the folding process or play the animations to see how the graph changes at each step.

You can also switch between Chinese and English using the language toggle.

Input Notation

Uppercase letters represent inverse generators. For example:

  • A represents (a^{-1})
  • B represents (b^{-1})
  • aB represents (ab^{-1})
  • AB represents (a^{-1}b^{-1})

You can also use explicit notation, such as ab^{-1} or a^-1b.

Preview

Stallings Folding Visualizer

About

Interactive visualization of Stallings folding with step-by-step animations.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages