138

Made the kinda constellation animation you see sometimes in the backgrounds of things.

Video link

(surprisingly easy on resources given the O(n^2^) complexity

top 12 comments
sorted by: hot top controversial new old
[-] stel@fedia.io 2 points 5 days ago

what's the little rain simulation you've got in your terminal? :D

[-] snap@lemm.ee 12 points 1 week ago

very nice. I would very much love to know how you did that :)

[-] Sekoia@lemmy.blahaj.zone 4 points 1 week ago

I would love to know as well!

[-] snekmuffin@lemmy.dbzer0.com 2 points 1 week ago

sending a notification to you just in case, explanation in the neighbor comment :v

[-] Sekoia@lemmy.blahaj.zone 2 points 1 week ago
[-] snekmuffin@lemmy.dbzer0.com 3 points 1 week ago

thank you! seems someone else already tagged you, but here's the link to source just in case: https://codeberg.org/aketawi-study/rust-constellation-bgr/

The basic idea is that I spawn a bunch of nodes with rando m velocitins and check the distance between each other at every frame. If the distance is within a certain radius, draw a line.

To display it in the background I just have a script that launches it on startup, and a couple of rules in AwesomeWM and picom to make it transparent, unfocusable and borderless

[-] snap@lemm.ee 2 points 1 week ago

Looking awesome. Thank you for your time and the explanation

[-] velox_vulnus@lemmy.ml 9 points 1 week ago

You can also run open-source, light-weight demoscenes btw, although some of them run purely on TTY.

[-] wesker@lemmy.sdf.org 8 points 1 week ago

Very pleasant.

[-] smpl@discuss.tchncs.de 6 points 1 week ago
this post was submitted on 23 Sep 2024
138 points (98.6% liked)

Unixporn

15220 readers
4 users here now

Unixporn

Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make themers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!

Rules

  1. Post On-Topic
  2. No Defaults
  3. Busy Screenshots
  4. Use High-Quality Images
  5. Include a Details Comment
  6. No NSFW
  7. No Racism or use of racist terms

founded 5 years ago
MODERATORS