Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blockly integration? #38

Open
mutterer opened this issue Nov 26, 2020 · 2 comments
Open

blockly integration? #38

mutterer opened this issue Nov 26, 2020 · 2 comments

Comments

@mutterer
Copy link

This has been discussed already in other contexts, but now that ImageJ has a javascript version, integration of blockly (or similar) seems more possible than ever before.

https://developers.google.com/blockly/guides/get-started/web

@oeway
Copy link
Contributor

oeway commented Nov 26, 2020

Hi @mutterer I think that's a great idea! We can basically automatically wrap the imagej macro/commands/plugins into modules.

I had this demo plugin for blockly you might have seen before:
https://imjoy.io/lite?plugin=imjoy-team%2Fimjoy-demo-plugins%3AFixed-Blockly

It also works in ImageJ.JS: https://ij.imjoy.io/?plugin=imjoy-team%2Fimjoy-demo-plugins%3AFixed-Blockly#
Screenshot 2020-11-26 at 12 22 26

We can generate js code directly, for each module we can call ij.runMacro(...). We need to find a way to generate modules for different commands/plugins (we might need to do it manually, @rasband may provide suggestion here).

I guess it will be much easier with the scijava modular framework in ImageJ2, there we can get a list of modules easily (@ctrueden ).

It would be also interesting to make blockly work with https://github.com/imagej/imagej-server .

The only problem is I have limited bandwidth recently, so please go ahead if you have sometime to look into it.

@rasband
Copy link

rasband commented Nov 26, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants