Yeah, and if we are going down the NLW rabbit hole, we could consider using NetLogo's CodeMirror 6 support - part of our editor renovation project - since CodeMirror 6 is already used in JupyterLab. But then, to make notebooks really notebooks, we need to have many smaller code blocks. Well, that goes into my plans for NetLogo Chat now!
On Tue, Feb 6, 2024 at 12:34 PM jeremy...@northwestern.edu < jeremy.ba...@northwestern.edu> wrote: > Hey Corey, > > If you want to host the notebook on the web, and if the platforms you are > looking at support embedding HTML pages (or links to pages) then NetLogo > Web might be an option. If those platforms allow interacting with the page > via JavaScript, then you can use the NLW event and query systems to react > to events inside the model and to get data out. Documentation of those > features is incomplete, but we have a sample repository showing the basics > of wiring them up: > https://github.com/LaCuneta/netlogo-web-logging-example I'm happy to > answer questions on that if you do decide to try an implementation with it. > > If you want to run a local instance with NetLogo desktop, then the > PyNetLogo library that John linked might be worth a look. > > -Jeremy > > > On Tuesday, February 6, 2024 at 11:49:32 AM UTC-6 Brady, Corey wrote: > >> Hi. – I am exploring options, so no ‘hard’ constraints yet. >> >> Web-based (e.g., Google Colab) is ideal, but I could probably do some >> contortions to get the basic functionality in a robust way. >> I want to use this in the context of a fairly large course in the fall. >> >> -Corey >> >> >> >> *Corey Brady* >> >> Director, SMU Cluster for Technology-Enhanced Immersive Learning (TEIL) >> >> Associate Professor, Mathematics Education and the Learning Sciences >> >> >> >> *corey...@smu.edu* >> >> Department of Teaching and Learning >> >> Simmons School of Education and Human Development >> >> [image: A blue and red logo Description automatically generated] >> >> >> >> *From: *John Chen <yuehanc...@u.northwestern.edu> >> *Date: *Tuesday, February 6, 2024 at 11:29 AM >> *To: *"Brady, Corey" <corey...@mail.smu.edu> >> *Cc: *"netlog...@googlegroups.com" <netlog...@googlegroups.com> >> *Subject: *Re: [netlogo-devel] Integration of NetLogo into a notebook >> environment? >> >> >> >> You don't often get email from yuehanc...@u.northwestern.edu. Learn why >> this is important <https://aka.ms/LearnAboutSenderIdentification> >> >> Umit Aslam made some efforts to use NetLogo in Jupyter Notebook. >> >> >> >> Do you have specific hardware limitations, e.g. need to use it on Web? >> Chromebook? >> >> >> >> On Tue, Feb 6, 2024 at 11:08 AM Brady, Corey <corey...@mail.smu.edu> >> wrote: >> >> Hello All – >> >> A quick question – I am hoping to be able to integrate NetLogo models >> into a notebook like a python or R notebook (python preferable, but both of >> interest). >> >> Has such a thing been done? Would it be hard? >> >> Best, >> >> -Corey >> >> >> >> *Corey Brady* >> >> Director, SMU Cluster for Technology-Enhanced Immersive Learning (TEIL) >> >> Associate Professor, Mathematics Education and the Learning Sciences >> >> >> >> *corey...@smu.edu* >> >> Department of Teaching and Learning >> >> Simmons School of Education and Human Development >> >> [image: A blue and red logo Description automatically generated] >> >> -- >> 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-deve...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/netlogo-devel/BB047B1F-99D1-4EAA-B7C0-613E643D9B1A%40smu.edu >> <https://groups.google.com/d/msgid/netlogo-devel/BB047B1F-99D1-4EAA-B7C0-613E643D9B1A%40smu.edu?utm_medium=email&utm_source=footer> >> . >> >> -- > 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/3dd0784c-7cba-47f1-957e-406153aca82bn%40googlegroups.com > <https://groups.google.com/d/msgid/netlogo-devel/3dd0784c-7cba-47f1-957e-406153aca82bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAJ_UcvwUJ7VOerzqJM63n4AYREu641mzn5DL-n0xSHgXJsAT7w%40mail.gmail.com.