Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander K committed Mar 16, 2024
1 parent 01947e5 commit 9ebb210
Show file tree
Hide file tree
Showing 16 changed files with 553 additions and 344 deletions.
14 changes: 12 additions & 2 deletions Days.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ def self.make name:, grid: , focus: false
num_i = 1
'Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ Ⅺ Ⅻ'.chars.each { |c|
next if c =~ /\s/
p [num_i, c]
number_mapping[num_i.to_s] = c
num_i += 1
}
Expand Down Expand Up @@ -143,6 +142,17 @@ def self.make name:, grid: , focus: false
w = 1 #0.5
c = 0

one = BS::LinesGrid.new
one.xs *(0..12).flat_map { |x| [x, x+0.5] }
one.ys *(4..15).flat_map { |x| [x, x-0.5] }
one.y_range 3, 15
focus_bg.push one

one = BS::LinesGrid.new
one.ys *(0..3).flat_map { |x| [x, x-0.5] }
one.x_range 0, 12
focus_bg.push one

one = BS::LinesGrid.new
one.xs 0, 3
one.ys *5.times.map { |i| 15 - i * 3 }
Expand Down Expand Up @@ -191,7 +201,7 @@ def self.make name:, grid: , focus: false
months[i] = month
month.generate do
page.tag = :day
draw_grid.call bg.take
# draw_grid.call bg.take
focus_bg.render_lines
have_numbers.call

Expand Down

0 comments on commit 9ebb210

Please sign in to comment.