Rendering | Repo Files | Source |
---|---|---|
ASCII input SVG output |
Wikipedia: Chess | |
ASCII input SVG output |
Wikipedia: Immortal Game (last position) | |
ASCII input SVG output |
Wikipedia: Karparov's Immortal (last position) |
Rendering | Repo Files | Source |
---|---|---|
ASCII input SVG output |
Wikipedia: Chess | |
ASCII input SVG output |
Wikipedia: Immortal Game (last position) | |
ASCII input SVG output |
Wikipedia: Karparov's Immortal (last position) |
- CoffeeScript mapping file and equivalent
JavaScript mapping file, illustrating:
- Computing the square parity to automatically shade dark squares
- Using
require
to load and modify external SVG files (strip off unnecessary<svg>
wrapper) - JSX notation for creating and composing symbols
svgtiler.background
for rendering a background white rectangle
- CoffeeScript file for rendering the graph of attacks,
illustrating more advanced
export postprocess
usage.
Piece shapes are defined by unmodified SVGs from Wikimedia's Standard chess diagrams, authored by Cburnett (Colin M.L. Burnett) and licensed under BSD license (among other licenses).