I am trying to make a python program that will display live the one position between two points. A bit like a metro between two stations. All this online, anyone has any ideas?
Conversation
Notices
-
retiolus@mamot.fr's status on Saturday, 23-Oct-2021 17:19:24 CEST retiolus
-
Pybonacci (pybonacci@mastodon.social)'s status on Saturday, 23-Oct-2021 17:19:24 CEST Pybonacci
@retiolus Is the data coming from something, an event or so?
Or do you just need to animate something already predefined?
-
retiolus@mamot.fr's status on Saturday, 23-Oct-2021 17:47:20 CEST retiolus
@pybonacci I don't know exactly how I'm going to manage the data, but it will probably be defined in this way:length between points A and B = 10 unitsposition of the object = 3 units from A
result:A| - - X - - - - - |B
-
retiolus@mamot.fr's status on Saturday, 23-Oct-2021 17:47:20 CEST retiolus
@pybonacci And of course, expandable to :
A B C| - - X - - - - - - | - - - - |
-
Pybonacci (pybonacci@mastodon.social)'s status on Saturday, 23-Oct-2021 17:47:20 CEST Pybonacci
@retiolus So, it seems you only want to simulate the movement between A and B and C. If it is like this it would be easy. You want to it in the browser and in Python. I think the best bet would be Brython os Skulpt.
-