Skip to content

Commit

Permalink
Update 2024-02-10-video-canvas-and-ai.md
Browse files Browse the repository at this point in the history
  • Loading branch information
toots authored Feb 10, 2024
1 parent 394a0cf commit 23dd54a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _posts/2024-02-10-video-canvas-and-ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ video.frame.height := height

For conversion, the API provides convenience functions that are inspired from how CSS works:
* `px` converts from virtual pixels to actual pixels
* `vw` converts a percentage of the width, expressed as a number between `0.` and `1.` into actual pixels
* `vw` converts a percentage of the height, expressed as a number between `0.` and `1.` into actual pixels
* `vw` converts a percentage of the actual width, expressed as a number between `0.` and `1.` into actual pixels
* `vw` converts a percentage of the actual height, expressed as a number between `0.` and `1.` into actual pixels
* `rem` converts a percentage of the default font size, expressed as a number between `0.` and `1.` into actual pixels
* `width` and `height` are the actual canvas size

Expand Down

0 comments on commit 23dd54a

Please sign in to comment.