Drupe - A JavaScript-based 3D renderer


Drupe is a 3d renderer that is completely programable via JavaScript. It consists of two major components, a core set of 3d-scene elements and a JavaScript environment. Its architecture is quite similar to Emacs.


The core application is written in C and provides only low-level services, e.g. loading a file from disk, rendering a model, etc. It doesn't really do anything on its own, but provides these services to the JavaScript environment.

The scripting component, i.e. Mozilla's JavaScript implementation, is freely programmable and can be used to create any kind of scene. The major difference compared to other 3d-rendering tools is thereby that the scripting part is not just some ad-hoc solution but the primary (only) way to program the core renderer.

Internally Drupe uses only standard libraries, e.g. OpenGL, SDL, and SpiderMonkey (Mozilla's JavaScript-VM). It is developed on Linux, but written in ISO C90 it should run on most Posix-like systems.

Together with the core C application, a set of JavaScript files is provided which contain some standard components, e.g. vectors, matrices, or various scenegraph nodes.

Drupe is also the test and reference application for jsapigen, a free glue-code generator for SpiderMonkey. If you are interested in embedding JavaScript in your application you might take a look at http://jsapigen.sourceforge.net.


Drupe does not have official releases. You can always pull the latest version from the Git repository on SourceForge.net by entering the following command.

git clone git://drupe.git.sourceforge.net/gitroot/drupe/drupe

This creates the directory drupe in your current working directory, with a copy of the latest public master branch.

Legal stuff, author, and contact info ...

Drupe is free software under the terms of the GNU General Public License, Version 3. It is written and maintained by Thomas Zimmermann <tdz@users.sourceforge.net>.

Please feel free to contribute to this project. Patches, feature requests, etc. should be submitted via the project's page on SourceForge.net, or the mailing list <drupe-devel@lists.sourceforge.net>. This is also the preferred place for Drupe-related discussions.

This software is hosted by

Get Drupe at SourceForge.net. Fast, secure and Free Open Source software downloads

Copyright © 2009 Thomas Zimmermann

Valid HTML 4.01 Strict CSS is valid!