473,385 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Anyone use VPython?

Ali
Anyone use VPython?
Jul 18 '05 #1
8 1503
On 14 Aug 2004 20:32:49 -0700, al**********@hotmail.com (Ali) wrote:
Anyone use VPython?


Yes.
Jul 18 '05 #2
Ali
Arthur <aj******@optonline.com> wrote in message news:<69********************************@4ax.com>. ..
On 14 Aug 2004 20:32:49 -0700, al**********@hotmail.com (Ali) wrote:
Anyone use VPython?


Yes.


ok then how yu make things move?
Jul 18 '05 #3
On 15 Aug 2004 13:58:19 -0700, al**********@hotmail.com (Ali) wrote:
Arthur <aj******@optonline.com> wrote in message news:<69********************************@4ax.com>. ..
On 14 Aug 2004 20:32:49 -0700, al**********@hotmail.com (Ali) wrote:
>Anyone use VPython?


Yes.


ok then how yu make things move?


Hmmm.

Your questions are kind of general..

There are lots of different ways to get things to move.

In the Hanoi demo, clicking the mouse button over a top ring and
keeping it pressed while moving the mouse.. will move the ring.

Most things in VPython have an attribute called "pos", representing
its 3d coorinates

Experiment from the IDLE prompt.

IDLE 1.0.3
from visual import * Visual 2004-07-22 s=sphere(color=color.blue, pos=(2,2,2))
You will see a window with a blue sphere.

Then: s.pos=(0,2,2)


The sphere's position in the window moved.

Cool.

Moving things in Vpython is usually a matter of having a porgram that
changes things "pos", in reaction to something - a mouse click, the
passage of seconds, etc.

Help?

Art

Jul 18 '05 #4
al**********@hotmail.com (Ali) wrote in message news:<8f**************************@posting.google. com>...
Arthur <aj******@optonline.com> wrote in message news:<69********************************@4ax.com>. ..
On 14 Aug 2004 20:32:49 -0700, al**********@hotmail.com (Ali) wrote:
Anyone use VPython?

yup
Jul 18 '05 #5
Ali wrote:
Anyone use VPython?


Noting the question, the first two responses you got, and
your subsequent question, I suggest you would benefit
from reading this short essay before posting again:

http://www.catb.org/~esr/faqs/smart-questions.html

-Peter
Jul 18 '05 #6
Peter Hansen wrote:
Ali wrote:
Anyone use VPython?


Noting the question, the first two responses you got, and
your subsequent question, I suggest you would benefit
from reading this short essay before posting again:

http://www.catb.org/~esr/faqs/smart-questions.html


Note to the original poster: before you think Peter is being arrogant or a
smartass, please realize that's probably the single most useful answer you'll
ever get to a question on the internet. And yes, I've actually read that
document once or twice in the past, carefully.

So don't react badly, take his advice, read that document, make sure you
understand it, and try again. I'm sure you'll find the result worth every
minute of effort spent. Otherwise you'll continue to get correct answers like
you have so far to your questions. Correct, but perfectly useless (because the
questions were worded _begging_ for useless answers).

best,

f
Jul 18 '05 #7
On Mon, 16 Aug 2004 00:50:12 GMT, Arthur <aj******@optonline.com>
wrote:


Experiment from the IDLE prompt.


Oops. I forgot. I really did.

What IDLE prompt?

The VPython Windows distribution has the gaul to overwrite the
conifig-main.def file in the idlelib directory changing the default
behavior of IDLE on start-up to be a text editor, rather than an
interactive prompt.

This despite the fact that:

a) The person responsible for configuring the distribution knows that
the developers of IDLE =- specifically one GvR - made a clear
statement as to wanting the prompt as the default start-up.

b) The new IDLE has specifcally added the ability for user defined
configuration of options without touching anything in the idlelib
directory.

c) This kind of overwrite of lib files, it seems to me, is bad form in
any case.

The fact that I think that the decision is also ridiculous, on its
merits, being totally besides the point.

The OP, depending on his profile, may in actual fact have no idea what
I am talking about by referring to the IDLE interactive prompt -
having downloaded VPython.

I had made an issue of this - again - recently on edu-sig. To a
resounding thud of reaction. But this little exhange proves at least,
to myself, that I am attacking something real. Not just looking to
pick a fight.

Art

Jul 18 '05 #8
Ali
Thank you all for your help.
Jul 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: bap | last post by:
When I try to run a program on a clean machine using the VPython extensions after compiling with PY2EXE I get the following error message: "The procedure entry point IsWow64Process could not be...
5
by: Ali | last post by:
Please anyone I would really like the code for makinga dome in vpython. I would like to be able to adjust he color, axis, radius, and pos.
3
by: York | last post by:
Hi everybody, I am trying to run VPython on FC3. The installation was fine. But when I "import visual", an error occurs: """ >>> import visual Traceback (most recent call last): File...
2
by: lordfelipe69 | last post by:
Hello I am making an application with vpython, numpy and scipy, I am also creating a exe with py2exe, if only make it with vpython, works well, so also with only numpy, the problem occurs when the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.