Skip to content

Commit

Permalink
Matrix (#42)
Browse files Browse the repository at this point in the history
* refactored distance matrix

* defined robust Matrix type and Index impls for usage of jagged symmetric matrix

* compiling

* added Display to Matrix and fixed basic test

* fixed PST

* fixed cycle-finding

* refactor as JagGraph

* expanding into conway functionality; cycles

* made PST a little prettier

* replacing more occurrences of Edge with [VertexId; 2]

* more restoration of Conway and Platonic

* reimplementing other test cases

* fixed pst test process & floyd

* fully extricating Edge from PolyGraph

* reimplemented conway & preset commands

* trying to extricate more cases of Edge

* adding graphviz svg capability

* fixed split_vertex

* further solidifying split_vertex

* fixed contract edges; pst::o test working

* removed svg files from commits

* doing massive refactor

* updated the preset setting call heirarchy

* compiling again

* changing preset code to create new instances rather than modify in place

* reorganizing

* changed Render to separate pos and speed

* reimplemented test cases for Distance

* ugh; checkpoint i guess? not rendering

* dodec / expand

* updating truncation test to be more robust

* swapped out graphviz crate to improve legibility of graph structures

* fixed truncation!

* simplified contract_edges

* fixed automatic resizing of Render attributes in Polyhedron on Conway change

* trying to revert with no success

* updating stuff!

* temporarily setting to GL

* updates svg as we go

* fixed awful bug in position creation; as well as some layout stuff

* svg preview; ambod

* simplified split_vertex

* storing graph svg in memory instead of in files

* smart update positions on truncate

* working on scope simplifications

* nesting project structure

* proper nesting

* cycles submodule

* Cycles::from(&distance)

* removed redundant scoping

* restored the ability to truncate, this time with nice scoping!

* dramatically improved clarity and legibility of Graphviz svg

* ambo now rendering

* Distance super

* Shape super

* cleanup svg fn

* cleaning up MomentVertices

* cleaning up MomentVertices

* clippy fix

* fixing presets to be run on Polyhedron

* printing graphs to console in test cases

* somehow truncate is working

* removed additional recomputation

* terribly slow but correct cycle / face tester

* significantly faster solution using eulers polyhedron formula

* starting to clean

* added primitive chamfer operator

* trying to reimplement expand

* rewriting expand to use sorted_connections

* replacing expansion with aa for now

* clippy

* fixing clippy warnings

* updating wasm dependencies

* fixed render call

* fmt

* update README with warning
  • Loading branch information
organizedgrime authored Nov 30, 2024
1 parent deaf71d commit 36fc682
Show file tree
Hide file tree
Showing 38 changed files with 2,433 additions and 1,641 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
**/target
**/dist
tests
perf.*
flamegraph.svg
Loading

0 comments on commit 36fc682

Please sign in to comment.