A viz from the future


Building a viz from the future?

-What is a viz from the future?

You know minority report?

This video is what I mean

  • Dark mode
  • Flashy, Neon color
  • Glowing shapes
  • Gradient
  • Animation

-Glowing div with box-shadow

Can be done with overlapping box-shadow.

Official doc is here

A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color.

With inset, I can put the shadow inside of the shape

shadows are drawn one of top of each other.

But there is an issue: box-shadow does not exist for svg.

-Glowing svg with ...

How can I do.

Two main ways: svg filter and css filter

css filter is easy, it works like box-shadows that is described above

BUT, it does not work with inset, so we need another solution for inside shadow.

But there is an issue: how to do for canvas




General Knowledge

Contact

👋 Hey, I'm Yan and I'm currently working on this project!

Feedback is welcome ❤️. You can fill an issue on Github, drop me a message on Twitter, or even send me an email pasting yan.holtz.data with gmail.com. You can also subscribe to the newsletter to know when I publish more content!

    Contact

    👋 Hey, I'm Yan and I'm currently working on this project!

    Feedback is welcome ❤️. You can fill an issue on Github, drop me a message on Twitter, or even send me an email pasting yan.holtz.data with gmail.com. You can also subscribe to the newsletter to know when I publish more content!