Commit Graph

8 Commits

Author SHA1 Message Date
85ad82d9e2 feat: handle the 'pivot' parameter of the Geometry Applet
Dealing with general click and drag on the applet and differentiating
  between a background drag and dragging an element seemed like too big
  a task, so this PR simply provides a slider to rotate the diagram when
  the pivot is defined.

  Implementing this required storing much more construction data, and
  also dealing head-on with GeoGebra's shall we say "strange" choice where
  the value of an expression depends on what name it is assigned to...
  The resolution of this last bit was to use different GeoGebra names for
  Geometry Applet points that start with something other than an uppercase
  Roman letter.
2023-10-13 10:17:16 -07:00
fff75f67e3 chore: update and prune embedded GeoGebra (#41)
Reviewed-on: #41
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-10-08 22:15:11 +00:00
25ba69c621 feat: Enable 3D constructions when adapting Geometry Applet (#40)
Turns on 3D viewing only for the constructions that use a 3D primitive, but loads the more extensive web3d bundle from the embedded GeoGebra package whenever any applet on the page uses 3d. (The idea is to only require the loading of one bundle per page.) Provides progress on #36.

Reviewed-on: #40
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-10-08 17:10:59 +00:00
e7361f94a7 feat: Produce an archematics plugin that works in Firefox (#38)
With this loaded in under the Firefox debugger, one can see linked WRL files and Java Geometry Applets on arbitrary web pages.
This represents significant progress on #28, but getting more controls and getting it to work in other browsers is still on deck.

Reviewed-on: #38
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-10-05 06:19:11 +00:00
b31c0671d2 chore: update to x_ite 8.12.4 2023-09-26 12:30:12 -07:00
285554137d fix: Expand the world info viewer so you can see content (#25)
Also update to latest x_ite.d.ts
  Resolves #22.

Reviewed-on: #25
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-09-18 02:05:19 +00:00
af472d7bfe feat: Adjust the X3D browser size (#24)
Does this simply by setting CSS properties on the canvas element.
  Also updates vrml1to97 and switches to using x_ite.d.ts directly
  from the x_ite repository (although the link will have to change
  once it is merged into main).
  Resolves #21.
  Resolves #23.

Reviewed-on: #24
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-09-11 18:20:09 +00:00
b5478254af chore: Check types and add draft full typing for x_ite. (#18)
Enabling type checking involves a full rearrangement of the
  build process, as well as supplying types for some of the
  dependencies.

  Now that (hopefully) all of the methods are typed, can call
  (for example) browser.setBrowserOption to manage the
  viewer navigation.

  Resolves #14.
  Resolves #17.

Reviewed-on: #18
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-09-11 01:52:39 +00:00