Creating standalone executable from a NetLogo model - compilation

I have a NetLogo model. I want to have a standalone executable with the same/similar interface and behavior. I want the user to be able to run my model without downloading/installing NetLogo first. Is there a way to do this? Or is there a programming language or framework to which I can easily translate from my NetLogo model?

Related

Flet integration (modularization) with other Flutter/Dart code

I love the idea of combining the power (and existing libraries) of python with the rich user interfaces of Flutter, however I wonder about how Flet can interact with existing Flutter code-bases.
Specifically, is it possible to incorporate Flet into existing Flutter apps? Can I write a specific business-logic module in Flet (via python) and then access that module via standard Dart/Flutter?
I think such a mechanism would provide a lot of utility for developers, allow for a larger range of (language) expressivity in Flutter apps and make it easier for established codebases to adapt Flet without having to start from scratch.
FYI: I know that Flutter packages for python integration exist (e.g. Chaquopy and Starflut, or just running a custom python-based on-device web-service), but I am intrigued by the more native integration that Flet could afford (less marshalling logic, etc.)

Graphical libraries that would allow some shape and connectors graphics to be made quickly

I am looking to create an application that allows me to make system design models, something similar to visual paradigm or draw.io. And I was wondering whether they are some graphics libraries out there that have some features that would be useful for a project like this?
thanks in advance.

GUI Development for a ROBOT Compatible with ROS and WINDOWS

for a project i have been assigned, I have been given 2 robots...one has ROS and the other basically uses Windows. So my task is to develop one Graphic User Interface that can be used for both robots.
From the GUI , a user should be able to.
- Connect to the Robot
- Move and control the robot.
- Change speed...etc
I will like to ask for advice as i am about to start this project.
How can i go about this? and which has better support for my requirements?
From my research i have read people recommend QT...for cross platform developmens. Are there any other alternatives? any book recommendations?
The goal will be to have a GUI that is compatible for both systems. Any Recommendations or help is welcomed.
First you setup ROS On windows Using WSL (or any other ways to do it WSL is most stable).
after that you need achieve everything you want the GUI does on robot using ROS terminal.
after that your write the GUI. You can Choose any framework You want(You need C++ or Python for compatibility issues with ROS) but QT Framework is most used in multi platform Application and has a lot of support.
the compatibility with non-ROS is what You should Implement in your Application Like Choosing or something Like that.
PySimpleGUI is a framework built on top of tkinter that runs on the Pi. There are some example programs written to do robot remote control. There are GUI buttons designed specifically for "realtime" control of hardware that will provide immediate and constant feedback when a button is held.
It runs on Python 2.7 and 3 (recommend 3).
There is a Recipe in the Cookbook that matches your problem located here.
If you use PySimpleGUI in your project, post in the Issues area on GitHub if you have any questions and you'll get support.

How to make a GUI in Julia?

I'm new at programming in Julia and I need to create a GUI.
I've been looking for information and I can't find anything useful. I tried to search information in the Julia official web page, but it seems to be down. I wonder if any of you guys knows where I can find information about it.
This is quite a generic question, but I'll try and layout the environment so that you can make an informed decision based on your needs. You might want to check out this article on 6 Julia Frameworks to Create Desktop GUI’s 🖥 and Web Apps.
If you are developing your code within an [Jupyter/IJulia] notebook, and need very simple interaction, such as a slider to change some input values, the Interact package is the easiest thing to get started with.
To develop full-fledged web UIs, take a look at Escher. Inspired by the Elm, it provides a functional library of UI components. Interactive web UIs are created in 100% Julia. There is no differentiation in code between the client and server sides. The framework handles all of that.
Another web framework worth looking at is Genie, which is based on the traditional MVC design pattern. It also includes an ORM.
Stipple is a reactive UI library for building interactive data applications in pure Julia. It uses Genie.jl (on the server-side) and Vue.js (on the client).
Dash ties modern UI elements like dropdowns, sliders, and graphs directly to your analytical Julia code.
All the above solutions are for creating web user interfaces, accessed via a browser. If you want to create cross-platform desktop apps, but want to work with web technologies (i.e. HTML/CSS/Javascript), use Blink. This is a Julia wrapper around the Electron. You could potentially write a Dash or Stipple application, and wrap it in Blink.jl to create a desktop app.
To create desktop UI applications using the Gtk library, use the Gtk.jl package in Julia. If you are familiar with the Gtk API, it is easy to get started. Note however that there are some significant known issues running GTK.jl on Windows.
If your UI framework of choice is QT, a Julia binding is available via QML.jl
If you are happy painting the buffer yourself and just want a window to render the pixels on the screen, then there is nothing simpler than MiniFB. Note however that this does not give you a widget library -- you are responsible for drawing each and every pixel yourself.
ClmGui.jl is a Julia wrapper around the immediate mode GUI toolkit known as Dear ImGui
And last, but not the least, the venerable Tk framework has a wrapper in Julia. The UI's created using TK are sometimes considered ugly compared with modern aesthetics, but sometimes this is the quickest way to get a window up.
[Edited Jan 2022]
QML.jl
https://github.com/barche/QML.jl
The QML.jl package enables using the QML markup language from the Qt library to build graphical user interfaces for Julia programs. The package follows the recommended Qt practices and promotes separation between the GUI code and application logic. All user-facing code is pure Julia and QML, no C++ knowledge is required to use the package.
There is a new package called Genie. It is a web framework comparable with Django in python. You can create web ui using Genie. Until now (Aug. 2017), the package is functional with some nice demos, the documentation is not quite complete though.

How to design a portable modularized GUI applications?

There are a lot of flexible, complete, cross-platform, et cetera, graphical user interface frameworks. Most of them provide many tools to turn software development easier. When building a desktop application in Qt environment, for example, one usually would have different file types, headers, implementation files, and user-interface files (.ui).
Normally, a developer design an application and, once compiled, no changes can be made to user interface.
I would like to know how to create an portable modularized application that could dynamically load personalized user-interfaces (from .ui or binary files, for example).
The system design would be such that the core controller would somehow load it's presentation from remote source.
My question is: Are there any library that could provide this kind of flexibility in GUI applications development? How to implement such a architecture?
Thank you in advance for responses.
You can use QUiLoader to load .ui files at runtime.
You can have a GUI based on html which can be modified at run time.
The new version of Qt has a gui/themes based on an html like design language - Qt quick or something?

Resources