Treemap Viewer, part 3

Ойындар

Further work on the treemap viewer, including a terrible slog when I was very weaksauce about debugging some arithmetic.
00:00:00 Beginning.
3:19:48 The Bug Slog
3:50:55 Chat Noticed the Dumb Bug (Finally!)
3:53:22 It Works!

Пікірлер: 13

  • @UncoveredTruths
    @UncoveredTruths Жыл бұрын

    love the sound effects

  • @julesjacobs1
    @julesjacobs1 Жыл бұрын

    One thing that might be helpful here is that log(max(x/y, y/x)) = abs(log(x) - log(y)).

  • @Realspace2
    @Realspace2 Жыл бұрын

    Only got to 2:19:41 so you may have fixed this later (will catch up with the videos over the next few days!), but I think the neater way to phrase the comparisons of aspect ratios would be to start with something like: max(x1, y1)/min(x1, y1)

  • @Realspace2

    @Realspace2

    Жыл бұрын

    A further thought on the algorithm: I don't think you want to set horizontal to !horizontal when you accept a group - the choice of which direction to try and lay out the next group should be based on the aspect ratio of free_size i.e. similar to the initial choice of direction for the root; you want to start the new group with a single rectangle which has one edge which is the shorter edge of the free_size

  • @DMWatchesYoutube
    @DMWatchesYoutube4 ай бұрын

    Now is a good time to stop.... continues for almost an hour. Dedication

  • @Rastoropny
    @Rastoropny Жыл бұрын

    Hey Jonathan! You're a genius. Do you work on a new game? Or now you're working only on these small fun projects?

  • @boxingexpert9065

    @boxingexpert9065

    Жыл бұрын

    was about to say the same

  • @willfrancis3019

    @willfrancis3019

    Жыл бұрын

    He's working on a huge sokoban puzzle game using the same language

  • @KitsuneAlex

    @KitsuneAlex

    Жыл бұрын

    He is working on a game currently called Sokoban afaik, but he still does small weekend projects like this :D Very nice ^w^

  • @boxingexpert9065

    @boxingexpert9065

    Жыл бұрын

    @@KitsuneAlex any idea when it's coming out?

  • @KitsuneAlex

    @KitsuneAlex

    Жыл бұрын

    @@boxingexpert9065 Honestly i have no clue, but i know there's _some_ way to be enlisted for the beta already. Randy, another YT game dev got access to it too.

Келесі