Jump to content




Water! - Kinda Like Fire! But With Water...


  • You cannot reply to this topic
5 replies to this topic

#1 billysback

  • Members
  • 569 posts

Posted 14 September 2013 - 05:14 AM

This is a bit like Gopher's Fire! but instead it shows a constant stream of flowing water.

It's also slightly less complex than Gopher's, all it technically does is draw the sine graph with varying transformations, but after a lot of tweaking of settings I finally got something that I at least think looks representable.

Posted Image
(NOTE: the gif is about 4x slower than it actually runs at, perhaps even slower than that, and its a tiny bit glitchy, but it should give you an idea of how it flows.)
Spoiler

Here's the paste:
http://pastebin.com/SYeftZTM

Or if you prefer hastebin:
http://hastebin.com/buqeriwoja.lua

Just thought I'd share it, feel free to toggle the settings, here's a list of key variables and what they change:
Spoiler


#2 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 14 September 2013 - 05:24 AM

Looks good

#3 ElectricOverride

  • Members
  • 94 posts

Posted 14 September 2013 - 05:18 PM

Sweet.

#4 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 15 September 2013 - 01:17 AM

May I use this as a "screensaver" please?

#5 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 15 September 2013 - 02:30 AM

Pretty nice, Thought someone would create rain and "set fire to the rain" :P
+1 anyways since it looks really nice :)

#6 billysback

  • Members
  • 569 posts

Posted 15 September 2013 - 05:57 AM

View PostZudoHackz, on 15 September 2013 - 01:17 AM, said:

May I use this as a "screensaver" please?
of course, that's pretty much what I had in mind when I made it

Thanks for the comments everyone else :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users