Skip to content

A demonstration of my abilities with TypeScript and React

Notifications You must be signed in to change notification settings

bugeats/clock-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clock Demo

As demonstration of my abilities with TypeScript and React, this project renders an analog clock in the style of an old vector display.

It looks like this:

screenshot

This project was bootstrapped with Create React App.

Setup

Install npm packages:

npm install

Development

Start the development server:

npm start

Testing

Run tests with jest:

npm test

Contributing

Run eslint before contributing:

npm run lint

Alternatively, fix some lint errors in place:

npm run lint:fix

TODO

Some ideas

  • Extract all time related magic numbers into some sort of model layer
  • Play with CSS/SVG WebGL shaders to further simulate a CRT display
  • Make some typed helpers for rendering SVG path command strings
  • Time travel

About

A demonstration of my abilities with TypeScript and React

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published