Educational robotics simulator using Brython

66 views
Skip to first unread message

David Ewing

unread,
Jul 8, 2022, 4:20:08 PM7/8/22
to brython
Just reaching out to the group to thank Pierre and contributors to this project. 

We're using Brython in our CodeSpace Simulation Environment, and many students are  now learning Python in a very engaging online setting. Access to the site and the ability to program robots using Python in a 3D environment is free. (We sell additional curriculum.) Give it a try at https://sim.firialabs.com/

Some things "Brythonistas" might find interesting are the ability to sleep() and interact with other blocking interfaces (simulated hardware) by virtue of Atomics and Brython running in a worker thread (naturally, the robot is its own sandbox!) Also, the debugger and interacting with the robot on the REPL are pretty cool features.

Our company (Firia Labs) develops physical robots (MicroPython based) as well as software and additional "Mission Packs" for schools to use in Computer Science curriculum.

Thanks again - I can't say enough good things about Brython!
- David


Pierre Quentel

unread,
Jul 9, 2022, 9:16:37 AM7/9/22
to brython
Congratulations David, this is one of the nicest and most convincing Brython-based projects I have ever seen !
- Pierre

Kiko

unread,
Jul 9, 2022, 9:39:27 AM7/9/22
to bry...@googlegroups.com
2022-07-09 15:16 GMT+02:00, Pierre Quentel <pierre....@gmail.com>:
>
>
> Le vendredi 8 juillet 2022 à 22:20:08 UTC+2, da...@firia.com a écrit :
>
>> Just reaching out to the group to thank Pierre and contributors to this
>> project.
>>
>> We're using Brython in our CodeSpace Simulation Environment, and many
>> students are now learning Python in a very engaging online setting.
>> Access
>> to the site and the ability to program robots using Python in a 3D
>> environment is free. (We sell additional curriculum.) Give it a try at
>> https://sim.firialabs.com/

It seems it is only Chrome?? I can't run it on FF
(javascript.options.shared_memory=true).
:-(

I will try to run it on monday from work PC.


>> Some things "Brythonistas" might find interesting are the ability to
>> sleep() and interact with other blocking interfaces (simulated hardware)
>> by
>> virtue of Atomics and Brython running in a worker thread (naturally, the
>> robot is its own sandbox!) Also, the debugger and interacting with the
>> robot on the REPL are pretty cool features.
>>
>> Our company (Firia Labs) develops physical robots (MicroPython based) as
>> well as software and additional "Mission Packs" for schools to use in
>> Computer Science curriculum.
>>
>> Thanks again - I can't say enough good things about Brython!
>> - David
>>
>>
>> Congratulations David, this is one of the nicest and most convincing
> Brython-based projects I have ever seen !
> - Pierre
>
> --
> You received this message because you are subscribed to the Google Groups
> "brython" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to brython+u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/brython/c01a0eef-a815-499e-b9b9-3fdb47d9e444n%40googlegroups.com.
>

David Ewing

unread,
Jul 10, 2022, 5:40:44 PM7/10/22
to brython
Kiko, yes currently you need Chrome due to the browser security restrictions around SharedArrayBuffer (cross-origin isolation) which breaks the ability to login with Google, which many of our schools are doing. We're using an origin-trial on chrome to get around this for now. The good news is that we have an update coming later this month that opens support for Firefox and other browsers, essentially by redirecting the login to a separate page so we can still support "social login" and not run afoul of that issue. Once that's done, we've even been testing on mobile and it works quite well :-)
- David

Kiko

unread,
Jul 11, 2022, 1:59:42 AM7/11/22
to bry...@googlegroups.com
2022-07-10 23:40 GMT+02:00, David Ewing <da...@firia.com>:
> Kiko, yes currently you need Chrome due to the browser security
> restrictions around SharedArrayBuffer (cross-origin isolation) which breaks
>
> the ability to login with Google, which many of our schools are doing.
> We're using an origin-trial on chrome to get around this for now. The good
> news is that we have an update coming later this month that opens support
> for Firefox and other browsers, essentially by redirecting the login to a
> separate page so we can still support "social login" and not run afoul of
> that issue. Once that's done, we've even been testing on mobile and it
> works quite well :-)
> - David

Great \o/

Thanks for the update!!

I am having a look using edge and it is pretty amazing!!! Congratulations.
> https://groups.google.com/d/msgid/brython/79be9a99-b7dc-4b8e-8b26-7079e0eafab4n%40googlegroups.com.
>
Reply all
Reply to author
Forward
0 new messages