Vectornaut
  • Joined on 2019-09-28
Vectornaut created branch cargo-examples in glen/dyna3 2024-11-11 22:52:08 +00:00
Vectornaut pushed to cargo-examples at glen/dyna3 2024-11-11 22:52:08 +00:00
a06d5942e3 Separate test and example for Irisawa hexlet
4094301318 Factor out the realization of the Irisawa hexlet
3a0f3a8d1c Streamline Gram matrix setup for Irisawa hexlet
27f88455fb Turn assertionless tests into Cargo examples
Compare 4 commits »
Vectornaut commented on pull request glen/dyna3#15 2024-11-11 21:58:30 +00:00
Integrate engine into application prototype

is this the string like 0.5 that represents the specified lorentz_prod of the constraint in the outline view?

Yes. More generally, it's the reactive string that represents the Lorentz product…

Vectornaut opened issue glen/dyna3#17 2024-11-11 09:02:20 +00:00
Set console error panic hook
Vectornaut pushed to engine-integration at glen/dyna3 2024-11-11 08:31:13 +00:00
5839882ed7 Name constraint Lorentz product more descriptively
Vectornaut commented on pull request glen/dyna3#15 2024-11-11 08:30:32 +00:00
Integrate engine into application prototype

I've replaced rep with lorentz_prod in all the Constraint field names. We can streamline the names later if they get too unwieldy.

Vectornaut commented on pull request glen/dyna3#16 2024-11-11 08:15:33 +00:00
WIP: Clean up the outline view

Marking this as WIP until I make these changes, which came up during review of pull request #15:

  • Make Element::index private, as discussed here
  • Use the new…
Vectornaut commented on pull request glen/dyna3#15 2024-11-11 08:09:47 +00:00
Integrate engine into application prototype

Pull request updated and ready for more review! I think I've made all of the changes you requested; let me know if I missed anything.

Vectornaut commented on pull request glen/dyna3#15 2024-11-11 08:06:01 +00:00
Integrate engine into application prototype

Done, with the type alias ElementColor.

Vectornaut pushed to engine-integration at glen/dyna3 2024-11-11 08:05:55 +00:00
a4ec52a4e7 Alias the type of an element's color
Vectornaut commented on pull request glen/dyna3#15 2024-11-11 07:57:48 +00:00
Integrate engine into application prototype

I've added a section about this to the notes!

Vectornaut pushed to engine-integration at glen/dyna3 2024-11-11 07:56:30 +00:00
abb9d35335 Correct align environment in notes
Vectornaut pushed to engine-integration at glen/dyna3 2024-11-11 07:50:14 +00:00
a170492e3d Add engine conventions to inversive coordinates notes
b8ca1139d5 Explain what the Element::index field holds
ced001bbfe Alias the types of element and constraint keys
ed1890bffc Improve naming of constraint subjects
da008fd090 Write out representation in Element structure
Compare 6 commits »
Vectornaut commented on pull request glen/dyna3#15 2024-11-11 05:49:13 +00:00
Integrate engine into application prototype

Definitely at some point we are going to need to separate the src directory into parts for the Assembly/Engine [...]

Yeah, I think we'll probably want separate modules for "front of house"…

Vectornaut commented on pull request glen/dyna3#15 2024-11-11 05:39:58 +00:00
Integrate engine into application prototype

Yes, this is one of the recommended ways to organize tests in Rust!

Vectornaut commented on pull request glen/dyna3#15 2024-11-11 05:37:26 +00:00
Integrate engine into application prototype

Are the _1 and _2 suffixes the number of arguments?

Yes—log_0 through [log_7](https://docs.rs/web-sys/latest/web_sys/conso

Vectornaut commented on pull request glen/dyna3#15 2024-11-11 05:33:20 +00:00
Integrate engine into application prototype

I think it's too early to design a formal logging system. I've been adding and removing log messages pretty freely as I test new features and track down bugs. I just started a [wiki page](wiki/Logg…

Vectornaut commented on pull request glen/dyna3#15 2024-11-11 05:08:27 +00:00
Integrate engine into application prototype

The PR update will add a comment that explains the index field's meaning, as described in this comment, and reminds us to…

Vectornaut commented on pull request glen/dyna3#15 2024-11-11 04:53:35 +00:00
Integrate engine into application prototype

When an assembly with n elements is sent to the engine, each element gets an index from 1 to n, which tells you which column of the configuration matrix it goes in. The index is assigned and…

Vectornaut commented on pull request glen/dyna3#15 2024-11-11 04:17:13 +00:00
Integrate engine into application prototype

I assume the two usizes are some sort of references to elements. If a primitive type is being used with semantic baggage, typedef it or something like that so that you can write e.g.,