A talk about creating a twinkling night sky with CSS & SVG (and some JS for our comfort only).
View Slides
Add me one Twitter (@deluxee) 🙌
- Hot Gas Ball
- Temperature is color
- Stars have different sizes
- Star Count
- Stars can twinkle
- Flying Burning Rock
- Meteor Shower
- Star Parallax
I created and collected dozens of codepens while preparing this talk. You can find them here: codepen.io/collection/DbRbQL/
For the actual talk I exported them and pallced them in the folder codepens
where I added some small & quick changes as needed. So the sources are only almost the same.
- codepen.io/collection/DbRbQL/
- Origamizake, three.js origami folding
- Satellytes
- Teaching Kids
- About Coding Kids and Screaming Carrots - JSConf EU 2018
You can also checkout my open source Angular Advanced workshop on github with some fun challenges.
The presentaiton engine is Reveal.js
This thing caused a leak that made the final score screen laggy (30-40fps). It seems reveal has problems removing such background iframe.
Switched to a simple iframe instead.
<section data-background-iframe="codepens/04-parallax-with-night-sky/">
<!-- <iframe
width="900"
height="700"
data-src="codepens/04-parallax-with-night-sky"></iframe> -->
<aside class="notes">
And when we apply it to our existing night sky
it will look like this when scrolled
</aside>
</section>