Repository navigation
AngouriMath Live at /live, and Try it live leads there - #63
Merged
Merged
Conversation
AngouriMath Live is the library in the browser as WebAssembly, with no server: nine pages, each a formula box, whose every answer the library computes in a Web Worker. Its source moves here as live/, from Rafael-SOWNet/amlive-source, and `amsite.fsx build` publishes it after the generator and copies it to .output/final/live: the runtime's files without their precompressed copies, its _framework folder as framework, which the worker imports dotnet.js by. It references the AngouriMath 2.8.0 package, so the page shows a released version, and a release raises it, as AGENTS.md now says. "Try online" led to /demo, whose samples are .NET Fiddle widgets of AngouriMath 1.3.0-preview.3 and do not show on a phone. It is now "Try it live", a button in the site's magenta in the sidebar and in the phone navigation, and the home page has one beside Get started. /demo stays, as "Try AngouriMath in C#", and opens with a link to the live page. AngouriMath Live's title leads back to the website. A review of every preset on every page found one claim that was not true: the extrema of sin(x)/x were given as "6 real values between -50 and 50", which are the roots of tan x = x that a numerical search found, of about thirty. An answer with decimals in it is now captioned as found by a numerical search, and not necessarily all. Part of ASC-Community/AngouriMath#1692. Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Puts AngouriMath Live on the website at
/live, and makes it what "Try online" opens. Part of ASC-Community/AngouriMath#1692.What it is. The library in the browser as WebAssembly, with no server. It has nine pages (Waves, Representations, Shapes, Calculus, Logic, Regions, Motion, Numbers, Matrices). Each is a formula box, and the library computes every answer on it in a Web Worker. A call that runs too long restarts the worker, so the page never freezes. It references the AngouriMath 2.8.0 package, so it shows a released version.
What changes here:
live/: the app's source, moved fromRafael-SOWNet/amlive-source. It is aMicrosoft.NET.Sdk.WebAssemblyproject without Blazor, plain ES modules and one stylesheet, with no Node and no workload.live/README.mdsays how it is put together.amsite.fsx buildpublishes it after the generator and copies it to.output/final/live(8.8 MB, the 29 filesdotnet.jsloads). The.br/.gzcopies are dropped, since Pages compresses what it serves._frameworkis copied asframework, the name the worker imports by./demostays, retitled "Try AngouriMath in C#", and opens with a link to the live page. Its .NET Fiddle widgets run AngouriMath 1.3.0-preview.3 and do not show on a phone.AGENTS.md: the build step, and a release now also raises the package inlive/AmLive.csproj.Checked:
init, thenbuild) and served locally./live/loads, and AngouriMath is ready in 0.1 s.x e^(−x²),ln(x)/xandx⁴ − 2x².sin(x)/xwere listed as "6 real values between −50 and 50". They are the roots of tan x = x that a numerical search found, of about thirty. An answer with decimals in it is now captioned "found by a numerical search where there is no closed form, so not necessarily all".On this machine
dotnet publishrelinked the native runtime with Emscripten, because the wasm-tools workload is installed. The CI runners have no workload and will use the prebuilt runtime, as the hosted copy's README describes. This PR's build-test on Windows, Linux and macOS is the check of that.🤖 Generated with Claude Code