Commit Graph

179 Commits (3f83bde5330c834de25866705a7459a334234251)

Author SHA1 Message Date
Mike Lynch 3f83bde533 Very cursed but entertaining bug as I try to get links scaling well 2024-04-26 16:57:21 +10:00
Mike Lynch 6f4d4cc633 Link foreshortening works, but updating the geometry of every edge
is making large objects like the 120-cell noticeably stuttery
2024-04-26 11:42:37 +10:00
Mike Lynch fb9c78d82f Fixed some scale problems 2024-04-26 08:59:26 +10:00
Mike Lynch e478abe7c6 Scaled the ends of the links so that they have w-perspective 2024-04-26 07:34:27 +10:00
Mike Lynch f79a90e0d9 Added the rest of the regular 3-d polyhedra 2024-04-25 12:38:40 +10:00
Mike Lynch 78ebb381ee Played around with the hyperplane and zoom so that it all looks
better with unit radius normalisation
2024-04-25 11:25:01 +10:00
Mike Lynch f99901f1b0 Normalised dodecahedron to unit radius 2024-04-25 11:07:21 +10:00
Mike Lynch 39fe6e5e40 Normalised 120-cell to unit radius 2024-04-25 11:05:23 +10:00
Mike Lynch 836e0d5ab6 Normalised 600-cell and snub 24-cell to unit radius 2024-04-25 11:03:11 +10:00
Mike Lynch 0be8c47608 Normalised 24-cell to unit radius 2024-04-25 11:00:14 +10:00
Mike Lynch 5e31403420 Normalised tesseract to unit radius 2024-04-25 10:58:41 +10:00
Mike Lynch aba20124db Normalised 5-cell and 16-cell to unit radius 2024-04-25 10:57:03 +10:00
Mike Lynch 1ec7955861 Merge branch 'feature-node-foreshortening' 2024-04-14 16:10:23 +10:00
Mike Lynch 1e5db22c25 scale factor for node foreshortening 2024-04-14 16:08:46 +10:00
Mike Lynch 680f9997f9 Added descriptions for each of the shapes 2024-04-14 16:05:17 +10:00
Mike Lynch cab5878ac8 Added node size scaling with w-foreshortening - looks kind of goofy 2024-04-09 15:05:39 +10:00
Mike Lynch b22ac6546d Node saturation now matches the basis colour saturation too 2024-04-07 12:38:06 +10:00
Mike Lynch eafc906210 Using HSL to derive the colour scheme 2024-04-07 11:53:33 +10:00
Mike Lynch 3d64c73a5e Fixed bug introduced when reverting the simplified rotation UU 2024-04-07 11:37:21 +10:00
Mike Lynch bc9e86d918 Revert "Simplified rotation ui"
This reverts commit 6b0c5cf97e.
2024-04-07 11:30:52 +10:00
bombinans 01a12bfe2a Merge pull request 'Added model of snub 24-cell' (#13) from feature-snub-24-cell into main
Reviewed-on: #13
2024-04-06 22:11:46 +00:00
Mike Lynch 9d303afaa0 Added model of snub 24-cell 2024-04-07 08:10:26 +10:00
bombinans 973d1d944b Merge pull request '600-cell-layers' (#12) from 600-cell-layers into main
Reviewed-on: #12
2023-11-04 05:35:59 +00:00
Mike Lynch 777b36d048 Finished layered view of 600-cell, refactored cellindex and moved all
of the reference data there.
2023-11-04 16:30:46 +11:00
Mike Lynch 6c360fcafd Start of code to build tetrahedra from 600-cell 2023-11-03 12:57:40 +11:00
Mike Lynch 7f35056ab8 Made default thickness and nodesize a bit bigger 2023-11-03 10:38:35 +11:00
bombinans 1b9f4478a8 Merge pull request 'feature-more-ui-tweaks' (#11) from feature-more-ui-tweaks into main
Reviewed-on: #11
2023-11-02 22:59:07 +00:00
Mike Lynch bef56b211b Updated lil-gui to 0.19.0 so options control doesn't jump to the end
when you select a different shape
2023-11-03 09:56:19 +11:00
Mike Lynch e805c64de6 Added zoom control 2023-11-03 09:55:44 +11:00
bombinans 029b14f53a Merge pull request 'Automatically shifts the camera distance to match the hyperplane.' (#10) from feature-improve-hyperplane into main
Reviewed-on: #10
2023-11-02 07:41:43 +00:00
Mike Lynch d9e7ae716b Automatically shifts the camera distance to match the hyperplane.
Put back 120-cell as the default.
2023-11-02 18:40:37 +11:00
Mike Lynch 25a2c5ebe6 Added a manual chunks setting to stop Vite complaining on build 2023-11-02 16:52:40 +11:00
bombinans 5494660d76 Merge pull request 'bugfix-layered-links' (#9) from bugfix-layered-links into main
Reviewed-on: #9
2023-11-02 05:37:33 +00:00
Mike Lynch 46dfb808f4 Added better layer names 2023-11-02 16:36:18 +11:00
Mike Lynch e7cb1856e0 Added a flag to turn off link2opacity for layered 120-cell 2023-11-02 16:26:48 +11:00
bombinans c281c4569a Merge pull request 'feature-120-cell-layers' (#7) from feature-120-cell-layers into main
Reviewed-on: #7
2023-11-02 03:15:51 +00:00
Mike Lynch c883bd7406 Cleaned up some redundant old stuff 2023-11-02 14:13:45 +11:00
Mike Lynch 6f1c5a58e6 Finished layer-by-layer visualisation of 120-cell 2023-11-02 14:10:13 +11:00
Mike Lynch 7323935a1f Added layered 120-cell 2023-11-01 12:52:59 +11:00
Mike Lynch 6d9610a1c6 options menu gets sensible default when shape changes 2023-11-01 11:57:46 +11:00
Mike Lynch c481d24f3c Refactored dodecahedron 2023-11-01 11:52:48 +11:00
Mike Lynch 029e6f3161 Added 600-cell and 120-cell 2023-11-01 11:49:42 +11:00
Mike Lynch 4bf38858ea Added 24-cell 2023-11-01 11:43:54 +11:00
Mike Lynch 50214adbe3 Reinstated 5-cell and 16-cell 2023-11-01 11:40:23 +11:00
Mike Lynch 71c6aa62ac Removed old inscribed tesseract 2023-11-01 11:15:18 +11:00
Mike Lynch 76f463ae03 Added refactored tesseract 2023-11-01 11:14:57 +11:00
Mike Lynch 42d1871a9e Improved option defaults and URL params 2023-11-01 10:47:46 +11:00
Mike Lynch 203850ba39 First draft of refactored optional / visible nodes and links 2023-11-01 10:22:26 +11:00
Mike Lynch 06c1b074b3 Started generalising / unifying inscribed links and layers as different
ways of picking out parts of a structure
2023-10-27 17:32:44 +11:00
Mike Lynch 2f59c0b3a5 Added a callback to set link and node visibility based on label at
the render stage
2023-10-27 12:45:46 +11:00