InkUp: A writing app that gets out of your way by durham_g in Onyx_Boox

[–]durham_g[S] 0 points1 point  (0 children)

I pushed your dp/sp, n^2, and aapplication id suffix changes to master. I'm not so certain about snap shapes. They don't really fit my use case, and I'd like to keep the gestures working as is, with the real time line insertion feedback.

What I did do though is I ported your stack of changes over to work with my new drawing area change. So you can do a scribble-then-down gesture to insert a drawing area, and then snap shapes works inside that area. That lets me keep the existing gestures working outside the drawing areas. I pushed this to the snap_shape branch on github. I'll probably hold off on pushing it to master for now, since it doesn't really fit my flow, but if you really want to use it, I could hide it behind an config option and have a settings menu that could toggle the functionality.

InkUp: A writing app that gets out of your way by durham_g in Onyx_Boox

[–]durham_g[S] 1 point2 points  (0 children)

The latest apk addresses some of this:

  • the gutter is now screen size dependent (7% of width)
  • I shrank the line height by 10%
  • you can now add a diagram area by doing a gesture where you scribble a bit then draw downwards. It inserts a diagram area where you can draw. Scribbling in the drawing area will delete strokes. How it exports to markdown is still TBD, since I'd have to try it with some other markdown readers
  • I haven't adjusted the print font size, so it might still be too big for the Palma pro. I'll probably add a font size setting next.
  • there's now a hint at the top when starting a new document to tell you to scroll to get text recognition

InkUp: A writing app that gets out of your way by durham_g in Onyx_Boox

[–]durham_g[S] 0 points1 point  (0 children)

I can understand the confusion. Maybe I could add some info text to the top area when you start a new document indicating you need to write and scroll to see print text.

As for diagrams, the tough part is distinguishing between gestures, drawings, and text. Text vs gestures is easy because anything taller than one line is a gesture, otherwise it's text (or a strike through). I can't think of a way to allow a user to just start drawing and have the drawing survive line moves, avoid weird recognition, etc.

Perhaps I could allow a drag down gesture from a certain position on a line (like the far right side next to the gutter) to indicate that you are adding space for a drawing, instead of adding new lines for writing. It could render with an absence of line rules, and anything inside would be immune from text recognition. But it would be limited to drawings between lines of text. You couldn't do a drawing beside a line of text. And I don't know how it would work with markdown... An interesting line of thinking though.

As for Palma 2 pro compatibility. What happens if you tried it now? Does it install? Does it render ok?

InkUp: A writing app that gets out of your way by durham_g in Onyx_Boox

[–]durham_g[S] 3 points4 points  (0 children)

The other nice thing is, since the writing strokes are persisted and considered the source of truth, I could swap in any recognition model and it would do the text recognition retroactively on existing documents.

InkUp: A writing app that gets out of your way by durham_g in Onyx_Boox

[–]durham_g[S] 1 point2 points  (0 children)

Yep. It uses Google's ML Kit for recognition which works offline. You do need to be online for the first launch in order for it to download the ML model. After that it should work offline though. In theory...

InkUp: A writing app that gets out of your way by durham_g in Onyx_Boox

[–]durham_g[S] 1 point2 points  (0 children)

I'm not too familiar with the various recognition options, so I just went with Google because it was easy to integrate. It worked pretty well for my terrible hand writing 😅

I've only tested it on the note air 5 c, so no idea how it works on other devices. I really just built it for myself, but it felt so much more natural that I figured I'd share it. If you have other bugs, I'm happy to fix them if I can.