Implementing GPanel: A Coordinate Graphics Library for WebTigerPython


Loading...

Author / Producer

Date

2024

Publication Type

Bachelor Thesis

ETH Bibliography

yes

Citations

Altmetric

Data

Abstract

WebTigerPython is an innovative online Python programming environment that introduces and teaches programming to students of various ages. This thesis dives into multiple approaches to enable JavaScript execution in Python code, facilitating the use of PixiJS, a widely adopted JavaScript library, for rendering graphics and shapes to the browser. The overarching objective is to identify the most suitable approach to implement GPanel, a coordinate graphics library, in WebTigerPython. The merits, limitations, and performance metrics are weighted for each approach to ascertain the most promising strategy for the final implementation. The final approach allows for executing JavaScript functions efficiently and cleanly, making this new method more performant than the approach used in the already existing GTurtle enactment. It executes any code written in a separate thread, allowing for the website interface to continue functioning while the code runs in the background.

Publication status

published

External links

Editor

Contributors

Examiner : Komm, Dennis
Examiner : Maximova, Alexandra
Examiner : Bachmann, Clemens

Book title

Journal / series

Volume

Pages / Article No.

Publisher

ETH Zurich

Event

Edition / version

Methods

Software

Geographic location

Date collected

Date created

Subject

GPanel; WebTigerPython; TigerJython; WebTigerJython

Organisational unit

09779 - Komm, Dennis / Komm, Dennis

Notes

Funding