Re: [Scilab-users] Pong contest (new version)

2020-06-08 Thread P M
Pong2 score @ Win10 [image: grafik.png] Regards, Philipp Am Mo., 8. Juni 2020 um 14:23 Uhr schrieb Stéphane Mottelet < stephane.motte...@utc.fr>: > > Le 08/06/2020 à 10:46, Stéphane Mottelet a écrit : > > Hello all, > > Here is a new version of the game using realtime() to fix a framerate

Re: [Scilab-users] Pong contest (new version)

2020-06-08 Thread Stéphane Mottelet
Le 08/06/2020 à 10:46, Stéphane Mottelet a écrit : Hello all, Here is a new version of the game using realtime() to fix a framerate of 60fps on each platform. This value should be ok even on old computers. Please continue to post your scores ! S.

Re: [Scilab-users] Pong contest (new version)

2020-06-08 Thread Rafael Guerra
Pong2 score: [cid:image001.png@01D63DA1.57252750] Regards, Rafael -Original Message- From: users On Behalf Of Stéphane Mottelet Sent: Monday, June 8, 2020 11:46 AM To: Users mailing list for Scilab Subject: [Scilab-users] Pong contest (new version) Hello all, Here

[Scilab-users] Pong contest (new version)

2020-06-08 Thread Stéphane Mottelet
Hello all, Here is a new version of the game using realtime() to fix a framerate of 60fps on each platform. This value should be ok even on old computers. Please continue to post your scores ! S. -- Stéphane Mottelet Ingénieur de recherche EA 4297 Transformations Intégrées de la Matière

Re: [Scilab-users] Pong contest

2020-06-07 Thread Heinz Nabielek
From an iMac macOS 10.15.5 (19F101): ...SCALAR RESULT: Mflops= 2.915 ; Pi ~ 3.141592 ...ARRAY RESULT: Mflops= 1.047 ; Pi ~ 3.141592 Model Identifier: iMac14,3 Processor Name: Quad-Core Intel Core i7 Processor Speed: 3.1 GHz Number of Processors: 1 Total Number of

Re: [Scilab-users] Pong contest

2020-06-07 Thread Claus Futtrup
Hi Rafael ...SCALAR RESULT:  Mflops= 2.737 ;  Pi ~ 3.141592 ...ARRAY RESULT:  Mflops= 1.284 ;  Pi ~ 3.141592 The machine is a two-year old Lenovo T480, Core i7 8th Gen. Built-in Intel Graphics (no external card) /Claus On 07-06-2020 09:54, Rafael Guerra wrote: Hello Stéphane et al.,

Re: [Scilab-users] Pong contest

2020-06-07 Thread Stéphane Mottelet
Hi Rafael, Normally the use of some reliable/multi platform (sleep is not) synchronisation mechanism allows to have the same user experience regardless the actual hardware. Here we could aim at least 24 refreshs by second. But I am not sure that realtime() would be a better alternative. Maybe

Re: [Scilab-users] Pong contest

2020-06-07 Thread Rafael Guerra
Hello Stéphane et al., Would it make sense in this “Pong contest”, in addition to the OS used, to also provide some sort of benchmarking of machine CPU? Fyi, find below simple test by Gershenfeld (1999), it computes Pi=4*atan(1) by two methods: Scalar test: Pi(N)~Sum{i=1:N;

Re: [Scilab-users] Pong contest

2020-06-07 Thread Stéphane Mottelet
> Le 7 juin 2020 à 09:34, P M a écrit : > >  > nice. > > However on my win7 64bit Laptop the speed suddenly changes from very slow to > very fast and even back to slowso kind of unpredictable... > > probably a feature :-) Yeah, a (known) feature of sleep(). For the next release I will

Re: [Scilab-users] Pong contest

2020-06-07 Thread P M
nice. However on my win7 64bit Laptop the speed suddenly changes from very slow to very fast and even back to slowso kind of unpredictable... probably a feature :-) Greetings Virenfrei.

Re: [Scilab-users] Pong contest

2020-06-06 Thread Claus Futtrup
Hello all Here's my first attempt (Microsoft Windows 10). Attached. /Claus On 05-06-2020 14:48, Stéphane Mottelet wrote: Hello all, As you may have noticed, there is now a little game in the Gaphics/Animation section of the demonstrations. As the speed and responsiveness seems to be

Re: [Scilab-users] Pong contest

