Earlier quoted context omitted.
Looks like it is, if I remove the 4 gifs stacked on top of each other CPU usage drops massively.
If it's only a few frames you might be able to arrange them vertically in a PNG and animate background-position to get the same effect for cheaper. Correction: you want to use transform to force creation of a new rendering layer, then when adjusting the rendered position of the element using transform will not cause a repaint.
Show HN: Lofi.cafe
111–120 of 237 posts
Re: Show HN: Lofi.cafe
#112I love that these type of apps are popping back up. However, I fear that the RIAA is going to ruin all the fun like they've done in the past. I used to run a site in which we just played random music with no ads/no revenue. We still got a cease and desist letter giving us no choice but to shut it down. I get why they exist, but they are more about stomping out sites rather than working them to figure out a path that…
Or couldn't you make a front end that pulls audio from Spotify or some other paid service? I want to see ideas like this flourish and support artists.
Re: Show HN: Lofi.cafe
#113Re: Show HN: Lofi.cafe
#114Anyone know why this type of music is called as "LoFi HipHop", it does not sound particularly lofi or hiphop..
Re: Show HN: Lofi.cafe
#115Anyone know why this type of music is called as "LoFi HipHop", it does not sound particularly lofi or hiphop..
This sound goes back to the early aughts when it had it's roots in underground hip hop.
Re: Show HN: Lofi.cafe
#116Earlier quoted context omitted.
I guess that's when you double down and just scrape Invidious[1] for the audio files. edit: The Firefox extension "Privacy Redirect"[2] also uses Invidious to automatically redirect all youtube links, and does similar things for pages like reddit and twitter to their respective "mirrors". [1]: https://docs.invidious.io/Invidious-Instances.md [2]: https://addons.mozilla.org/en-US/firefox/addon/privacy-redir...
Wow, I had no idea about Invidious. This perfectly solves my use case of needing a REST API to get MP3 urls for YouTube videos. I was looking into building or finding a REST API for youtube-dl, but this seems a lot easier.
You could of course also try and set up your own, private Invidious instance and see what mileage you get from that.
Re: Show HN: Lofi.cafe
#117Re: Show HN: Lofi.cafe
#118Re: Show HN: Lofi.cafe
#119Earlier quoted context omitted.
Video may be cheap, too: h.264 or WebM are relatively low cost on even reasonably modern devices.
To go in the opposite direction, if you wanted to add an option for people fine with large CPU/GPU expenditure (i.e., if this were playing on a dedicated TV in an actual café), it might be fun to add a WebGL canvas and make lofi/vaporwave-inspired effects [0]. [0]: http://hands.wtf/rad
Re: Show HN: Lofi.cafe
#120Anyone know why this type of music is called as "LoFi HipHop", it does not sound particularly lofi or hiphop..