Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fortio/tclock
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.11.1
Choose a base ref
...
head repository: fortio/tclock
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.12.0
Choose a head ref
  • 1 commit
  • 4 files changed
  • 2 contributors

Commits on Oct 12, 2025

  1. -analog for analog clock hands (#55)

    * adding -analog flag and a bunch of functions to draw hands
    
    * moving analog functions to analog.go file + putting the other disc drawing func inside conditional + merging main branch into this one to update
    
    * splitting up big calc angle function
    
    * generalize drawline usiing laurent's function but return a set of coords instead of drawing onto img
    
    * center offset by 1
    
    * Use the default disc and allow configurable face color and code simplification
    
    * Working centered now
    
    * apple needs reset
    
    * Fractional hour/min for truer analog and better default colors
    
    * use a single pass to avoid erasing of hands
    
    * tweak color and size to look ok on 80x24
    
    * transparent analog
    
    * minor tweak
    
    * no-seconds applies to analog too. add to readme/update flags
    
    * advance hour even smoother
    
    * add to examples
    
    ---------
    
    Co-authored-by: Geoffrey White <[email protected]>
    ldemailly and geofpwhite authored Oct 12, 2025
    Configuration menu
    Copy the full SHA
    d2d640d View commit details
    Browse the repository at this point in the history
Loading