Hi Nick,

If you want to control the NetLogo Web simulation engine through JavaScript, you can find the engine at this link <https://netlogoweb.org/netlogo-engine.js> and the compiler at this link <https://netlogoweb.org/tortoise-compiler.js>. However, depending on what you're trying to do, this might not be the most pleasant way to interact with NetLogo Web.

If you simply want to embed an existing NetLogo Web model into a web page, you can open it from netlogoweb.org, and then choose "Export: HTML" in the top-right of the model.  This will download your model as a standalone HTML file.  You can then embed that HTML file in an `iframe` on your web page.

Jason

On 9/6/24 4:18 AM, Nick Chatzoudas wrote:
i am having trouble finding the js file so i can import it into my html and run the model from there can someone point me in a direction?? -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/fd67f0a3-97e7-4026-9891-9077ff3b1499n%40googlegroups.com <https://urldefense.com/v3/__https://groups.google.com/d/msgid/netlogo-devel/fd67f0a3-97e7-4026-9891-9077ff3b1499n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Dq0X2DkFhyF93HkjWTBQKhk!Xi67zthvY3Fc9H-F7uqA1QF2dxUMCqv4d288hSIzZogGlEdiehu8Ai1vPQhk3mqsGl58Hl2qCZ76Qh0abIZrZgv2uuimx2uFvstP$>.

--
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netlogo-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netlogo-devel/30e05584-1f31-48fa-ac2d-61b2bf1eecc7%40northwestern.edu.

Reply via email to