![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
OK, so in case anybody is interested... I've built a programmable
wavetank simulator. It doesn't do a whole heap yet, but it works.
I'll post some stuff here in a moment...
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Windows XP users: Download the following items:
http://download.orphi.me.uk/Haskell/Wavetank-B21.exe (222 KB)
http://download.orphi.me.uk/Haskell/Win32-GTK.zip (4.5 MB)
http://download.orphi.me.uk/Haskell/Wavetank-Scripts.zip (4 KB)
Create a folder, put the executable in it, and unzip the two Zip files
into the folder as well. Create a subfolder named "Frames".
You can now call Wavetank-B21.exe from the command line, giving it the
name of a script file as an argument, and it will render that script.
(In other words, it will generate a few hundred PNG files in the Frames
folder. Convert these to a suitable animation format using your favourit
converter.)
Feel free to edit the scripts. Happy hacking! :-D
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
WT-Drops1.wt is pretty nice...
Post a reply to this message
Attachments:
Download 'frame00146.png' (73 KB)
Preview of image 'frame00146.png'
![frame00146.png](/povray.off-topic/attachment/%3C49008f6e%40news.povray.org%3E/frame00146.png?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Invisible wrote:
> OK, so in case anybody is interested... I've built a programmable
> wavetank simulator. It doesn't do a whole heap yet, but it works.
I'm not sure people will be interested in simulating heaps in
wavetanks. They're kind of unrelated.
--
"I think not," said Descartes, and promptly disappeared.
/\ /\ /\ /
/ \/ \ u e e n / \/ a w a z
>>>>>>mue### [at] nawaz org<<<<<<
anl
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> http://download.orphi.me.uk/Haskell/Wavetank-B21.exe (222 KB)
This has a bug: If you feed the program the wrong coordinates, it's
possible to make it actually segfault. (!!)
That's what you get for premature optimisation... *sigh*
I will put out a corrected build shortly. (The bug is already fixed. I
want to add a few other features as well though...)
[For anyone who cares: As is probably obvious, the bug is a simple
unchecked array access glitch. The ironic thing is that in Haskell, you
have to go out of your way to explicitly request that array accesses be
unchecked; by default they're checked. I had the checks turned off for
speed reasons. And sure enough, my internal code works fine. I'd
forgotten the user-supplied coordinates might not be in range...]
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
http://download.orphi.me.uk/Haskell/Wavetank-B37.exe
Build #37 for Windows. (All the other files stay the same.)
Fixes a segfault when passing invalid coordinates from a script, and
also allows draw object names to contain digits as well as just letters.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |