Simphy 0.8 (Beta Version) released

After a big time gap Simphy is updated version 0.8 with many new improvements and several bug fixes and improvements.

Biggest Update ever done in Simphy!

This update mainly features following enhancements ..

Read more

SimPHY on Mac OS silicon (M1 chipset)

After a huge amount of efforts and time we are proud to announce that SimPHY now works natively on MacOS arm64.

However we could’t still create dmg installer, means Jva will have to be installed.

Follow the steps to get it working

  1. install Java for M1:
  2. download simphy java app:
  3. extract above zip
  4. double click simphy.jar to run app
  5. if it does’t work, run command java -jar simphy.jar
  6. If still it does’t work, share the outcome of terminal

Liquid Particle Engine added to SimPHY 2.3

We just finished porting google’s awesome liquidfun in simphy. We have written the port from scratch and optimised the algorithm slightly. This particle engine will allow to create

  1. Fluid simulations
  2. Particle simulations for ideal and real gases
  3. Soft body physics simulations
  4. Creating distructible objects

The particle engine is tightly integrated with simphy’s physics engine, to allow interaction between particles and rigid bodies.

How to add/create liquid:

All rigid bodies in simphy can be converted to liquid by right clicking body and selecting particle type to convert to. You can drag created group of liquid particles using mouse.

How to remove liquid:

Liquid particles are removed in same way other objects. Select delete tool and drag to slect the region of liquid you want to delete.


  1. Forces due to liquids on rigid bodies do not appear in free body diagrams
  2. Simulation does’t save liquid info (should be available from next version)
  3. Particle renderer renders particles as circles only (Different mode of renderers will be included in next version)
  4. Particles can’t be customised (Will be done via script in upcoming updates)
  5. No particle Emitters (Will be done via script in upcoming updates)

Hopefully you will soon see particle engine exposed to script editor helping to create highly interactive simulations along with custom emitters and destroyers.

Html Canvas Test

Your browser does not support the HTML5 canvas tag.
Zero error:
-40 +40

Liquid Simulation test for Simphy

We tried porting liquidfun (just a quick port with no optimizations) and the results are quite encouraging.
Have a look at these example videos

We are getting 60 fps with approx 5000 particles on 4 year old core i3 laptop, which I think is quite descent.

But porting liquid fun required few changes in Transform, World, Vector2 and raycasting callbacks(other classes remain intact). Obviously it is not yet ready to be released with this version of simphy, it will need huge framework changes in simphy, so hoping it to be released in next major release.

Added Vector Field support to Calc3D

After 5 years, there is something to talk about calc3D, a 3D plotter built in java. Calc3D is now updated to support Vector Field. Now Vector field in cartesian form can also be plotted using it.

TWL port of JOGL

I have just written JOGL port of TWL:Theme Widget Library.
I am planning to rewrite/replace my own opengl gui library used in my project simPHY: the 2D physics simulator, thats why I compared various available opengl gui libraries like nifty-gui, twl, nuklear etc and I found twl to be best suited for my use especially because of its powerful textarea and theming capability. Sooner or later I may use it or modify my library to incorporate these features.

You can find the maven project at github.

how does it differ from original twl

this jogl port of twl library intended to work with newt in jogl, so main changes madeto library are

  • all keycodes, mouse events are mapped to newt keyevents
  • new jogl renderer is added
  • new jogl input processor is added
  • newt window and jogl animator are used to create display
  • jogl effects rendered is used for twl effects
  • several small tweaks to make it work with jogl

who else can use it

Anyone planning to use full featured opengl gui in jogl (to avoid multithreading conflict on combining swing with opengl). MatthiasMann is kind enough to freely share his awesome library with us. For commmercial use please contact MatthiasMannsince he is the one who holds all rights, there is no restriction in distributing or reusing code from my behalf.

how to use it

  • Download ind install eclipse
  • Download the repo and extract it
  • Open eclipse and import >>Maven >>Existing maven Project
  • Right click on project and click on menu Run As >>Maven install
  • You will see jar jogl-twl-test-1.0-SNAPSHOT.jar inside project folder jogl-twl-maven\jogl-twl-maven\jogl-twl-test\target
  • Run jar and click on test buttons to see demo You should get an idea about using twl in jogl by looking at the source. For tutorials on using twl please visit

Let me know if it is of some use to you.

Ported Super Mario game to libgdx..

For demo click here
To learn Libgdx frame work i decided porting my android super mario game to it. It was quite a fun, digging the potential of this game framework. For those aiming to learn game development for whatever reason I will recommend libgdx, since it deploys your code to html, ios, android and desktop simultaneously.
BTW you can have a look at source code of the game

Plotter in SimPHY is rewamped !

Plotter in SimPHY is updated with several enhancements and tweaks, to make is more interactive and powerful.

The update mainly focuses on smoothing of curve/plot(which can clearly be seen in screenshot) and ability to plot graph between any two parameters rather than plot with time as x axis as in previous version.
Read more

Serpent Demo in Simphy 0.9 (Beta version)

Demonstrates the physics behind snake’s motion. Snake is created by joining many rectangles with revolute and distance joint.
Look at the motion of serpent closely, the joints are behaving like vertebrates.

SimPHY (Beta Version) updated to 0.9

SimPhy is updated to new version which involves many tweaks and some long desired features. This updated is mainly intended for better visualization support to understand physics better.
Read more