This one-page app recreates Cistercian numerals for numbers between 0 and 9999.
- Blank web page
- add SVG soc
- Dimensions 600x600
- Single line
- Zero (!)
- Aim: Easier coordinates
- Add a viewbox (x y w h)
- GOOD path changes to start at 0,0
- Aim: Centre line starts at 0,0
- Change coords
- halve viewbox to allow us to use 2x3 grid
- Aim: fix cliping
- Solution: adjust viewbox by half the width of the page
- Aim: Simplify drawing
- Separate the styles
- Aim : Draw 1
- Add second line
- Aim : Make draing fit!
- adjust viewbox
- Aim : Draw 2
- Move second line
- Aim : Draw 9
- Longer path
- add stroke-linejoin
- Aim: Re-usable drawing components
- use
- add with href
- Make joins pretty
- Aim: make ALL the number shapes
- Aim: prepare for user input
- Add input box
- autofocus
- type min max
- placeholder
- value
- Style it (use grid for body)
- Aim: react to input
- Add Script
- Add input event listener
- Report on requested number
- Aim: Changing 0-9
- Add an ID to the use
- use the script to change its href
- breaks on numbers above 9.
- Aim: prepare for larger numbers
- Add placeholders
- Flip image components
- Aim: make all numbers work
- reverse the string by converting to an array
- loop over the elements in the array
- Prettify and UX