Git Product home page Git Product logo

after-dark-css's People

Contributors

bryanbraun avatar juliemyoung avatar manishgupta200 avatar mrpassiontea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

after-dark-css's Issues

Some screensavers have issues on ultrawide screen resolutions

Super neat project. I just happened to notice these issues when I was checking it out on my 3440x1440p monitor.

For instance the Spotlight screensaver, when the spotlight reaches one of the far ends of the screen, the black overlay is not of sufficient size to cover the opposite side:
image

Rainstorm, the effects are left-aligned and do not reach the right side of the screen. The "flash" does however.
image

License?

These are so cool! What's the license? I'd like to use them on my site

Improve animation performance

One quick way for us to improve the performance of these animations is to rely more on transforms, as explained in this article (and the following image):

image

The biggest opportunities are in areas where we could animate transform: translate instead of top/bottom/left/right. We can fix this in the following screensavers:

  • Flying Toasters
  • Bouncing Ball
  • Fish
  • Logo
  • Messages
  • Messages 2
  • Spotlight

Other opportunities include:

  • Hard Rain (currently animates width and height).
  • Rainstorm (animates background color, which could be done with opacity)

Starry Night?

Just logging an email request I got:

I wanted to personally thank you for crafting the After dark in CSS page.
I was wondering if there were any chance you might create a"starry night" module?

Starry night would be tough, since there's not a good way to add run-time randomness to CSS animations. Still, I think there are ways to mimic the look and feel, and it would be cool to see one in action. I not planning on attempting this at the moment, but I'll happily merge a contribution if somebody wants to give it a shot.

Make the demos mobile friendly

The index page is not mobile friendly:

image

Fixing this is probably just a matter of including the mobile meta tag and testing it on a couple mobile devices.

While we're at it, we should see how the demos themselves look on mobile devices. I don't think they need to be perfect (mobile is not the primary use-case), but at the very least they shouldn't look broken.

jQuery plugin?

This is, literally, the best thing. But you know what would be better than the best thing in one place? The best thing IN EVERY PLACE.

I'd love to have these as jQuery plugins so I can enhance pages with toasters or even set an actual timeout, after which the screen saver will activate.

It's on my todo list for a little bit later. But if anyone's feeling ambitious, have at it.

Random Quotes screensaver

Hey again. ^^

Actually your project motivated me to remake an old After Dark screensaver I used to like when I was a kid. I don't remember the exact name but I prefectly remembered the behavior.

It was a black screen with, at fixed interval, a random quote displays. You could put your own quotes, as many as you want, and you could choose the style and colors of the borders around the quotes. I don't know if you ever seen that one.

Anyway, I just made it and published it on my gitlab. Feel free to include it in your project! ;)
https://gitlab.com/maxlefou/adquotes

Just like the original screensaver, quotes and borders styles are editable easily, just by editing a file named options.js.

You can see it in action here.

New possible screensavers?

Just creating this issue as a place to collect a list of screensavers that we could add using CSS alone.

  • Nocturnes (the one with the blinking eyes... see image below)
  • [add more ideas here as we come up with them]

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.