Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with circle and motion
#1
Hi there.
I am new here, so I say hello to all of you and thanks in advance.

I am a newbie trying to get my hands on Python.
I have some visual problems (myopia and squint, so excuse my writing (maybe I miss a few characters that I do not really see).

Well, I want to help myself by creating a small program to do this:

I need to draw a circle, only the circumference, no painted inside.

Then a need a big dot circling the circle (do you remember the old movies where a sonar tries to get something? some like that, BUT something rounding the circle), not the inner but the outside.

The idea is to get my eyes to follow the dot rounding the circle in order to get my muscles relaxed.

No big deal, BUT I do not have a clue how to start.

SO I split the problem and try to get an approach with some Pseudocode:

Init python
clear screen
get the dimension of the screen
draw a circle as big as the screen
put a dot in the circumference of the circle
start to rotate the dot following the circle from right to left
get a button to reverse from left to right
get a button to stop the exercise and exit gracefully

end


Well, I ask help with some ideas, maybe some libraries or functions, I do not ask the whole code written, I'd like to make it on my own, but some scratch to start from.

Thanks in advance!




my code here
Reply


Messages In This Thread
Help with circle and motion - by wigigx - Aug-28-2017, 05:57 PM
RE: Help with circle and motion - by nilamo - Aug-28-2017, 07:59 PM
RE: Help with circle and motion - by Ramasen - Aug-28-2017, 09:28 PM
RE: Help with circle and motion - by wigigx - Aug-29-2017, 09:29 PM
RE: Help with circle and motion - by sparkz_alot - Aug-29-2017, 09:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  motion tracking script ig? k4ne 0 506 Dec-13-2023, 02:00 AM
Last Post: k4ne
  Howto do motion event on solely window and not the widgets on it? janeik 3 941 Jul-11-2023, 12:10 AM
Last Post: deanhystad
  How to plot seaborn heatmap on top of a background circle SriRajesh 0 1,474 Jul-09-2022, 04:00 AM
Last Post: SriRajesh
  drawing moving circle on line with python barrai 1 3,227 Feb-25-2022, 03:33 PM
Last Post: BashBedlam
  Program to move a dot towards a circle center plumberpy 10 4,422 Dec-03-2021, 12:20 PM
Last Post: BashBedlam
  Draw circle from GPS coords, and get GPX file? Winfried 0 2,222 Mar-29-2021, 07:19 PM
Last Post: Winfried
  Creating Data Set for Changing Oscillation Motion jcraw77 0 1,636 Jun-19-2020, 12:25 AM
Last Post: jcraw77
  Detect event by motion/image - Help Zarqua 0 1,568 May-12-2020, 10:41 AM
Last Post: Zarqua
  Pyplot and circle Reldaing 0 1,524 Apr-01-2020, 10:44 AM
Last Post: Reldaing
  Detection Motion Program Adek1243 11 4,468 Mar-23-2020, 10:12 AM
Last Post: Adek1243

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020