agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq,
agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq ,
dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu
http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan
BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama
Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga
BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai
Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah
Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai
Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs
Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games
Comments
Hi Nina,
I would use sketchpads for this purpose, but directly code it in Python, which is actually quite straightforward and way more efficient. I attach an experiment that demonstrates the basic principle. Let me know if you need help, then I can try to give more pointers.
If you insist on doing this with sketchpads, you should use feedback items and not sketchpads, as you probably want the action happen during the run phase.
good luck,
Eduard
Thanks! I already coded it, did not use sketchpads. I will have a look at your code, thanks a lot!
Thank you Eduard! Your code works!
One more question: I would like to make sure that each frame is depicted after 16.7 ms (= 1/frame rate). In the results of your code, I see that it matters how much I set as a "refresh" value. I set it to 15, 12 or 5 (as in your code) and with 15, some frames take 17 or 18 ms, with 5 frames take only 7 ms.
How can I best make sure that each frame lasts for 16.7 ms?
To add to this: these frame durations differ a lot when I select the Psycho back-end (frames take then 33 ms) instead of the Legacy back-end (frame times as reported in previous post).
Are you sure? I measured the timing of my script above and the timing is overall decent. When measuring the timing you should make sure that your screen is in the "proper" mode. For example, if you have multiple screens attached, the timing will be noticeably worse. How have you measured the timing? If you don't see anything wrong with your screen, you can share your experiment. Maybe I can spot something.
To add to this: these frame durations differ a lot when I select the Psycho back-end (frames take then 33 ms) instead of the Legacy back-end (frame times as reported in previous post).
See https://osdoc.cogsci.nl/3.3/manual/timing/#making-the-refresh-deadline
Legacy is not ideal when timing is critical.
Answer to your first question I don't know ;) I think I am...
I have tried disconnecting the extra screen and running the code with the run fullscreen mode (instead of the quick run or run in window modes). Are there other things that make the screen as in the proper mode or not? I intend to run the code in Psycho indeed, but I found higher frame times there.
I measure the frame times as the difference between the time stamps of the canvas.show() commands.
I have added the experiment below, it includes an adaptation of your code. I hope you spot some mistake in it! When I run it, I get a lot of Psycho-warnings like psycho:107:WARNING Canvas.show() took 32.855 ms. Some of these warnings then show 17 ms for example, but in the frame times that I calculate as described above it is sometimes different from these warning values.
I hope you spot the mistake in the code that used!
Thanks a lot again!
Maybe that is related to your computer. On my machine I get pretty decent timing with your script:
Occasionally, a psychopy warning like yours, but not even on every run. Is yours much worse? Try it on one of the machines that you will eventually run the experiment on. You won't be able to avoid all glitches, but if the issue is in the ~1 ms range, I wouldn't worry about inaccuracies. Even an occasional 20-30 ms frame won't mess things up. Participants certainly won't notice.
Thanks Eduard! I will try on different machines then.