-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the Multicellularity wiki! Below is an outline of the ways we could implement the main idea (create a simulation app that can run on websites). It will be updated with progress notes on whether a particular approach worked or not.
Probably the best choice for a web-based application. Examples for the Ising model:
- http://mattbierbaum.github.io/ising.js/
- https://physics.weber.edu/schroeder/software/demos/IsingModel.html
Some resources for learning JavaScript:
Can create applications for visualization, but no official software for creating web-based apps.
- Create a standalone app using MATLAB compiler. Unfortunately, the user still needs the MATLAB Compiler Run-Time (MCR) installed. This can be downloaded for free, however, here. It is also included in the file created by the compiler, so a user would not need to download it separately from the link but can install it from the deployable program.
10/12/2017: Successfully made standalone app. Installation of MCR and program itself successful, but incredibly slow. Not feasible unless user has MCR installed already.
- Convert MATLAB code into another language Some options for creating a true standalone app are discussed here: https://stackoverflow.com/questions/3198407/creating-a-standalone-app-from-matlab-code One option would be to convert code in C++ or another language using MATLAB Coder abnd MATLAB Compiler SDK. Unfortunately, plots and graphics appear not automatically convertible so one would have to write a visualization tool in the converted language. JavaScript is not a language that either software can convert to.
Some possibilities for web-based applications, but none of them practically feasible.
-
Create interactive output using Manipulate and export CDF code to embed in HTML website. A tutorial describing how to do this is here. Downside: runs on client-side, requires user to have Mathematica or CDF Player installed.
-
Use webMathematica This does run on the server-side. However, unfortunately it requires a Premier Licence or other purchase, not available through TU Delft licence.