mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
Add VFX Particle Animation Demo (#24)
* add snow demo to vfx particle simulation * refactor particle simulation into one file * remove clouds demo link (extraneous) * init clouds example * fix wrapping and clumping for clouds at all wind speeds * move clouds example code to one file * add vfx particle animation clouds demo * add vfx particle animation to examples.html * fix indentation to 2 spaces * fix merge examples.html * add snow demo to vfx particle simulation * refactor particle simulation into one file
This commit is contained in:
committed by
GitHub
parent
76c6c002c2
commit
0a2ce484ff
+3
-3
@@ -112,7 +112,7 @@
|
||||
|
||||
.example-link.active {
|
||||
background-color: rgba(0, 0, 0, 0.15);
|
||||
border-left: 4px solid .ffffff;
|
||||
border-left: 4px solid #ffffff;
|
||||
}
|
||||
|
||||
.mobile-header {
|
||||
@@ -173,7 +173,7 @@
|
||||
|
||||
.mobile-panel .example-link.active {
|
||||
border-left: none;
|
||||
border-right: 4px solid .ffffff;
|
||||
border-right: 4px solid #ffffff;
|
||||
}
|
||||
|
||||
.mobile-panel .header {
|
||||
@@ -206,7 +206,7 @@
|
||||
codeButton.title = 'View source code for this example on GitHub';
|
||||
codeButton.innerHTML = `
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="display:block;">
|
||||
<path fill="none" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m9 8l-4 4l4 4m6-8l4 4l-4 4"/>
|
||||
<path fill="none" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m9 8l-4 4l4 4m6-8l4 4l-4 4"/>
|
||||
</svg>
|
||||
`;
|
||||
document.body.appendChild(codeButton);
|
||||
|
||||
Reference in New Issue
Block a user