Live data from Hacker News

Rain and Water Effect Experiments

tympanus.net

21–30 of 33 posts

Re: Rain and Water Effect Experiments

#21

Earlier quoted context omitted.

Why wouldn't (or shouldn't) one be able to make it run standalone?

It's to do with the browser security model and JavaScript restrictions on file:// paths. I'm not entirely sure of the class of attack that it prevents, but it's been that way for quite a while now.

For a while, browsers allowed unfettered Javascript access to local files, so malware sites would just get users to save the site, and run it.

Tada, access to local files, or unlimited XHR requests for DDoSing, etc. :-)

Re: Rain and Water Effect Experiments

#23
post #15

Nice! But the initial drops are too similar to a perfect oval. You can try to make some randomness to the initial shape to make it more realistic. (It's much easier to say this than to make a simple model that looks good.)

I did try that, but weirdly shaped drops looked weird on the animation! I was meaning to add a couple of drops close to each other to mitigate that but had no time for experimenting anymore.

Another issue is that when a big drop falls, the small drops that it leaves behind are equally sized and equally spaced.

Re: Rain and Water Effect Experiments

#24
I want this as an Android Live wallpaper.

I've been wanting this for years. All the "rain" live wallpapers I've found out there were basically video players. I wanted something you could apply your own backdrop to, control rain amount, stickiness, and possibly even angle of flow depending on phone orientation.

Unfortunately, my specialty is embedded dev, not GL, so I've been waiting for someone else with the skills to do so :)

Re: Rain and Water Effect Experiments

#30
Very cool, I love it but one point though is that the rain drops look to me like they're being observed from some point (vantage point) outside in the rain and not from inside behind the glass.

Any of you guys have noticed this or it's just me?

Post reply on HN