mirror of
https://github.com/ParkerTenBroeck/ParkerTenBroeck.github.io.git
synced 2026-06-06 21:14:06 -04:00
video support
This commit is contained in:
parent
3e6f2f3247
commit
0a882b6614
12 changed files with 63 additions and 31 deletions
|
|
@ -61,6 +61,8 @@
|
|||
function applyTransform() {
|
||||
clampPan();
|
||||
img.style.transform = `translate(${tx}px, ${ty}px) scale(${scale})`;
|
||||
img.classList.toggle("is-zoomed", scale > 1);
|
||||
img.classList.toggle("is-unzoomed", scale === 1);
|
||||
}
|
||||
|
||||
function resetView() {
|
||||
|
|
|
|||
BIN
static/videos/rasterizer/bricks.mp4
Normal file
BIN
static/videos/rasterizer/bricks.mp4
Normal file
Binary file not shown.
BIN
static/videos/rasterizer/halo.mp4
Normal file
BIN
static/videos/rasterizer/halo.mp4
Normal file
Binary file not shown.
BIN
static/videos/rasterizer/wavy.mp4
Normal file
BIN
static/videos/rasterizer/wavy.mp4
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue