Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
livechroma: use shutter animation
Browse files Browse the repository at this point in the history
Change-Id: I5750bfd63f533f24a755cef2788e2ac926534595
  • Loading branch information
andi34 committed Jan 17, 2022
1 parent 10774b2 commit 9d67871
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions livechroma.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<?php endif; ?>
</head>
<body>
<div id="blocker"></div>
<div id="aperture"></div>
<div class="chromawrapper">
<div class="rotarygroup" id="start">
<div class="top-bar">
Expand Down
25 changes: 25 additions & 0 deletions src/sass/classic_live_chromakeying.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,31 @@
}
}

#blocker {
position: absolute;
display: none;
width: 100%;
height: 100%;
z-index: 1499;
background-color: #ffffff;
opacity: 0;
}

#aperture {
box-sizing: content-box;
display: none;
width: 150%;
padding-bottom: 150%;
height: 0;
position: absolute;
top: 50%;
left: 50%;
z-index: 1500;
transform: translate(-50%, -50%);
border: solid 2000px #000000;
border-radius: 50%;
}

#video--view {
top: 0;
left: 0;
Expand Down

0 comments on commit 9d67871

Please sign in to comment.