circuitpython / web-editor

Online web editor for CircuitPython
https://code.circuitpython.org
MIT License
30 stars 15 forks source link

Visual Programming for CP #171

Open s-light opened 6 months ago

s-light commented 6 months ago

i like the idea to program CP in a visual way

this is a follow up from https://github.com/circuitpython/web-editor/issues/20#issuecomment-2018916625

Initial Idea / thoughts:

i personally like the flow based version more than the blockly approach, as its more of a real visual abstraction & appealing design..

Integration in current web-editor

Libraries

create a automagic conversion system to parse the libraries and create components for them. (maybe as a build job on the library builds...) as otherwise you would have no libs to use.. (its a to big burden for the lib maintainers to generate something special for the editor i think...)

Flow Based

link collection

what do you think about this? would be a PR including some simple beginner friendly visual editor be an option?

conclusion

it would be reasonable possible to include blockly based on the BlockMirror project in the web-editor.

after more research on the available flow-based UIs i think there is currently no easy fitting framework/library out there.. (without writing all the code-generation myself)

and there are already running editors available - so is there any benefit in integrating it here?

s-light commented 6 months ago

what do you think about this? would be a PR including some simple beginner friendly visual editor be an option?

and there are already running editors available - so is there any benefit in integrating it here?

@makermelissa i love to hear your thought on this! :slightly_smiling_face:

dhalbert commented 6 months ago

There is https://edublocks.org, which was developed by Josh Lowe, and has been available for years. It is now available under the auspices of Anaconda. It knows about CircuitPython. It does not know about the web workflow, but I'm sure that could be added.

s-light commented 6 months ago

so you mean - it is better to integrate the web-workflow in this one? (than the other way around)

dhalbert commented 6 months ago

I don't have an opinion about that. It depends on the structure of EduBlocks.