R/MRatCalcpowered by RiX

RiX walkthrough 16 b

Construct an exact circumcircle

Build a perpendicular bisector and circumcircle, then render the exact construction through portable Graphics.

Build a ruler-and-compass construction

The mathematical points, lines, and circle retain rational coordinates and construction provenance. Draw is an explicit snapshot step that lowers those values to the same core Graphic understood by SVG and Canvas.

Runnable RiX

Center and RadiusSquared validate that their argument is a circle before returning its exact defining measurements. This keeps consumers independent of the circle record's storage layout.

Explore a retained construction interactively

The workbench uses the same construction graph for dependency inspection and rendering. A DragPoint captures the reactive identity directly and declares the mathematical view used to map pointer positions back to exact rational coordinates.

Runnable RiX

RiX Web supplies the object tree, property inspector, keyboard traversal, session movement history, and export button. The same value still renders as ordinary Graphics in static hosts.

Add exact free points from the canvas

Positioned Graphics.Action nodes translate a pointer or keyboard cursor through the declared mathematical coordinate system before invoking their RiX callback. The point tool below appends a retained free node; its companion actions replay the same exact create history.

Runnable RiX

Click empty canvas space to place p1, p2, and so on. Select Point tool to focus its surface; arrows move the cursor, Shift-arrows move ten pixels, and Enter or Space places the point. Select Line tool or Circle tool, then choose two distinct points in the construction tree. For a circle, choose its center first and its through-point second. Intersection tool accepts two lines, circles, or conics; Distance tool accepts two points. snap is applied in mathematical coordinates, and maxNodes is a strict construction bound.

Keep unresolved intersections visible

Parallel lines return an intersection result whose status is parallel. Including that result in a drawing produces a visible diagnostic rather than a fabricated point.

Runnable RiX

Transform a polygon and check a constraint

Transforms preserve exact coordinates. Constraints retain their exact residual instead of turning a drawing into a Boolean-only result.

Runnable RiX

Measure and rotate without binary floats

Named measurements preserve the geometry kernel's exact/certified split. Arbitrary rotations accept radians, degrees, or fractions of a turn.

Runnable RiX

Quarter turns are rational affine maps. Rational fractions of a turn carry exact algebraic coordinates; arbitrary radians carry certified-real coordinates and can be refined or drawn.

Explore the algebraic lane

A compass construction may leave rational coordinates without leaving exact mathematics. The diagonal through a rational circle meets it at coordinates involving sqrt(2). Exact polynomial certificates decide the intersection topology and retain exact algebraic points.

Runnable RiX

A rational turn is exact circular data. Its sine and cosine are algebraic because they are coordinates of a root of unity. The nonzero radian magnitude 2*pi*p/q is transcendental, so the plugin does not mislabel it as an algebraic real. A rational number supplied directly in radians is generally not a rational turn and stays on the general certified lane.

Algebraic coefficients make intersection equality, sign, and multiplicity decidable. With arbitrary certified-real coefficients, interval refinement can prove separation from zero but cannot always prove exact zero. Those intersections explicitly return undecided with evidence when their budget is exhausted.

Inspect certified intersection decisions

Line-conic intersections retain both the exact discriminant sign and the Sturm root-count certificate used to classify the result.

Runnable RiX

Refine an implicit conic with bounded work

The implicit value stays mathematical and serializable. Refine creates one portable snapshot for the requested viewport while retaining work and uncertainty records.

Runnable RiX