Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

What language, tools or libraries do you suggest for prototyping applications that use a lot of animation? For example:

  • Conway's game of life
  • Solar system simulation
  • Signal propagation

Good choices should offer easy access to primitives such as points, lines and circles.

share|improve this question

closed as off-topic by gnat, Kilian Foth, Ozz, GlenH7, MichaelT Oct 2 '13 at 18:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – gnat, Kilian Foth, Ozz, MichaelT
If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

3 Answers

up vote 6 down vote accepted

The Processing programming language might be what you want. It is quite similar to Java in many ways, but has phenomenal drawing capabilities and is designed for that.

share|improve this answer
Excellent suggestion. Processing is great. There's also Processing.js (processingjs.org) allowing for browser based Processing applications. –  Vitor Mar 5 '11 at 18:32
Processing and Processing.js are excellent suggestions! –  Eelvex Mar 5 '11 at 18:59
add comment

There are different frameworks for various categories of simulation, though a decent general platform for prototyping is MatLab, or to a lesser extent Octave (a free MatLab compatible language). It's fairly good at expressing matrix and cellular data and differential equations, which should cover the examples you listed. As you get to more specific categories, it would be worthwhile to pose the question for suggested frameworks to more specialised groups (for example, for tree-graph based simulations, you want an L-system engine).

Spread sheets can also be handy for crunching through data sets and building up quick & dirty analyses.

It's also useful to keep a good plotting tool handy. I personally like gnuplot, but there are many options available, such as Grapher (comes with OS X), or the graphing tools in spread sheets.

share|improve this answer
add comment

Python with Numpy. Vector or raster imagery can be displayed with PIL (Python Imaging Library) and any GUI toolkit you like (I've found PyQt to be easy to do quick simple prototypes with). Python is one of the easier languages to learn yet quite powerful, and is used in the real world for serious simulation, animation and such.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.