Creating Impact Frames Programmatically With Python

Поделиться
HTML-код
  • Опубликовано: 23 дек 2023
  • The often-unsung heroes of the animation medium - Impact Frames - are something I’ve always taken an interest in. And to better my understanding of them while involving my other interest - programming, I decided to try my hand at auto generating impact frames programmatically, as well as automatically finding the best locations to insert them in any provided clip (and I mean ANY kind of clip).
    Using Python and OpenCV for image processing, motion detection and managing of videos, I embark on a brand new adventure, trying to unravel the mysteries of such an underrated technique, trying to shine light upon it - with a classic twist, of course.
    Github repo: github.com/icitry/ImpactFrame...
    Anime used in the intro sequence, as they appear:
    Jujutsu Kaisen
    Arcane
    One Piece
    Fire Force
    One Punch Man
    My Hero Academia
    One Piece (2)
    One Punch Man (2)
    One Piece (3)
    Mob Psycho 100
    Fire Force (2)
    My Hero Academia (2)
    Fire Force (3)
    Demon Slayer
    My Hero Academia (3)
  • НаукаНаука

Комментарии • 50

  • @BigYous
    @BigYous 6 месяцев назад +42

    Dynamic insertion of animation techniques like this would be perfect for a stylized video game. Matter of fact, I think Street fighter did something like that but only for a specific move.

    • @icitry
      @icitry  6 месяцев назад +12

      Oh that's awesome, didn't know about that! What a cool idea, integrating it into a game didn't even cross my mind 😄

    • @Alatsno
      @Alatsno 6 месяцев назад

      @@icitry Ive seen some random games on Roblox of all places using Impact Frames and they look amazing

    • @attolisarheil1102
      @attolisarheil1102 6 месяцев назад +1

      Guilty Gear: Strive does impact frames very well.

  • @Staninna
    @Staninna 6 месяцев назад +27

    I would like to thank the RUclips algorithm for leading me to your channel. Your content is perfect for me. Keep doing what you are doing.

    • @icitry
      @icitry  6 месяцев назад +3

      I'm extremely glad to hear that, thank you so much for the kind words! ❤️

  • @Astryca
    @Astryca 6 месяцев назад +17

    Interesting to see this from a programmers perspective! When i draw out impact frames i just rely on my good old friend "visual communication". There is a list of things that make images passive or active. Usually before a big hit its relatively a lot more passive than when the hit lands, giving impact. One of the important things to include in impact frames are sharp diagonal shapes and high contast. A lot of anime is also animates on 3's (showing the same frame for three frames), but on impact they sometimes switch to 1's and 2's

    • @Astryca
      @Astryca 6 месяцев назад +3

      Also, contrast is key! If you use the same impact frame formula too many times, it dulls the effect

    • @icitry
      @icitry  6 месяцев назад +5

      Oh that's such an interesting insight, thank you so much for shining light on this, many of these pointers wouldn't come to me naturally. An artist's perspective really is something else 😄 And oh yeah, I definitely wouldn't use this too many times, it was starting to get repetitive really fast, which makes me appreciate the real deal even more

  • @samekong5519
    @samekong5519 6 месяцев назад +5

    probably a bit late, but the youtuber Drew Malou made a 40min video classifying and analyzing impact frames specifically because there were no resources on it, it's called "Impact Frames"

    • @icitry
      @icitry  6 месяцев назад +3

      Oh really? That sounds awesome, I'll definitely check it out, thanks for the recommendation! 😄

  • @ozymandiasthesaltylobster8207
    @ozymandiasthesaltylobster8207 6 месяцев назад +6

    bro this video is SO well made, i am absolutely dazzled by how enjoyable this was to watch

    • @icitry
      @icitry  6 месяцев назад +1

      I'm extremely happy to hear you enjoyed it, thank you so much! ❤️

  • @pedromrls6
    @pedromrls6 2 месяца назад +2

    The algorithm came in clutch with this channel

    • @icitry
      @icitry  2 месяца назад +1

      All hail the algorithm o7

  • @michaelepica3564
    @michaelepica3564 6 месяцев назад +7

    Bro how are you so underrated?

    • @icitry
      @icitry  6 месяцев назад +6

      Better than overrated yk 😅

    • @michaelepica3564
      @michaelepica3564 6 месяцев назад +3

      @@icitry Lol, makes total sense. big inspiration to me to stop being lazy and work on some projects (been coding for like 5 years and i legit am stuck in the cycle of start a project, get bored start another one)

    • @icitry
      @icitry  6 месяцев назад +4

      Oh yeah, I totally feel you. I think we all go through that every once in a while - better to try to have fun instead of forcing yourself - if you learn something from it, that's all that matters - at least that's how I always try to see it 😄

  • @ideasaboutthings8857
    @ideasaboutthings8857 6 месяцев назад +3

    this was amazing. happy to be an early subber

    • @icitry
      @icitry  5 месяцев назад +1

      Thank you so much! 😊

  • @tynirio_1
    @tynirio_1 6 месяцев назад +3

    My guy, I think you'll do Fantastic on YT. I haven't seen anything else yet, but I hope everything else has your spirit put into it, Good job👍

    • @icitry
      @icitry  6 месяцев назад +1

      Thank you so much! It's still a learning experience, but I try to improve with every video to best convey my passion for programming 😄

  • @AresExplains
    @AresExplains 6 месяцев назад +3

    Great Video! Cant wait to see what you make next!

    • @icitry
      @icitry  6 месяцев назад

      Thank you, I'm really glad you enjoyed it! 😊

  • @excal1373
    @excal1373 6 месяцев назад +2

    one of the few times the youtube algorithm does what its supposed to do. sharing around so that more people can see this stuff

    • @icitry
      @icitry  6 месяцев назад

      😅 Thanks youtube I guess. But in honesty thank you so much for the kind words, they mean a lot to me!

  • @thelostboys8058
    @thelostboys8058 5 месяцев назад

    keep it up big bro ur the best

    • @icitry
      @icitry  5 месяцев назад

      Tyty, I will 😄

  • @victordayet
    @victordayet 6 месяцев назад +1

    Great video, keep it up!

    • @icitry
      @icitry  6 месяцев назад

      Thanks! 😄

  • @airdropselenium1948
    @airdropselenium1948 6 месяцев назад +1

    so sick!

    • @icitry
      @icitry  6 месяцев назад

      Glad you enjoyed it! 😁

  • @amritaanshbhandari6199
    @amritaanshbhandari6199 6 месяцев назад +1

    high quality channel

    • @icitry
      @icitry  6 месяцев назад

      Thank you

  • @Sammysapphira
    @Sammysapphira 6 месяцев назад +1

    Impact frames and more general artistic techniques in live action would be incredibly cool. Its what marvel generally lacks in my opinion.

    • @icitry
      @icitry  6 месяцев назад

      ikr? I always thought they should go in a more comics style direction - realistic and gritty can only work for so long. I can't even think of too many movies outside of like Scott Pilgrim vs The World going all out on fun stuff and creative techniques like these in live action, which is a shame..

  • @nicks4727
    @nicks4727 6 месяцев назад +1

    209k subscribers and 675k views sounds about right... oh wait what?!

    • @icitry
      @icitry  6 месяцев назад

      What's one measly letter, they must've forgotten about it yk 😄

  • @bric8619
    @bric8619 6 месяцев назад +1

    Da Goat 🐐

    • @icitry
      @icitry  6 месяцев назад

      🐐🐐

  • @zim_the_vixen
    @zim_the_vixen 6 месяцев назад +1

    We don't know if we missed it, but we'd love to know what anime the clips used came from. Want to watch them.

    • @icitry
      @icitry  6 месяцев назад +1

      Just added them to the description, in order of appearance 😊 Also the clip I tested the tool on is from Jujutsu Kaisen

    • @zim_the_vixen
      @zim_the_vixen 5 месяцев назад

      Hey we're sorry but. We don't think it worked? We don't see them there. Thank you though!

    • @icitry
      @icitry  5 месяцев назад

      ​@@zim_the_vixen Hmm, that's weird, I just checked from another account and it was present - at the end of the description. But in any case, the list is, in order:
      Jujutsu Kaisen
      Arcane
      One Piece
      Fire Force
      One Punch Man
      My Hero Academia
      One Piece (2)
      One Punch Man (2)
      One Piece (3)
      Mob Psycho 100
      Fire Force (2)
      My Hero Academia (2)
      Fire Force (3)
      Demon Slayer
      My Hero Academia (3)

  • @zakinnamis5577
    @zakinnamis5577 6 месяцев назад +2

    Bro said underrated and then proceeded to show it in some of the most well rated anime lmao

    • @icitry
      @icitry  6 месяцев назад +1

      Well that's the interesting dichotomy that highlighted it for me 😅 Many successful shows use it, but it generally is overshadowed by continuous dynamic sequences, ingenious transitions or extremely detailed frames, even though I think it contributes just as much to the overall experience as those other techniques

    • @zakinnamis5577
      @zakinnamis5577 6 месяцев назад

      @@icitry ah I see

  • @jimmygore8214
    @jimmygore8214 5 месяцев назад +1

    Whats your github?

    • @icitry
      @icitry  5 месяцев назад

      It's icitry (I use my personal account for management and when I consider a project done, I push it to the channel related one). Currently there is only the code for the first 2 videos, but I'll soon update with later ones as well.