Hi,
Thank you for your nice suggestion. I agree it would be awesome, and we actually started doing something like this already once, see
https://github.com/Catrobat/ended2019-HTML5 for the existing code base for it. It is not exactly what you are proposing, but there are some similarities. Basically, Catrobat projects could be executed in Javascript on a large browser with it, including access to any sensors, even on mobile devices, e.g., acceleration or magnetic sensors on phones etc.
However, we stopped the development of this project last year, after many years of developing it, and spending a large amount of development time on it, from many persons. Several reasons, one being that since our iPhone version of Pocket Code was accepted in the Apple store last year, all major phone platforms are now supported by the native Android and iOS versions of our apps. And firefox OS and phones stopped being developed, so there is no need anymore for a browser-based version of Catrobat for phones.
So, of course you are welcome to try, but be aware that you would probably spend many many years (decades!) of your life on it, and still would always be back behind our Android and iOS code base in terms of functionality. See for instance
https://www.openhub.net/p/catroid --- that's just the Android code base for Pocket Code, without the paint application in it (in the center of the page):
In a Nutshell, Catroid...
...
has had 11,743 commits made by 262 contributors
representing 244,372 lines of code
and below that:
...
took an estimated 63 years of effort (COCOMO model)
For the whole Catrobat project, see
https://www.openhub.net/p/catrobat --- almost 1000 person-years of effort, and estimated costs of 50 million US$ (again, with a very low salary as a basis for the calculation).
So, reimplementing our apps in JavaScript, even if it will be less work since a lot has already been done, will be a huge (HUGE!!!) project.
Let me know whether you nevertheless would like to proceed.
Kind regards,
Wolfgang