Email or username:

Password:

Forgot your password?
Top-level
eieio

@dragestil lol!

But really: does emacs have good ways to animate stuff within the editor? I guess it must because it's gotta have some way to have a background thread running and updating what's displayed in the editor.

I was thinking last week about how I'd do this in vim and realized that I almost certainly couldn't do it just with macros, which briefly surprised me.

2 comments
DELETED

@eieio all it needs is a timer which is available in elisp (I'd write a flappy-dired this weekend if someone promises me a spot on HN front-page ;). Also there are already games with animations like Tetris and even slimevolleyball in the official emacs package repository, GNU ELPA. Give it a try :)

eieio

@dragestil Ah! Yes, a timer and yielding to the editor would do it.

I will say that with these projects I've been trying to avoid things that are *too* straightforward / too much like typical programming, so we might need to find another constraint :D

Go Up