Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
JGantts committed Mar 2, 2024
1 parent 5a60803 commit 02e9e83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Curtain/Curtain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ async function renderScene(): Promise<Boolean> {
//canvasSmoothContext.restore()
if (eachIsDone) {
//emit('curtainCall', '')
emit('curtainCall', '')
doneAnimatingCurtain = true
return true
}
Expand Down
15 changes: 6 additions & 9 deletions src/components/Background.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import {
} from '@radix-ui/colors';
let colorsCycleIndex = 0
let colorsCycleIndex = 1
const colorsCycle: Rainbow[] = [
{
dir: RainbowDirection.Regular,
Expand All @@ -97,13 +97,13 @@ const colorsCycle: Rainbow[] = [
},
},
{
dir: RainbowDirection.Reversed,
dir: RainbowDirection.Regular,
stops: [
{ stop: 0, color: hslToComponents(ruby.ruby11) },
{ stop: 0, color: hslToComponents(orange.orange9) },
{ stop: 0.45, color: hslToComponents(tomato.tomato10) },
//{ stop: 0.5, color: hslToComponents(tomato.tomato9) },
{ stop: 0.6, color: hslToComponents(orange.orange9) },
{ stop: 1, color: hslToComponents(orange.orange8) },
{ stop: 0.6, color: hslToComponents(red.red10) },
{ stop: 1, color: hslToComponents(ruby.ruby11) },
],
curve: {
pos: { low: -300, high: 0 },
Expand Down Expand Up @@ -270,7 +270,7 @@ defineExpose({ reloadBackground })
>
<Curtain
class="curtain"
id="curtain2" ref="curtain2Ref"
ref="curtain2Ref"
@curtainCall="reload2"
/>
</div>
Expand All @@ -292,7 +292,4 @@ defineExpose({ reloadBackground })
.front-curtain {
z-index: 1;
}
#curtain1 {
transform: scaleY(-1);
}
</style>

0 comments on commit 02e9e83

Please sign in to comment.