Breve Help

"Cindy Chan" <[email protected]> Tue, 22 Feb 2005 20:59:23 -0500
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
Hi!

I have been experimenting with Breve and I want to know how I can find the distance between two spheres. So far, when I click one of the spheres, the time interval and location is automatically printed and the neighbour lines are shown. However, I want the simulation to be able to print all the distances from the sphere i click..with all its neighbours (basicaly give me the length of the neighbour lines). Is this possible?!

I was also wondering if its possible to click an object, and have its location printed at every time interval, example every 3 seconds for 3 minutes. As a result, I would be able to map out the sphere's path later.

Thank You
Cindy

>From: [email protected]

>Reply-To: [email protected]

>To: [email protected]

>Subject: breve Digest, Vol 19, Issue 7

>Date: Sat, 19 Feb 2005 12:00:14 -0500 (EST)

>

>Send breve mailing list submissions to

> [email protected]

>

>To subscribe or unsubscribe via the World Wide Web, visit

> http://lists.spiderland.org/mailman/listinfo/breve

>or, via email, send a message with subject or body 'help' to

> [email protected]

>

>You can reach the person managing the list at

> [email protected]

>

>When replying, please edit your Subject line so it is more specific

>than "Re: Contents of breve digest..."

>

>

>Today's Topics:

>

> 1. Re: Interfacing steve code with other languages

> (Mithila Patwardhan)

> 2. Re: Interfacing steve code with other languages (jon klein)

>

>

>----------------------------------------------------------------------

>

>Message: 1

>Date: Fri, 18 Feb 2005 14:38:06 -0500

>From: Mithila Patwardhan <[email protected]>

>Subject: Re: [breve] Interfacing steve code with other languages

>To: [email protected]

>Message-ID: <[email protected]>

>Content-Type: text/plain; charset=ISO-8859-1; format=flowed

>

>Hi,

>

>Thanks a lot for that super-quick reply!

>

>What I would like to do is to be able to run a simulation in breve which

>uses a learning algorithm (mostly implemented in C++). So, I am happy

>with knowing how to interface breve such that the simulated objects run

>depending on input from the learning algo. If I can write code in say C

>or C++ for breve simulations - that would be great! I am trying to

>figure out steve right now - if I can achieve the same goal using C or

>C++ rather than steve - that would be great!

>

>I hope this gives you better insight into what I need to know.

>

>Thanks a lot!

>

>- Mithila

>

>jon klein wrote:

>

> >

> > On Feb 17, 2005, at 8:07 PM, Mithila Patwardhan wrote:

> >

> >> Hi,

> >>

> >> I am a new user of breve. I am looking at the possibilities of

> >> calling steve from another language (C, C++ or Java)

> >>

> >> In the steve documentation provided with steve, I couldn't find

> >> anything about interfacing it with steve. Can someone help me out here?

> >

> >

> > Hi,

> > documentation on interfacing with breve from another language is

> > available at

> > http://www.spiderland.org/breve/breve_docs/docs/source.html . Would

> > you like to write breve simulations using another language, or do you

> > actually want to interface with steve code from another language? I

> > can provide more details if I can get a better idea of what you're

> > trying to do.

> >

> > - jon klein

> >

> > _______________________________________________

> > breve mailing list

> > [email protected]

> > http://lists.spiderland.org/mailman/listinfo/breve

>

>

>------------------------------

>

>Message: 2

>Date: Fri, 18 Feb 2005 14:55:19 -0500

>From: jon klein <[email protected]>

>Subject: Re: [breve] Interfacing steve code with other languages

>To: [email protected]

>Message-ID: <[email protected]>

>Content-Type: text/plain; charset=US-ASCII; format=flowed

>

>

>On Feb 18, 2005, at 2:38 PM, Mithila Patwardhan wrote:

>

> > Hi,

> >

> > Thanks a lot for that super-quick reply!

> >

> > What I would like to do is to be able to run a simulation in breve

> > which uses a learning algorithm (mostly implemented in C++). So, I am

> > happy with knowing how to interface breve such that the simulated

> > objects run depending on input from the learning algo. If I can write

> > code in say C or C++ for breve simulations - that would be great! I am

> > trying to figure out steve right now - if I can achieve the same goal

> > using C or C++ rather than steve - that would be great!

> >

> > I hope this gives you better insight into what I need to know.

>

>The API would let you construct a frontend that allows you to write

>simulations entirely in other languages, but implementing such a

>frontend would be a lot of work.

>

>The easiest thing to do is to write most of your code in steve, and use

>a plugin to access your learning algorithm. So you would write most of

>the code in steve, and use information passed back from the plugin to

>determine how the objects behave.

>

>- jon klein

>

>

>------------------------------

>

>_______________________________________________

>breve mailing list

>[email protected]

>http://lists.spiderland.org/mailman/listinfo/breve

>

>

>End of breve Digest, Vol 19, Issue 7

>************************************

_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve