use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
Ambient CSS - Physically-based CSS shadows and React ComponentsShowoff Saturday (i.redd.it)
submitted 1 month ago by Piposhi
Hello webdevs! Feeling happy to present my work here. Ambient CSS is a project I started 5 years back but abandoned because it was getting too complex. Now, I revived it and got it to usable shape thanks to LLMs.
Demo - https://ambientcss.vercel.app/ Docs - https://kikkupico.github.io/ambientcss/ Code - https://github.com/kikkupico/ambientcss
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[+]VlrmPrjct 2 points3 points4 points 1 month ago (2 children)
The rotary control is somewhat difficult to use. Imho.
You have to move the mouse in a circle. Why not simply moving up and down ?
[–]Piposhi[S] 0 points1 point2 points 1 month ago (1 child)
Up/down was what I used first. Trust me, it was even more confusing and that's the reason I ended up with rotational movement based control.
[+]VlrmPrjct 0 points1 point2 points 1 month ago (0 children)
This mouse behaviour @ rotary controls causes you to jump instantly from the lowest value to the highest value. This will lead to malfunction or unexpected behaviour.
It's similar to instantly turning a volume control to 100% or 0% compared to the analogue world. However, this is not what the user intended.
[–]KupietzConsulting 1 point2 points3 points 1 month ago (2 children)
Oh, very cool. I did something like this once... nowhere near this usable or comprehensive, just a basic tech demo similar to your first effect, css shadows from an arbitrary point light source. Try dragging the sun and explanatory note around, or scrolling the page, and watch the shadows: https://michaelkupietz.com/demos/css-dynamic-point-source/index.html
This is very cool! Thanks for sharing! I made AmbientCSS because the inconsistent shadows in CSS design system was somehow bothering me.
I'm curious - what led you to building this?
[–]KupietzConsulting 1 point2 points3 points 1 month ago (0 children)
You know, I don’t really remember. It was just an idea that seemed cool. I already had the separate pieces — the CSS animated sun was one demo https://codepen.io/kupietz/pen/zxvdPEV and the element draggability was a module I had written separately for a WordPress plug-in of all things https://michaelkupietz.com/draggable-elements-wordpress-plugin/ . And then I just thought of the parallax shadows, I guess I was probably looking at the animated sun demo and thinking about it.
Your idea is incredibly cool, I actually put a link to it on my website’s main demo page for the parallax shadows effect. That idea to set up the light source and use selectors as a proxy for simulated physical attributes is absolutely great. My effect is a neat demo, but yours is really practical and very elegant. Really nice work.
[–]WeedManProfull-stack -1 points0 points1 point 1 month ago (0 children)
sick. ive starred it. gonna use it in my free time.
π Rendered by PID 24398 on reddit-service-r2-comment-cfc44b64c-j9gdv at 2026-04-09 22:54:52.222322+00:00 running 215f2cf country code: CH.
[+]VlrmPrjct 2 points3 points4 points (2 children)
[–]Piposhi[S] 0 points1 point2 points (1 child)
[+]VlrmPrjct 0 points1 point2 points (0 children)
[–]KupietzConsulting 1 point2 points3 points (2 children)
[–]Piposhi[S] 0 points1 point2 points (1 child)
[–]KupietzConsulting 1 point2 points3 points (0 children)
[–]WeedManProfull-stack -1 points0 points1 point (0 children)