comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » VISUALLIZE IT AS IF BURNING THROUGH, SLOWLY
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
VISUALLIZE IT AS IF BURNING THROUGH, SLOWLY [message #34576] Tue, 01 April 2003 20:28 Go to next message
MC is currently offline  MC
Messages: 50
Registered: September 1996
Member
a=[[3,3,1,1,5],[2,1,1,4,5],[3,5,1,1,2]]

The burn can only go where there are 1's. Allowed to proceed to the next
cell as long as any of its 8 neighbours are connected by 1's.

Start the burn at [3,2].

The front is allowed to go up and to the side, but not down.

How can I simulate the movement of the front?

Thanks,
MC
Re: VISUALLIZE IT AS IF BURNING THROUGH, SLOWLY [message #34696 is a reply to message #34576] Sun, 06 April 2003 18:21 Go to previous message
MC is currently offline  MC
Messages: 50
Registered: September 1996
Member
I am not as good in programming as I wanted to be.

Could you please explain? I don't understand.

Thanks,
MC

"Marc Schellens" <m_schellens@hotmail.com> wrote in message
news:3E8C0470.3080604@hotmail.com...
>> a=[[3,3,1,1,5],[2,1,1,4,5],[3,5,1,1,2]]
>>
>> The burn can only go where there are 1's. Allowed to proceed to the next
>> cell as long as any of its 8 neighbours are connected by 1's.
>>
>> Start the burn at [3,2].
>>
>> The front is allowed to go up and to the side, but not down.
>>
>> How can I simulate the movement of the front?
>>
>> Thanks,
>> MC
>
> Just set the burn to [3,1]
> and to move the front do a[*,1]=a[*,2]
> or a[1,*]=a[0,*]
> cheers,
> :-) marc
>
Re: VISUALLIZE IT AS IF BURNING THROUGH, SLOWLY [message #34714 is a reply to message #34576] Thu, 03 April 2003 01:52 Go to previous message
marc schellens[1] is currently offline  marc schellens[1]
Messages: 183
Registered: January 2000
Senior Member
> a=[[3,3,1,1,5],[2,1,1,4,5],[3,5,1,1,2]]
>
> The burn can only go where there are 1's. Allowed to proceed to the next
> cell as long as any of its 8 neighbours are connected by 1's.
>
> Start the burn at [3,2].
>
> The front is allowed to go up and to the side, but not down.
>
> How can I simulate the movement of the front?
>
> Thanks,
> MC

Just set the burn to [3,1]
and to move the front do a[*,1]=a[*,2]
or a[1,*]=a[0,*]
cheers,
:-) marc
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 3D-coordinates of index returned MAX()
Next Topic: idl 5.6 error message

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:42:04 PDT 2025

Total time taken to generate the page: 0.00435 seconds