Tag Archives: python

Usage of Pyjsdl with Transcrypt

The Pyjsdl library in the Pyjsdl-ts package is a port of Pyjsdl to work with Transcrypt. Pyjsdl permit scripts coded in Python/Pygame to compile to JavaScript for online deployment. Pyjsdl is modelled on the Pygame commands that wraps JavaScript API providing the multimedia functionality. The post describes the process to convert the Draw Pad script […]

Posted in Programming | Also tagged , , , | Leave a comment

Transcrypt Port of Pyjsdl

The Pyjsdl-ts library permits scripts coded in Python and Pygame to compile to JavaScript using the Transcrypt Python-to-JavaScript compiler. It is coded in Python that wraps JavaScript API for online deployment of web browser applications. The library is a port of Pyjsdl for Transcrypt that compiles Python 3 code to efficient JavaScript. The library is […]

Posted in Programming | Also tagged , , , | Leave a comment

Interphase: Cross-platform GUI Module

Interphase is a Python module designed to provide a graphics user interface (GUI) to Pygame applications. Two of my other projects provide Pygame functionality to additional platforms, including PyJ2D for the Java environment and Pyjsdl for the JavaScript environment. Since a dependency of Interphase is Pygame, the module is compatible with the PyJ2D and Pyjsdl […]

Posted in Programming | Also tagged , , , | Leave a comment

Guide to Pyjs and Pyjsdl

These notes provide instructions on the use of Pyjs with Pyjsdl, which were tested on Linux and Win7 systems.

Posted in Programming | Also tagged , , , , | 32 Responses

Pyjsdl Demo Apps

The apps on this page were coded in Python and Pygame. They were derived from the Pygame examples included in Pygame distribution. The first app is the Chimp example that is also used in a Pygame tutorial.

Posted in Programming | Also tagged , , , , , , | 2 Responses

Compile Apps with Pyjs and Pyjsdl

Pyjsdl implements Pygame through JavaScript functionality permitting porting Python/Pygame apps to the Web browser as JavaScript/HTML5 apps via Pyjs compilation. This post provides some additional details required to port the app, supplementing a previous post. The following app was deployed from Serpent Duel script, and runs with Python and Pygame, on JVM with Jython and […]

Posted in Programming | Also tagged , , , , | 9 Responses

Deploy JavaScript Application Using Pyjsdl

The Pyjsdl module is modelled on Pygame/SDL methods that wraps JavaScript functionality including HTML5 canvas. The module permits scripts coded in Python/Pygame to compile to JavaScript using the Pyjs compiler, allowing deployment of JavaScript applications without extensive editing of the script.

Posted in Programming | Also tagged , , , , | 26 Responses

Pyjsdl: Python-to-JavaScript Module

The Pyjsdl module is modelled on Pygame/SDL designed to permit scripts coded in Python programming language and Pygame multimedia library to compile to JavaScript using the Pyjs compiler. The module is coded in Python that wraps JavaScript libraries and harnesses the HTML5 canvas for deployment of web browser 2D applications. It was derived from my […]

Posted in Programming | Also tagged , , , , | Leave a comment

Applet Deployment Using PyJ2D

The PyJ2D module permits scripts coded in Python programming language and the Pygame module to run in the Java virtual machine (JVM) using the Jython interpreter. PyJ2D wraps several Java libraries including the Java 2D graphics library to emulate Pygame functionality. Information about PyJ2D can be obtained on the PyJ2D project page, the PyJ2D documentation, […]

Posted in Programming | Also tagged , , , | Comments closed

PyJ2D: Python-Java2D Applet

PyJ2D is a module designed with the intent to allow scripts coded in Python programming language and the Pygame module to run in the Java virtual machine (JVM). Python programs can run in the JVM using Jython, a Java-encoded Python interpreter that includes much of the standard library and can access the Java library. My […]

Posted in Programming | Also tagged , , , | Leave a comment

Coding in Python

My projects are coded in Python programming language. Python is an open source, object-oriented, scripting language with clear syntax, and the source code is run directly by the Python interpreter. The Python interpreter can be obtained for numerous operating systems, making the code cross-platform, and has an extensive built-in library that can be enhanced by […]

Posted in Programming | Also tagged | Comments closed

Interphase Module Demo Pack

I created a collection of programs that use my Interphase module to design the interface panel. The programs, packaged together in Interphase Pack, includes Serpent Duel, Pod Descent, and Sliding Control Puzzle. These programs are written in Python programming language and Pygame multimedia module. The source of the programs are provided, and the code can […]

Posted in Programming | Also tagged , | Leave a comment