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 libraries, permitting the programming of cross-platform applications with GUI interface coded with Interphase.
Read More »

Posted in Programming | Tagged , , , | Comments closed

Guide to Pyjs and Pyjsdl

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

Posted in Programming | Tagged , , , , | Comments closed

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.
Read More »

Posted in Programming | Tagged , , , , , , | Comments closed

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 PyJ2D, and in the Web browser with Pyjs compilation and Pyjsdl.
Read More »

Posted in Programming | Tagged , , , , | Comments closed

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.
Read More »

Posted in Programming | Tagged , , , , | Comments closed

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 PyJ2D project, and currently supports a subset of Pygame functionality. The module is available on the Pyjsdl project page, and used to compile the following JavaScript demo.
Read More »

Posted in Programming | Tagged , , , , | Comments closed

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, and the PyJ2D: Python-Java2D Applet post. I have used PyJ2D to create some applets of my projects, and will describe the method used to create them.
Read More »

Posted in Programming | 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 projects are coded in Python and Pygame, and I hoped to be able to execute them online as an applet. However, since Pygame is a wrapper of the SDL multimedia library coded in C language, it cannot execute in the JVM. I wrote the PyJ2D module in Python code that essentially is a wrapper of several Java libraries including Java 2D graphics library, and modelled after the Pygame library to maintain Pygame statements. The following Java applet is a demo of Serpent Duel included in my Interphase Pack that is coded in Python/Pygame using the PyJ2D module:
Read More »

Posted in Programming | Tagged , , , , | Comments closed

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 importing extension modules. The following is a brief overview of Python, including what is required to run the programs and some information for those interested in using it for doing their own coding.
Read More »

Posted in Programming | Tagged , | Comments closed

Genetic Construct Program

Genetic Construct is a program that generates a visual construct of a genetic sequence. I programmed it in Python programming language for the visual exploration of genetic sequence constructs to discover genetic patterns that could be the genetic signature for gene regulatory switches, or protein motifs and structural domains, biologically important in gene control and protein function.
Read More »

Posted in Biology, Programming | 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 be examined as an aid in understanding in utilizing the Interphase module specifically, or Python/Pygame programming in general.
Read More »

Posted in Programming | Tagged , , | Comments closed

Python Program Executables

I made standalone executables for Linux and Windows of my Python programs Microbe, Replicator Machine, Neural Construct and Biomorph Entity. These executables were built using cx_Freeze, and have Python and all dependent libraries included, no installation needed.

Some details of the cx_Freeze build follows:
Read More »

Posted in Programming | Tagged , | Comments closed