NetLogo / NetLogo/Tortoise

Supporting multiple models per page

Open
#133 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
CoffeeScript
Stars
57
Forks
28
PR merge metrics
No merged PRs in 30d

Description

It would be great if one could eventually author web pages that have multiple NetLogo Tortoise models. I tried to combine two on a page by creating and running startLoop on two different "sessions" (and using two different "model-container" ids). The second model was broken. Probably relates to #16 and #36.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the two-session setup described with separate model-container IDs and read the related issues #16 and #36. Trace how startLoop handles sessions and determine what must change for two models to run on one page; done means both models load and run independently without breaking the second model.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript, javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.