thespielplatz / tspi-blockclock

Private homebrew project for a blockclock
MIT License
0 stars 0 forks source link

[SPIKE] Test typescript performance with ws281x #2

Open thespielplatz opened 8 months ago

thespielplatz commented 8 months ago

In a test in the past had the result, that typescript was way slower. (The eye could recognize the steps instead of a fluid animation)

The test file was animation.js (example of ws821x library).

Goal is to test, if it's possible to have fluid animations with typescript.

thespielplatz commented 8 months ago

Animations looked fine.

Only problem was npx because the sudo privleages got lost on the way. It did work with sudo ./node_modules/.bin/ts-node.

thespielplatz commented 8 months ago

@daskleinesys I conclusion of my typescript test is, that the animations work fine :) We could switch to typescript.

My suggestions: