Right now it just controls debugging options for what gets logged to the
console during execution. But at some point we should add on/off switches
for the two main facilities.
Also implements just enough additional commands to successfully render
the very first illustration in Joyce's Euclid, namely Book 1, Def I.2.
Since third-party code may not be loaded from the web in an extension,
requires bundling many GeoGebra app files into the extension.
Still to come: control panel for the extension.
So far, plugin only handles VRML. But it loads as a temporary plugin in
Firefox OK, and it generates viewers as necessary, including overlaying
existing images that are links to VRML files.
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>
This change implements several additional construction methods,
including the first polygon ones. In particular, it now allows
arbitrary strings as entity names, even ones that are not allowed
as GeoGebra identifiers, using captions to show the original
entity names. In addition, line arguments are interpreted as a pair
of point arguments as needed.
Resolves#6.
Resolves#30.
Resolves#31.
Reviewed-on: #32
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
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>
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>
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>
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>
Mostly works on VRML97 and up files. Unfortunately, many of the target files are VRML 1.0,
so an on-the-fly converter will be needed. The strategy for that is to translate the converter in Wings 3D.
Resolves#9.
Reviewed-on: #10
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
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>