Commit Graph

25 Commits

Author SHA1 Message Date
Glen Whitney e742ef3460 fix: Get generators to work on Chrome; make wrl-only plugin also (#71)
Reviewed-on: #71
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2024-02-23 06:31:03 +00:00
Glen Whitney c895f2d30f chore: get working again on chrome and ready to distribute unpacked (#69)
Organize the plugin for submission, and restore its operation on Chrome. Unfortunately GeoGebra's files block submission, so further work will be needed to create a plugin installer.

Reviewed-on: #69
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2024-02-21 15:46:43 +00:00
Glen Whitney b74921341c feat: Reimplementation of prism generator (#65)
Resolves #16.

Reviewed-on: #65
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2024-02-19 21:52:56 +00:00
Glen Whitney dba8870c83 feat: Handle vrml generated on the fly in Conway notation page (#62)
Reviewed-on: #62
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2024-02-18 09:32:17 +00:00
Glen Whitney 37bea13d30 chore: Update version of vrml1to97 again 2024-02-14 01:01:39 -08:00
Glen Whitney 049039dd9a chore: Update to latest versions of dependencies.
Resolves #35.
  Also allows a useless statement that worked around a Civet bug to
  be removed.
2024-02-13 21:13:57 -08:00
Glen Whitney 9a3dd1b49b chore: Update version of vrml1to97.
Resolves #34.
2024-02-12 13:43:41 -08:00
Glen Whitney 3165ea540b chore: Update all dependencies to current and add overlooked assets
Resolves #37.
2024-02-12 09:21:14 -08:00
Glen Whitney b1e480a4be feat: Allow pentagons and hexagons (#53)
Also update all dependencies.
With this PR, one can process all of Joyce's elements through Book IV.

Reviewed-on: #53
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-11-30 23:51:59 +00:00
Glen Whitney 5b1ca40b26 feat: Implement additional Geometry Applet commands toward Book I (#45)
Reviewed-on: #45
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-10-22 17:33:01 +00:00
Glen Whitney a236e15990 feat: Get extension working in the Edge browser (#42)
To accomplish this, it needed to be bundled up in a zip file, so
  code to do that was added. (Quite possibly the zip will be able to
  be renamed as an .xpi file to create the file needed for Firefox.
  At the moment, you must extract this zip and "sideload" the extension
  into Edge by selected the extracted folder. I read that Edge will
  handle the packing into a single extension file itself.

  Also, some of the features used in the extension had to be polyfilled
  into Edge. And the final major change is that the "Xray" feature is
  not available in Edge, so data passed from the content script to the
  script injected into the page had to be moved from Xray to attributes
  of the script element. This all represents more progress on #28,
  Chrome(ium) is next.

Reviewed-on: #42
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-10-10 03:17:19 +00:00
Glen Whitney 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
Glen Whitney 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
Glen Whitney 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
Glen Whitney 01d78081a2 fix: Handle Joyce Geometry Applet color specifications (#33)
This PR attempts to capture all of the color structure
of the original Geometry Applet, except for pivot points
defaulting to green, since there are no pivot points yet.

Resolves #8.

Reviewed-on: #33
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-09-25 22:44:44 +00:00
Glen Whitney a55342ae95 feat: Add a separate browser and toggle control for each link (#27)
Resolves #20.
Resolves #26.

Reviewed-on: #27
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-09-19 04:40:23 +00:00
Glen Whitney 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
Glen Whitney 765d4ff840 fix: Interpret relative URLs correctly. (#19)
Also update to latest version of Civet.
  Resolves #11.

Reviewed-on: #19
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-09-11 03:44:16 +00:00
Glen Whitney 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
Glen Whitney a8707386aa chore: Update dependencies and fix build script (#15)
Reviewed-on: #15
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-09-05 07:32:38 +00:00
Glen Whitney 545c5f550f feat: Convert VRML 1 files with vrml1to97 (#13)
Now that the vrml1to97 package has been published, uses it to convert
  any VRML 1 files it encounters. Also uses the new x_ite module

  Resolves #12

Reviewed-on: #13
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-09-05 01:50:52 +00:00
Glen Whitney 10146073c8 feat: Allow civet code to modify DOM (#4)
This commit uses the jQuery package for DOM manipulation. So far, it
  performs just a toy modification, on a page modified to include the
  object javascript. For this purpose the build script was modified
  to place object files in `public/js`. Adds a script to build and
  serve the resulting code.

  Resolves #2.

Reviewed-on: #4
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-08-29 01:29:08 +00:00
Glen Whitney 16f38e769e chore: Add first target webpage and package to serve it 2023-08-28 10:31:35 -07:00
Glen Whitney 3a14bb1e89 chore: Set up simple civet build 2023-08-28 09:01:25 -07:00
Glen Whitney b9cd84eae3 chore: Initialize pnpm package manager 2023-08-28 08:33:10 -07:00