Skip to content
YitengD edited this page Dec 21, 2017 · 4 revisions

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.

JavaScript-based

Probably the best choice for a web-based application. Examples for the Ising model:

Some resources for learning JavaScript:

MATLAB-based

Can create applications for visualization, but no official software for creating web-based apps.

  1. 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.

  1. 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.

Mathematica-based

Some possibilities for web-based applications, but none of them practically feasible.

  1. 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.

  2. 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.

Literature

Clone this wiki locally