Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6684889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:59:31+00:00 2026-05-26T04:59:31+00:00

For those that don’t know, processing is a language/ Java library primarily used for

  • 0

For those that don’t know, processing is a language/ Java library primarily used for displaying data nice and pretty.

Processing.js is its javascript port made by John Resiq. Everything that guy makes is a treasure.

As per a previous question I learned that Processing’s many libraries would not work in processing.js. Why is this? Processing provides a makeshift compiler that turns the processing code into its javascript equivalent.

For context to this question, I’m building a game for a final year project and am looking into using processing.js as the base. Whats holding the processing.js back from being an even bigger force in the web is the lack of libraries (honorable mention to box2d.js).

The 2 problems with processing.js is that the compiler for pde to js doesn’t handle any other processing.js libraries. Only the core processing objects and functions.

The other is the sheer lack of Processing libraries ported to work with processing.js


So the question summarized:

What is it that holds processing and processing.js back from using the libraries already buit?

Is it worth my time following John resiq’s steps and porting some of the processing libraries to Javascript? bare in mind, it took him 7 months.

IS it worth while building on top of his compiler and trying to make it somewhat dynamic in figuring out where external libraries have been called.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:59:32+00:00Added an answer on May 26, 2026 at 4:59 am

    Processing.js and Processing may look similar, but obviously there are differences.

    AFAIK Processing was made to make the life of designers/artists wanting to extend they’re toolset via programming easier.
    Originally it was built as a Java library and a minimal IDE (the PDE).
    Processing.js is a port of that library in javascript.

    This means that while to the user, Processing and Processing.js may look the same, behind the scenes the implementation is very different. As different as Java is to Javascript actually 🙂

    To understand why Processing libraries won’t work in Processing.js is to understand the differences between Java and Javascript. For example, javascript is a scripting language interpreted by the browser, while java code get’s compiled into bytecode that is then executed by a virtual machine (the Java Virtual Machine (JVM)).

    In conclusion, you can not use a Processing library (which is a Java library) with Processing.js, but you can port a Processing library from Java to Javascript if you want to.
    Toxiclibs.js is great example of that.

    toxiclibs1
    toxiclibs2
    toxiclibs3

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

You know those websites that let you type in your checking account number and
I don't really know how to handle facts that happened over a period of
Here's a coding problem for those that like this kind of thing. Let's see
I'm looking for a regular expression that will match all strings EXCEPT those that
I have a few classes, such as those that outline database table structure or
I'm starting to learn Python and I've come across generator functions, those that have
I'm using Emma in my ant build to perform coverage reporting. For those that
It's one of those things that seems to have an odd curve where the
While refactoring code and ridding myself of all those #defines that we're now taught
I have a table with doctor offices and doctors in those offices that I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.