473,699 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

multiple object tracking

2 New Member
I need to draw red balls that bounce from left to right and a ball which rotates (always the same uniform mouvement, a little circle in the middle). the illusion is that all the balls are bouncing, but it is not true.

The problem is that I don't know how to made a python program who shows that.
Apr 26 '10 #1
4 2818
bvdet
2,851 Recognized Expert Moderator Specialist
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

Then when you are ready post a new question in this thread.

BV - MODERATOR
Apr 26 '10 #2
iriggi
2 New Member
I know, thank you, i don't want people doing my program. I just want to know how to do the bouncing from left to right
Apr 26 '10 #3
bvdet
2,851 Recognized Expert Moderator Specialist
I know some about Tkinter. You would start with a Tkinter.Canvas widget and create an oval object on the canvas. You can simulate movement by deleting the oval object and creating a new one in a slightly different position repeatedly at short time intervals. I have found the documentation here to be useful.
Apr 26 '10 #4
Glenton
391 Recognized Expert Contributor
You could also use something like matplotlib to create the image files (from a graph) and then stitch them together. Or gnuplot.py to run Gnuplot and repeatedly replot.
Apr 27 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
3215
by: CM | last post by:
Hi, there: I have some questions, I hope someone can briefly describe how ASP (not ASP.Net) to do the following things: 1) Get real-time information from other web site such as tracking via Fed-Ex; 2) Real-time credit card charging via a payment gateway such as WorldPay;
18
3389
by: Gleep | last post by:
I've searched google intensely on this topic and it seems noone really knows how to approch this. The goal I don't want clients to give out their usernames and passwords to friends, since the site relies on subscrption fees. Sessions ID's are matched between the browser and the server. So a users can login with same username and password and those sessions are tracked individually. Some suggest create table fields with the session ID...
3
1292
by: pkolinko | last post by:
Hi everyone, I am writing a small low level embedded USB application using C++/CLI windows Forms. I am sort of new to the C++/CLI and having trouble understanding what happens in this very simple line of code: I have a reference class pic_usbapi, declared in "pic_usbapi.h". I want to create an object of the class and have a tracking handle for it.
13
1915
Sushi
by: Sushi | last post by:
Hello again all! (and happy easter if you are that way inclined) I have this file called cameratrack.txt: 0 (0 ,0 ,0 ) 5 (5 ,0 ,0 ) 10 (10 ,0 ,0 ) 15 (15 ,5 ,0 ) 20 (20 ,10 ,0 ) 25 (25 ,15 ,0 )
3
2514
by: =?Utf-8?B?R3JhaGFt?= | last post by:
I've added 2 tracking services to the wf runtime; one is the standard SqlTrackingService: trackingService = new SqlTrackingService(<trackingConnectionString>); <workflow Runtime>.AddService(trackingService); trackingService.IsTransactional = false; trackingService.UseDefaultProfile = true; This works just fine.
8
1496
by: GGawaran | last post by:
I think this would be the proper title for the problem im currently having. Just a jyst of what the problem im running into is.... 1) This page was coded by yet again the same employee whom used to work here a few years back, with time, we need to update. 2) The problem is, we used to only ship via UPS, but now that we offer shipping through other means. However, the page I am working on only allows for orders with UPS tracking numbers...
3
14492
by: vijay.gandhi | last post by:
Hi, I am trying to convert some unmanaged code (C++) to managed code (using C++/CLI). 1) One of the functions used returns a void* which I need to cast into a handle of a managed object. Can somebody please tell me how. Actually, the function that returns a void* is a part of a MFC class - CPtrList, used in my unmanaged code. I was searching of its equivalent
15
2082
by: mark.norgate | last post by:
Hello I want to create a reference to an object, so that changes to the referenced object are reflected in the other object. Like this: object o = 123; object p = o; o = 456;
7
3946
by: trixxnixon | last post by:
Foreign key from another table, and a primary key from the one being used. i am still sort of a novice to access programming, I have “tblMain” with a primary key “tracking number” “tracking number” has a one to many with the table “tblPend” “tblPend” has a primary key “RecordNo” and a status check box “status” Status will either be marked yes or no.
0
8689
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9035
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8916
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7752
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6534
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4376
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3058
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2348
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.