Commit Graph

687 Commits

Author SHA1 Message Date
Kartik K. Agaram
5e39aea97d revert: back to freehand 2022-05-14 11:59:54 -07:00
Kartik K. Agaram
e3eac12f85 switch from freehand to just straight lines 2022-05-13 20:42:00 -07:00
Kartik K. Agaram
79bbda9e48 store device-independent coordinates inside drawings 2022-05-12 08:29:57 -07:00
Kartik K. Agaram
2e0929fab4 slightly tweak boundary between concerns 2022-05-12 08:29:00 -07:00
Kartik K. Agaram
07e2b7b897 fix a typo 2022-05-12 08:27:41 -07:00
Kartik K. Agaram
eef22f4242 make space for multiple kinds of width 2022-05-12 07:55:14 -07:00
Kartik K. Agaram
d42be8e613 fix 2 bugs in line selection 2022-05-11 22:48:53 -07:00
Kartik K. Agaram
fbba31ff7a turn strokes into horizontal and vertical lines 2022-05-11 22:35:36 -07:00
Kartik K. Agaram
ccf7ecc502 refactor 2022-05-11 22:29:21 -07:00
Kartik K. Agaram
61292c439b simplest possible way to straighten strokes 2022-05-11 22:27:47 -07:00
Kartik K. Agaram
91fe5cd980 more lightweight; select just the stroke at the mouse 2022-05-11 22:15:54 -07:00
Kartik K. Agaram
5011395bf1 selecting a stroke 2022-05-11 22:01:51 -07:00
Kartik K. Agaram
e83f219107 bugfix: restrict strokes to the drawing they started in 2022-05-11 21:57:36 -07:00
Kartik K. Agaram
4850e78568 reorg 2022-05-11 21:55:06 -07:00
Kartik K. Agaram
83b893df8c spacing 2022-05-11 21:54:45 -07:00
Kartik K. Agaram
a405f9e777 inline 2022-05-11 21:52:57 -07:00
Kartik K. Agaram
1ff2711fd9 rename 2022-05-11 21:52:09 -07:00
Kartik K. Agaram
ba0d0028ea clean up repl functionality
Now we have separate keywords for returning vs drawing something.
2022-05-11 13:12:13 -07:00
Kartik K. Agaram
d8e5a1ce12 clip drawings inside the border 2022-05-11 13:01:13 -07:00
Kartik K. Agaram
3bc61ed13f lighter border for figures 2022-05-11 13:01:13 -07:00
Kartik K. Agaram
475bbd70ef intermingle freehand line drawings with text 2022-05-11 13:01:13 -07:00
Kartik K. Agaram
3019442c02 confirm that we have access to all of the love API
love.graphics.line(1, 1, 500, 500)

However, we're now no longer printing results or errors. Time now to
design the data model. When do we (re)evaluate code. When do we display
results. Where do errors go.
2022-05-02 08:37:04 -07:00
Kartik K. Agaram
4ad1cc4b54 don't rely on defaults 2022-05-02 08:32:31 -07:00
Kartik K. Agaram
0230726813 backspace 2022-05-02 08:28:33 -07:00
Kartik K. Agaram
4aa2003c94 handle chords
For shift we'll mostly rely on love.textinput. For the rest I've created
a simple driver.
2022-05-02 08:24:24 -07:00
Kartik K. Agaram
57d87f2353 little Lua repl on hitting ctrl-r 2022-05-02 07:23:36 -07:00
Kartik K. Agaram
a501b5ea23 ctrl- and alt- combinations 2022-05-02 06:59:41 -07:00
Kartik K. Agaram
886717f51f handle space key
We're going to run into a few of these..
2022-05-01 23:35:15 -07:00
Kartik K. Agaram
32eed397e7 note card 2022-05-01 23:34:36 -07:00
Kartik K. Agaram
7768e8eb76 show cursor 2022-05-01 23:34:25 -07:00
Kartik K. Agaram
51eb86c673 love2d scaffold 2022-05-01 21:56:08 -07:00
Kartik K. Agaram
36a1e17896 . 2022-04-25 22:24:26 -07:00
Kartik K. Agaram
a200d713ef extract a function 2022-04-25 22:21:47 -07:00
Kartik K. Agaram
8fb1885348 stop mixing ncurses with print 2022-04-25 22:19:04 -07:00
Kartik K. Agaram
dfd67aed3c copy how Lua 5.3 REPL prints expr values 2022-04-25 22:10:20 -07:00
Kartik K. Agaram
45508a440f repl 2022-04-25 22:08:28 -07:00
Kartik K. Agaram
6762fac7db somebody stop me 2022-04-25 20:20:29 -07:00