Pikchr

GIF to Pikchr conversion critique: encode10.gif
Login

GIF to Pikchr conversion critique: encode10.gif

(1) By Warren Young (wyoung) on 2020-09-30 08:49:20 [source]

I converted this: https://fossil-scm.org/fossil/doc/5251d44f3a35ae/www/encode10.gif

to this:

Target Processed Gap → Insert Common → Copy Window Base Slide Origin Signature
TARGET: [
       down
       "Target" bold
       box fill palegreen width 150% height 200% "Processed"
   GI: box same as first box fill yellow height 25% "Gap → Insert"
   CC: box same fill orange height 200% "Common → Copy"
    W: box same as GI fill lightgray width 125% height 200% "Window" bold
       box same as CC height 125% ""
       box same fill white ""
]

[ "Base"  bold ; right ; arrow 33% ] with .e at TARGET.GI.nw
[ "Slide" bold ; right ; arrow 33% ] with .e at TARGET.W.nw

ORIGIN: [
       down
       "Origin" bold
   B1: box fill white
   B2: box fill orange height 200%
   B3: box fill white  height 200%
] with .nw at 0.75 right of TARGET.ne
   
arrow from TARGET.W.e to ORIGIN.B2.w "Signature" aligned above

Is this good, sensible, and idiomatic, or does it look like babble to people who actually speak PIC? :)

By the way, the raw hyperlink above is because there is no "fossil" interwiki tag here. With it, I could have placed the old GIF image inline directly.

(2) By drh on 2020-09-30 09:42:14 in reply to 1 [link] [source]

I think the PIC code looks great. And the resulting diagram is way better than the original GIF (which was presumably generated using a point-and-click drawing tool of some kind.) What's not to like here? This seems like a great example to demonstrate the power and utility of PIC/Pikchr.

(3) By Andreas Kupries (akupries) on 2020-09-30 16:13:17 in reply to 2 [link] [source]

I believe that the original is one of my pictures, from when I documented fossil's delta compression ages ago. I actually do not remember any-more how I created the original. It may very well have been a point-and-click tool.

I like the re-imagining in PIKchr as well.

Thanks to Warren for doing this.