/druid-rune

Experiments combining druid and rune.

Primary LanguageRustMIT LicenseMIT

What is this?

This is the tool for creation quick prototype druid ui. It was created to save time designing the druid UI from the terrible rust compile time.

This project is just personal experimental project(dirty code) and many things are not implemented yet.

How to run

cargo run --release

NOTE: Run as debug mode is very slow. Also, I've only running on Windows, but I haven't been able to confirm it's running on Linux or Mac.

Preview

  • If enabled Live checkbox then script code compile immediately.
  • Select the example rune script.

Built-in rune module

Constant, Function, Type

Constant

Flex

Text

Image,Svg

Function

TODO

Shape

  • Circle
  • Line
  • RoundedRect
  • Rect
  • PathSeg(Line,QuadBez,CubicBez)
  • Arc
  • BezPath
  • CircleSegment
  • CubicBez
  • Ellipse
  • QuadBez

IntoBrush

  • Color
  • FixedGradient(FixedLinearGradient,FixedRadialGradient)
  • PaintBrush(Color,LinearGradient,RadialGradient,FixedGradient)
  • LinearGradient
  • RadialGradient

Tool

  • Show compile error in UI
  • Color picker shortcut