1.0.4 • Published 5 months ago

signalcraft v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

signalcraft

A tiny visual programming language.

How It Works

  • you define node types first
  • then create a view, which is a UI, an SVG
  • then you addNode(type) the view will update to show that node
  • then you linkNodes to create a flow (see src/usage.js)
  • then you .run(node), you have to specify a node you want to spider up and execute payload on

How It Really Works

  • System Is Reactive, Full Time Travel
  • When defining Types, you really just specify Input Dots and Reply Dots.
  • Input is the Property of a Node that you can link to
  • Reply is the Function of a Node that gets executed via a downstream node
  • Nodes are decorated as Panels
  • Edges are decorated as Cables
  • Reactivity Links everything together.

TODO

  • INput/Reply must be reactive as they will give cable its x and y
  • CRITICAL: SimpleCollection.export needs to make proper copies,

  • use Krita to create system diagram

  • implement cables/wires
  • cables should be type sensitive numbers, strings, objects
  • Paint edges
  • Add Drag & Drop
  • Add Selection Manager (maybe groups)

Building

npm install --save-exact --save-dev esbuild

Design Ideas

art/fui-0.jpg art/fui-1.jpg art/fui-2.jpg art/fui-3.jpg art/fui-4.jpg art/fui-5.jpg art/fui-6.jpg art/fui-7.jpg art/fui-8.jpg art/fui-9.jpg art/fui-10.jpg art/fui-11.jpg

Current State

art/fui-x.jpg art/fui-y.jpg

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

6 months ago

1.0.1

6 months ago