home.social

#pencilkit — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pencilkit, aggregated by home.social.

  1. Ruler now incorporates this secret third state. Transient masks are used to block pencil strokes from impacting the sheet and the underlying canvas. In English: a pencil can no longer draw under the ruler. The ruler behaves like an object in the real world!


    #PencilKit #BuildInPublic #LetterSet #swiftui

  2. Now I have a third state within masking. Throughout the app, I have to track:
    -the current #PencilKit stroke
    -the sum of all strokes
    -the boundary of letters that have been tapped

    I track these in two ways, as the shape of the above as it applies to the sheet is different vs its orientation to the canvas. Then add undo history across both.

    Now: the idea of a transient object that blocks transfer to the canvas, but doesn’t impact the cumulative sheet mask.

    #BuildInPublic #LetterSet #swiftui

  3. Day 22 (which was yesterday) and day 23 of #100DaysOfAppDev were filled with some good progress. I am able now to do simple doodles, persist and sync them. Now on to the nitty gritty details of managing #PencilKit.
    I love that Apple provides us with stuff like that 🤗
    #buildinpublic