2020-06-06 Thread Stéphane Mottelet
Yes. If you look at the code, the speed increases at each top border hit. But the starting speed seems to be in the order Windows < Linux < Mac OS, which explains the relative difference between high scores. S. > Le 6 juin 2020 à 10:48, Bernard Boyer a écrit : >> Le 05/06/2020 à 20:00,

Re: [Scilab-users] Pong contest

2020-06-06 Thread Bernard Boyer
Le 05/06/2020 à 20:00, Bernard Boyer a écrit : in this case it's on W10: each ball start smoothly then accelerate. Guess it's the same way on all platform? Le 05/06/2020 à 18:53, Rafael Guerra a écrit : It runs very fast on Win10 and the pong ball looks like a Flintstones ball… **

Re: [Scilab-users] Pong contest

2020-06-05 Thread Stéphane Mottelet
Platform ? > Le 5 juin 2020 à 20:01, Bernard Boyer a écrit : > >  > > > Le 05/06/2020 à 18:53, Rafael Guerra a écrit : >> It runs very fast on Win10 and the pong ball looks like a Flintstones ball… >> >> >> >> >> >> >> >> >> ___ >> users

Re: [Scilab-users] Pong contest

2020-06-05 Thread Heinz Nabielek
Heinz > On 05.06.2020, at 14:48, Stéphane Mottelet wrote: > > Hello all, > > As you may have noticed, there is now a little game in the Gaphics/Animation > section of the demonstrations. As the speed and responsiveness seems to be > similar under all platforms, it would be funny to launch

Re: [Scilab-users] Pong contest

2020-06-05 Thread Bernard Boyer
Le 05/06/2020 à 18:53, Rafael Guerra a écrit : It runs very fast on Win10 and the pong ball looks like a Flintstones ball… ** ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Pong contest

2020-06-05 Thread Rafael Guerra
It runs very fast on Win10 and the pong ball looks like a Flintstones ball… [cid:image003.jpg@01D63B72.F1EBEED0] ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Pong contest

2020-06-05 Thread Stéphane Mottelet
The game is really slower/easier under Linux, likely because of sleep() which is quite unreliable... Le 05/06/2020 à 14:48, Stéphane Mottelet a écrit : Hello all, As you may have noticed, there is now a little game in the Gaphics/Animation section of the demonstrations. As the speed and

Re: [Scilab-users] Pong contest

2020-06-05 Thread Jean-Yves Baudais
I got it! Thanks :-) -- Jean-Yves Baudais - Original Message - > From: "Stéphane Mottelet" > To: "Users mailing list for Scilab" > Sent: Friday, 5 June, 2020 16:47:41 > Subject: Re: [Scilab-users] Pong contest > It's in the Demonstrations menu. &g

Re: [Scilab-users] Pong contest

2020-06-05 Thread Stéphane Mottelet
ne Monmayrant" To: users@lists.scilab.org Sent: Friday, 5 June, 2020 15:45:38 Subject: Re: [Scilab-users] Pong contest On 05/06/2020 14:48, Stéphane Mottelet wrote: Hello all, As you may have noticed, there is now a little game in the Gaphics/Animation section of the demonstrations. As the

Re: [Scilab-users] Pong contest

2020-06-05 Thread Jean-Yves Baudais
HI, Grr! I don't find any "animation" section in chapter "Graphics" on the help browser. Where is it? -- Jean-Yves Baudais - Original Message - > From: "Antoine Monmayrant" > To: users@lists.scilab.org > Sent: Friday, 5 June, 2020 15:4

Re: [Scilab-users] Pong contest

2020-06-05 Thread Stéphane Mottelet
Here is my best... Le 05/06/2020 à 15:45, Antoine Monmayrant a écrit : On 05/06/2020 14:48, Stéphane Mottelet wrote: Hello all, As you may have noticed, there is now a little game in the Gaphics/Animation section of the demonstrations. As the speed and responsiveness seems to be similar

Re: [Scilab-users] Pong contest

2020-06-05 Thread Antoine Monmayrant
On 05/06/2020 14:48, Stéphane Mottelet wrote: Hello all, As you may have noticed, there is now a little game in the Gaphics/Animation section of the demonstrations. As the speed and responsiveness seems to be similar under all platforms, it would be funny to launch a little contest. In the

[Scilab-users] Pong contest

2020-06-05 Thread Stéphane Mottelet
Hello all, As you may have noticed, there is now a little game in the Gaphics/Animation section of the demonstrations. As the speed and responsiveness seems to be similar under all platforms, it would be funny to launch a little contest. In the next Scilab version it would be interesting to