Improve drawing with segments
This commit is contained in:
parent
fea5ecfcee
commit
9f01a9e236
10 changed files with 89 additions and 200 deletions
3
src/utils/sleep.ts
Normal file
3
src/utils/sleep.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export const sleep = (ms: number): Promise<void> => {
|
||||
return new Promise<void>((resolve, _) => setTimeout(resolve, ms));
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue