NANY 2023: ENTER NOW!

The NANY 2023 event is now closed.

If you are a coder, any new program (or addon) that you have released in the previous year, which is freeware/donationware for home users is eligible.

And if you are not a coder, you can still participate by helping coders with ideas and testing.

To join in the adventure, visit: The NANY 2023 forum section.


NANY contests:

Latest Forum Posts

Fuzzy Feelings Utility
Man, you guys are good! I had this warm and fuzzy feeling about you guys the moment I installed your program. It's so nice to be able to run lean and efficient software, and to be able to converse with the author himself. I look forward to being part of your community and to spread the word about you!
C.L.
C.L. image

You are viewing a specific blog item. Click here to return to the main blog page.

NANY 2015 Release: Drawskrit

My NANY contribution for this year is a simple description language for drawings and diagrams (which I've named Drawskrit). My main goal is to be able to describe diagrams with text. The description language should be natural and simple (I don't want a diagram programming language).

Its current state is experimental. I have a JavaScript implementation that demonstrates the current specification. I'm afraid it's not very useful yet though. I'm not sure I'll ever get it to a state where it'll be powerful enough to specify real-world non-toy diagrams without becoming a complex monster language.

A few of the current obvious shortcomings:
  • needs more shapes (e.g. arrows)
  • current text alignment sucks (specification bug)
  • dotted/dashed looks horrible with thick lines (implementation bug)
  • needs more documentation (e.g. layers)
  • JS implementation needs to be decoupled from the HTML demo page

If I ever get it to a state where it's actually useful, I'm planning to implement it as a cross-platform tool which can be integrated into an automated build process.

A non-formal specification (i.e. a description) and the JavaScript implementation can be found here:

https://github.com/phitsc/drawskrit

Drawskrit is open source.

If someone wants to play around with it please direct your browser here:

http://rawgit.com/ph...er/js/drawskrit.html

As a first example, paste the following text into the big text box on the left of the above web page:

orange background filled shapes
_
small blue circle small green circle
tiny purple square big red triangle tiny purple square
small olive smile

==
fat navy huge empty dashed circle

Click here to read more, download, and discuss



Share on Facebook