Jump to content

Recommended Posts

Posted

I am seeking to create an animation of an atomic model of my own creation, I need an animation app to do this on my phone, any suggestions?

Posted (edited)

[deleted unhelpful comment, sorry]

Is it an Android or Apple phone? (I assume not Microsoft.)

Edited by Strange
Posted
3 hours ago, Butch said:

I am seeking to create an animation of an atomic model of my own creation, I need an animation app to do this on my phone, any suggestions?

Have you tried Google?

Posted

Yes, no satisfaction... I need to create orbital models, I don't need to incorporate forces, but there is timing involved.

23 hours ago, Strange said:

[deleted unhelpful comment, sorry]

Is it an Android or Apple phone? (I assume not Microsoft.)

Android

Posted

You can try Khan Academy. They have a Java Script branch that helps you learn the basics. It is decent.

But I am not sure if you can do it on a phone, I know you can do it on a browser from a PC. 

Posted
Quote

But I am not sure if you can do it on a phone

JavaScript is actually the most supported programming language for phones. Even old phones used to use a scaled down version of JavaScript.

Posted

If you are going to use Javascript, it can be used for animation by drawing shapes on the html 'canvas' element, which are then redrawn as a loop using requestAnimationFrame().

This works well if you are going to plot points / basic shapes using an equation.

If you want a 3D animation but for simplicity are going to use canvas in 2D, a trick is to calculate the shapes as 3D into an x y z array, include an adjustment for the size of the shapes with regards to perspective, sort the array on what is furthest away from the point of view, and then draw the shapes as 2D onto the canvas in that order. This produces a 3D animation.  Otherwise WebGL can be used for 3D plotting onto the canvas but I have not used that myself.

Notes from w3school https://www.w3schools.com/html/html5_canvas.asp

The HTML <canvas> element is used to draw graphics, on the fly, via JavaScript.

The <canvas> element is only a container for graphics. You must use JavaScript to actually draw the graphics.

Canvas has several methods for drawing paths, boxes, circles, text, and adding images.

Posted
Quote

WebGL can be used for 3D plotting onto the canvas but I have not used that myself.

Yeah I'm the same WebGL takes years to learn it isn't something you just pick up overnight all the maths tends to be difficult.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.