Level 1 · Explorer · chapter 18

18 Make it look right

Level 1 · Explorer. You will learn every control that changes how the picture looks without changing the numbers: the theme, the size sliders, glass and hidden lines, the grid, rings, labels and the legend. Read first: 11 Start here.

All the examples here start from the preset “y² = x³ + 7 over F₂₂₃, Programming Bitcoin”, so you can compare them with 16 One set of points, nine shapes.

Example 18.1 · The paper theme

the F₂₂₃ chord on the torus in the paper theme: ink lines on a light background

Open this view: The paper theme

Do it yourself

  1. In Curve, pick the preset y² = x³ + 7 over F₂₂₃, Programming Bitcoin.
  2. Press T for the paper theme.

Look at: dark ink on a light background, with flat shading: the look of a printed plate in a geometry book.

Why: the dark theme is made for screens and the paper theme for print, slides and documents. Press T (or the half-filled circle at the top of the panel) to switch. The theme is part of the state, so a link keeps it, and a PNG saved in the paper theme has a light background.

Size

The Shape section has two size sliders, and their names change with the shape. On the torus they are Major R (the size of the whole ring, from 0.80 to 2.00) and Minor r (the thickness of the tube, from 0.15 to 0.75).

Example 18.2 · A slim tube

a wide torus with a thin tube

Open this view: A slim tube: Major R 2.00, Minor r 0.15 · In Curve, pick the preset y² = x³ + 7 over F₂₂₃, Programming Bitcoin. In Shape, set Major R to 2.00 and Minor r to 0.15.

Example 18.3 · A fat tube

a small torus with a thick tube and a tiny hole

Open this view: A fat tube: Major R 0.80, Minor r 0.75 · In Curve, pick the preset y² = x³ + 7 over F₂₂₃, Programming Bitcoin. In Shape, set Major R to 0.80 and Minor r to 0.75.

Why: the numbers do not change, only the proportions. A slim tube makes the angle around the hole easy to read; a fat tube spreads the points around the tube, so the y direction is easier to see.

Glass and hidden lines

Two sliders in Display control how solid the surface looks. Glass (0.55 at the start) is the shine of the surface, strongest where you look along it. Hidden lines (0.40 at the start) is how strongly the lines and points behind the surface show through, faint and dashed, like the hidden edges in a technical drawing.

Example 18.4 · Glass 1.00, hidden lines 0.00

the torus as solid-looking glass, with nothing drawn behind it

Open this view: Glass 1.00, hidden lines 0.00 · In Curve, pick the preset y² = x³ + 7 over F₂₂₃, Programming Bitcoin. Set the Glass slider to 1.00. Set the Hidden lines slider to 0.00.

Example 18.5 · Glass 0.00, hidden lines 1.00

the torus as a wire frame: no glass, and every line behind it drawn

Open this view: Glass 0.00, hidden lines 1.00 · In Curve, pick the preset y² = x³ + 7 over F₂₂₃, Programming Bitcoin. Set the Glass slider to 0.00. Set the Hidden lines slider to 1.00.

Why: with no hidden lines you see only the front, as with a solid object. With no glass and full hidden lines you see everything at once, which helps when a point is on the far side; the dashes still tell you which lines are behind.

The grid, rings and labels

The grid divides the surface into sectors: 24 × 16 at the start (24 around the hole, 24 along x, and 16 around the tube). Grid sectors along x and Grid sectors along y in Display change that. Each point’s card names the sector it is in, which is a quick way to describe where a point is.

Example 18.6 · A finer grid: 48 × 32 sectors

the torus with a grid of 48 sectors around the hole and 32 around the tube

Open this view: A finer grid: 48 × 32 sectors · In Curve, pick the preset y² = x³ + 7 over F₂₂₃, Programming Bitcoin. Set Grid sectors along x to 48 and Grid sectors along y to 32.

Example 18.7 · Only the points: grid, rings and labels off

the torus with only the dots, the coloured points and the chord

Open this view: Only the points: grid, rings and labels off · In Curve, pick the preset y² = x³ + 7 over F₂₂₃, Programming Bitcoin. In Display, turn off Sector grid (G), Guide rings and Labels (L).

Why: the switches in Display turn each layer on and off: Sector grid (key G), Guide rings, Labels (key L), All curve points (key C), Chord construction (key K) and Flat map (key M). Below them, Guide rings for picks whose rings are drawn: P₁, P₂, the result, G.

Example 18.8 · The compact legend

the legend folded down to its coloured names

Open this view: The compact legend · In Curve, pick the preset y² = x³ + 7 over F₂₂₃, Programming Bitcoin. Click the small arrow at the top right of the legend to make it compact.

Why: the small arrow at the corner of the legend folds it down to one line per point; click it again for the full legend. Cards keep out of the legend’s way either way.

Try it yourself

Recap

Next, Level 2 begins: 21 Clock arithmetic and the curve equation. Or jump to the Bitcoin chapters at 31 secp256k1 in the panel.