17 Dec 2023
Using Clerk to plan bikepacking events
I have been experimenting with Clerk to build a tool I can use to study different strategies for Venetogravel 2024. Inputing parameters such as the distance I have to cover, the average speed I think I can maintain during the event, and how I intend to distribute the effort over several days, I can obtain a diagram. It's a work in progress, here what I got so far:
(def plan-start-19
{:description "Starting on April 19th"
:daily-plans [{:label "Day 1"
:activities [{:start "15:00" :length 6 :type :ride}]}
{:label "Day 2"
:activities [{:start "07:00" :length 5 :type :ride}
{:start "17:00" :length 3 :type :ride}]}
{:label "Day 3"
:activities [{:start "08:00" :length 6 :type :ride}]}]})
which results in
To do:
- integrate data from GPX files (altitude is fundamental)
- learn how to rotate entities with SVG (transformations seem to work in the least intuitive ways)
Tags: