Vectornaut
  • Joined on 2019-09-28
Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-17 21:27:32 +00:00
Curvature regulators

Done (commits ee8a01b – 52d9975). To me, the code that creates and inserts regulators looks much better-organized now!

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-17 21:23:05 +00:00
Curvature regulators

Done, by making CURVATURE_COMPONENT an associated constant of the Element structure (commit 7f21e7e). When we introduce separate structures for different kinds of elements, this one will go in…

Vectornaut pushed to curvature-regulators at Vectornaut/dyna3 2025-04-17 21:20:25 +00:00
7f21e7e999 Centralize the curvature component index constant
52d99755f9 Give each regulator a constructor
8f8e806d12 Move pointer creation into insert_regulator
ee8a01b9cb Let regulators handle their own activation
Compare 4 commits »
Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-16 23:04:33 +00:00
Curvature regulators

I also just realized that the names of the two regulators are not parallel: currently they are "HalfCurvatureRegulator" and "ProductRegulator". The first is geometry-centric, the second is…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-16 22:59:47 +00:00
Curvature regulators

But such code should be part of the code for that flavor of regulator, not in an "outside" method like this insertion gadget.

I think that's a great idea. I propose moving the insertion code…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-16 07:00:28 +00:00
Curvature regulators

I've made the changes we discussed during our last meeting, so this should be ready for review again!

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-16 06:59:41 +00:00
Curvature regulators

On the other hand, the engine does provide representation-specific implementations of other user-facing, mostly-representation-agnostic tasks […]. If we can find a mostly-representation-agnosti…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-16 06:54:47 +00:00
Curvature regulators

I've switched to the same-name convention in commit 955220c.

Vectornaut pushed to curvature-regulators at Vectornaut/dyna3 2025-04-16 06:49:17 +00:00
955220c0bc Shadow storage variable with builder variable
4654bf06bf Move half-curvature change routine into engine
Compare 2 commits »
Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-14 20:31:45 +00:00
Curvature regulators

Good to know. For now, I think it's worth clearly distinguishing the interior "builder" variable and the exterior "storage" variable, because they have some differences in usage: for example, the…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-14 20:26:58 +00:00
Curvature regulators

C) This very much has the look of engine code that has leaked into the assembly: nitty gritty dealing with the internal coordinates of an element.

Yes, I think this code is on the border…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-14 20:07:39 +00:00
Curvature regulators

B) Why do you have to do so much work updating the guess (I think that's what's going on) when you start regulating curvature, but it seems like you don't do much of anything when you start…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-14 19:25:02 +00:00
Curvature regulators

A) Seems like there is some duplication at least of structure/behavior here with the insert_new_product_regulator; is there anything that can be profitable factored out (some common insert_regula…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-10 22:54:56 +00:00
Curvature regulators

It also seems to me that Elements are ProblemPosers as well, but it's fine if that's not reflected in the software structure in this PR -- but you may want to contemplate that for #27.

Yes,…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-10 19:21:25 +00:00
Curvature regulators

I've fixed the example switcher regression and removed the work-in-progress flag! (The example switcher is now equally buggy on the main branch and on the branch to be merged. I'm not sure whether…

Vectornaut pushed to curvature-regulators at Vectornaut/dyna3 2025-04-10 19:16:55 +00:00
e1952d7d52 Clear the regulator list when switching examples
Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-09 23:04:05 +00:00
Curvature regulators

I've marked this PR as a work in progress because the example switcher is broken as of commit 81e423f. You're welcome to start reviewing while I debug the example switcher, because I expect the…

Vectornaut created pull request StudioInfinity/dyna3#80 2025-04-09 23:00:05 +00:00
WIP: Curvature regulators
Vectornaut created branch curvature-regulators in Vectornaut/dyna3 2025-04-09 22:54:45 +00:00
Vectornaut pushed to curvature-regulators at Vectornaut/dyna3 2025-04-09 22:54:45 +00:00
81e423fcbe Give every sphere a curvature regulator
63e3d733ba Introduce a problem poser trait
bba0ac3cd6 Add a half-curvature regulator
d57ff59730 Specify the values of the frozen entries
96e4a34fa1 Interpolate sphere ID and label, as intended
Compare 9 commits »