Decker

https://beyondloom.com/decker/

Tool by John Earnest (2022 – present)

A multimedia platform for creating and sharing interactive documents, with sound, images, hypertext, and scripted behavior.

Decker builds on the legacy of HyperCard and the visual aesthetic of classic macOS. It retains the simplicity and ease of learning that HyperCard provided, while adding many subtle and overt quality-of-life improvements, like deep undo history, support for scroll wheels and touchscreens, more modern keyboard navigation, and bulk editing operations.

Anyone can use Decker to create E-Zines, organize their notes, give presentations, build adventure games, or even just doodle some 1-bit pixel art. The holistic “ditherpunk” aesthetic is cozy, a bit nostalgic, and provides fun and distinctive creative constraints. As a prototyping tool, Decker encourages embracing a sketchy, imperfect approach. Finished decks can be saved as standalone .html documents which self-execute in a web browser and can be shared anywhere you can host or embed a web page. Decker also runs natively on macOS, Windows, and Linux.

Additional Resources

Metadata

9 Likes

Decker is wonderful, I spent the winter holidays of 2022 playing it with, I love seeing what people make with it. I was just looking at Razetime’s website written in Lil.

Decker was also posted to HN, and discussion has some more references as well as links to prior discussion:

I keep hearing nice things about Decker, but I can’t bring myself to take a serious look at it because… of appearance. Its a constant reminder of early macOS. I actually used those machines, and they were about the most frustrating computers I ever had to work with. Nothing beats “Error 35: the operation could not be completed because there was an error” in terms of bad UX, in particular when you see it twice per hour for no apparent reasons.

1 Like

Ah hmm, I have a positive reaction to the appearance. I spent a lot of time with the classic Mac interface as a kid, so it holds a good deal of nostalgic charm for me.

1 Like

Just for the record, Decker is still alive and kicking. I’ve been writing periodic summaries of progress on the platform and its scripting language, Lil.

Major highlights of the past two years include (limited) support for Unicode text, expanded support for paletted color, a number of ways to opt out of Decker’s default sandboxing behavior, and a growing collection of tutorial documentation, extension modules, and user-defined “contraptions” that supplement built-in interactive widgets:

http://beyondloom.com/blog/unionstate2.html
http://beyondloom.com/blog/unionstate3.html

I also wrote an extended tutorial that contrasts implementing a simple game in several ways, illustrating Decker’s model for event loops, state, and reusability:

alternatives

http://beyondloom.com/blog/breakout.html

5 Likes

Oh I’d forgotten about this page. I should mention that I spent some time with Decker last year, and it was a great experience! A+, would recommend.

5 Likes

In this new writeup, I discuss a number of useful design patterns and ways of working that fall out of the “stack-of-cards” metaphor:

https://beyondloom.com/blog/sketchpad.html

4 Likes

My friend Ahmwma just published a fantastic interactive book about building things with Decker, packed with demos and charming pixel-art:

phieldnotes

It’s a wonderful demonstration of both what is possible with Decker and how to do it!

7 Likes

I don’t want to spam this thread with constant updates as new Decker releases roll out, but apart from the regular stream of bugfixes and performance/usability improvements, here’s a concise summary of notable new features released over the previous six months:

  • v1.61:
    • all widgets now support a .pattern attribute to control their pattern/background color
  • v1.62:
  • v1.64:
    • better image compression; many real-world decks are halved in size or better
    • the keystore interface is now a general-purpose mutable dictionary type
    • new Lil unary operators: trim, ceil, rev, distinct
    • all about transitions interactive tutorial
  • v1.66:

If anyone is looking for an excuse to try Decker out, there are currently two “jams” going on, organized by members of the Decker community:

6 Likes

Another annual progress/community highlights summary:

http://beyondloom.com/blog/fouryearsdecker.html

3 Likes

Has anyone tried porting / using Decker on something like an e-ink tablet? The recent thread about Sitelen Ilo made me think of other e-ink uses, and Decker could be quite cozy on such a device, especially with its visual aesthetic. I imagine it would take some work to adapt output to appear smooth on e-ink displays, handle touch input, etc., but it sounds like a fun project! :nerd_face:

1 Like

I think there’s definitely potential there!

Decker is already designed to accommodate touchscreen tablets; if you toggle on touch-mode it offers a visual keyboard, selection handles are enlarged, swipe gestures can be used as an alternative to keyboard controls for navigating through decks, etc:

I don’t have any e-paper devices, but I regularly test Decker on my OLPC XO-4, and it looks pretty good with the display in transflective mode:

2 Likes

I just tried the “Decker Tour” in Fennec (a derivate of Firefox for Android) on my Onyx Boox Note 2 (2019, so not the latest e-ink generation). Works fine as far as I can tell, but a bit too small comfortable reading unless I go “Fullscreen”. “Touch input” is pre-selected. The on-screen keyboard works fine. I didn’t do much with it, but it looks very usable.

2 Likes

Using Hypercard in grade school was my first Malleable system experience so I want to like Decker, but the limitation of DeckRoman makes me uncomfortable.

How are non-roman characters handled? Are there ways of swapping the character set at runtime?

I agree it would be more globally inclusive if a wider range of characters were supported… There appear to be recurring questions on this in the Decker community forum. From past replies, @johnearnest seems mainly concerned about the complexity and size it would add to Decker… Perhaps there’s some way to control for that if it were an optional add-on or similar, but I suppose an add-on concept also brings its own complexity too.

I’m very sympathetic to the accessibility shortcomings of DeckRoman’s tradeoffs.

I consider it important that Decker have maximally consistent appearance and behavior on every platform it supports, which means I cannot defer to inconsistent platform-provided fonts or text layout/shaping/rendering routines.

The size of web-decker is also an important consideration, since a copy of the runtime is distributed with most decks. Presently this runtime is under half a megabyte, but including even a single bitmapped font with a full range of monospaced unicode glyphs would make web-decker many times that size for every published deck. Decker does extensively support “rich text” which can reference any number of fonts. Making new bitmapped fonts is fairly straightforward and accessible, and some Decker users have published decks with custom fonts for languages that are not part of the DeckRoman character set, though this doesn’t address text input challenges.

I don’t currently have a good design for “pluggable” language support extensions. It’s an area with significant room for improvement.

1 Like

After reading more I’m fine with this now. My only nitpick is the phrasing of the constraints could be better. Written language is obliviously complicated and we should remember that the complications don’t begin or end in the software.