JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q61221F
  • License AGPL-3.0-or-later

PIXI.js based renderer to create 5d chess boards based off of 5d-chess-js

Package Exports

  • 5d-chess-renderer

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (5d-chess-renderer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

5D Chess Renderer

PIXI.js based renderer to create 5d chess boards based off of 5d-chess-js.

What does 5D Chess Renderer do?

  • Render boards and pieces using 5d-chess-js data
  • Render previous moves and actions as arrows
  • Provide configuration / palette options
  • Handle mouse / touch events for zooming, panning, move selection, and arrow drawing

What does 5D Chess Renderer not do?

  • Does not handle keyboard events
  • Does not handle sound
  • Does not handle additional GUI elements (submitting, undo, forfeit, chess clock)

WIP

API

Constructor

ChessRenderer([element, config, palette, PIXI])

Creates a new instance of the ChessRenderer class.

  • element - [Optional] HTMLElement to attach the main canvas element to (will resize to element size). Use null to skip this process.