Improve drawing with segments

This commit is contained in:
Andras Schmelczer 2023-04-26 20:34:59 +01:00
parent fea5ecfcee
commit 9f01a9e236
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
10 changed files with 89 additions and 200 deletions

3
src/utils/sleep.ts Normal file
View file

@ -0,0 +1,3 @@
export const sleep = (ms: number): Promise<void> => {
return new Promise<void>((resolve, _) => setTimeout(resolve, ms));
};