|
|
"Roman Reiner" <lim### [at] gmxde> wrote:
> What a pity that this code is not based on real physics so we can't see
> those towers falling together.
It could be - instead of a displacement, I could use the code to generate a
velocity. Unfortunately, I'd also need to write some collision detection,
and keep track of each brick throughout the parse... eek!
> On the other hand: quite impressive results depending on the simplicity of
> the code!
Oh yes. I calulate the displacement for each brick at instantiation, so I
don't need any arrays or anything. The whole thing is only 2 or 3 lines
more than the code needed to generate the chimney itself!
> Can't wait to see other perforated buildings ;-)
I'll knock up (or should that be down?) some more over the weekend. :)
Bill
Post a reply to this message
|
|