Could an expert on this site guide me in making an animated 3D plot of electromagnetic waves? I would like the user to be able to change the polarization interactively.

Also, I would like to run the animation on a Android device. How can I modify or convert the Mathematica code to run on an Android device?

I'm new in this and hope implementing this project will teach me more about Mathematica.

  • $\begingroup$ And also based on users' inputs to change the polarization accordingly. Thanks in advance! $\endgroup$ – Alvin Lee Aug 16 '18 at 17:05
  • $\begingroup$ Something like this? However, Android isn't supported as far as I know. $\endgroup$ – Jens Aug 17 '18 at 0:16
  • $\begingroup$ @Jens Yes! But is there a tutorial showing how to program it? $\endgroup$ – Alvin Lee Aug 17 '18 at 6:58
  • $\begingroup$ The demo code is available if you click on "Download Source" - from there, open the cell under "Manipulate" and go through the commands, looking each of them up in the documentation. That's all I can say. As for export to Android, the best solution would be to export a couple of animations as movies and embed them in a web page. Interactivity could them be programmed in JavaScript - but Mathematica is not a viable choice for that right now. $\endgroup$ – Jens Aug 17 '18 at 16:16

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.