klimeryk / recalendar.js

ReCalendar - create your personalized calendar PDF for ReMarkable tablets
https://recalendar.me/
GNU Affero General Public License v3.0
262 stars 63 forks source link

Support for Dotted Itinerary Pages #103

Open dhlogan opened 11 months ago

dhlogan commented 11 months ago

Dotted pages are my preferred background as I do alot of mindmaps as I'm creating my notes. Would love to have dotted pages instead of the lined pages if at all possible. Great work on this! Many thanks!

gmg commented 10 months ago

I've made an attempt at this. Very rough at this stage, but you can see the results below. I have created the dots using a View component, 2*2 with 50% border radius and horizontal margins. I don't know if this is the best approach, but it seems to work OK. I do wonder about how well optimised it is to PDF rendering.

My code is probably horrible and is definitely incomplete, so I will not be submitting a PR for now. There is a link to the code below though, if someone wants to help finish it off.

What I have done:

What still needs to be done:

Here is a gist with the code: https://gist.github.com/gmg/240243b785c2b8041147fc321275d820

Here is what it looks like: recalendar-dotgrid

gmg commented 10 months ago

I have now added the required UI elements and connected it to the Itinerary drawing component.

I have submitted this as a pull request here: https://github.com/klimeryk/recalendar.js/pull/107