How to Make Beautiful Code Presentations

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025

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

  • @David_Lloyd-Jones
    @David_Lloyd-Jones 2 года назад +377

    "This will probably be a ten-to-fifteen-minute video" he says at the beginning.
    Translation: "I haven't thought this thing through, let alone scripted or rehearsed it. I'm just going to sit here and yap off the top of my head and you all out there get to lap up my random wisdom."

  • @rid9
    @rid9 2 года назад +110

    For those wondering, Keynote does have this feature. It's a transition called "Magic Move" and it can match objects, words or characters.

    • @andrerenault
      @andrerenault 2 года назад +5

      It's had it for quite some time now, too. I remember playing with it in high school, and that was many moons ago.

    • @casperes0912
      @casperes0912 2 года назад +6

      In fact, Keynote had it first

    • @ko-Daegu
      @ko-Daegu Год назад

      @@casperes0912 what’s keynote ?

    • @PhilippeCarphin
      @PhilippeCarphin Год назад

      @@ko-Daegu It's Apple's PowerPoint.

  • @DavidHurtadoToran
    @DavidHurtadoToran 2 года назад +166

    If you are changing one logo for another, just copy the new one, right-click in the old logo, “Change Image” -> “From Clipboard”. It maintains the size :-)

  • @madhukiranattivilli2321
    @madhukiranattivilli2321 2 года назад +51

    "One Dark" is a very attractive vs code theme
    I code in java. To illustrate the beauty of this theme... it gives different colors for :
    -- local variables (white)
    -- class level variables (orangish-red)
    -- method parameters and final local variables (light brown)
    -- keywords (violet)
    -- method names (sea blue)
    -- data types (mustard)

    • @vaisakh_km
      @vaisakh_km 2 года назад +3

      you code in java means....
      you already lost viewers because not everyone have wide screen monitors..... :)

    • @madhukiranattivilli2321
      @madhukiranattivilli2321 2 года назад +5

      @@vaisakh_km U seem to be confused. Check ur msg again
      I'm not the owner of this channel. I'm visitor, just like u.

    • @Mavhawk64
      @Mavhawk64 2 года назад +5

      @@madhukiranattivilli2321 they’re just trying to be mean. There are plenty of Java programmers in the world to have a good enough following on RUclips.

    • @madhukiranattivilli2321
      @madhukiranattivilli2321 2 года назад +1

      @@Mavhawk64 I said "I code in java" coz "one dark" theme feels beautiful for a java program. This need not necessarily be true for any programming language

    • @madhukiranattivilli2321
      @madhukiranattivilli2321 2 года назад

      @@vaisakh_km I said "I code in java" coz "one dark" theme feels beautiful for a java program. This need not necessarily be true for any programming language

  • @vintagewander
    @vintagewander 2 года назад +51

    I thought you use manim for this because it really has this manim transition style to it, and to my surprise I never thought powerpoint can do this, awesome video

  • @f4614n
    @f4614n 2 года назад +25

    This video motivated me to start out learning manim a bit. You can achieve more or less the same with the following code (assuming the embedded code is defined somewhere in string form under the variable names code_i and code_f):
    class CodeFromString(Scene):
    def construct(self):
    rendered_code_i = Code(code=code_i, tab_width=4, background="window",
    language="c++", font="Monospace")
    rendered_code_f = Code(code=code_f, tab_width=4, background="window",
    language="c++", font="Monospace")
    self.play(Create(rendered_code_i))
    self.play(Transform(rendered_code_i, rendered_code_f))
    self.wait()

    • @JosueRodriguez08
      @JosueRodriguez08 2 года назад +1

      Ohhhhhhhhh this is greaaaaaat. Really dislike depending on Microsoft for stuff, I'll give this a try.

  • @Dogflamingo
    @Dogflamingo 2 года назад +7

    That morph transition goes hard 🔥🔥🔥

  • @RecursionIs
    @RecursionIs 2 года назад +18

    Morph transition 🔥

  • @centis4533
    @centis4533 2 года назад +57

    You can be the brand ambassador of Microsoft Office suit... You provide the best example instead of the basic examples from Microsoft.

    • @rutabega306
      @rutabega306 2 года назад +8

      Seriously, I half considered buying a MS product haha

    • @adityakhanna113
      @adityakhanna113 4 месяца назад

      ​@@rutabega306 I'd want to just get PowerPoint. It's such a powerful software

  • @ynchen
    @ynchen 2 года назад +1

    Didn't expect this to be this easy. This is great

  • @solitary_crow
    @solitary_crow 2 года назад +4

    You can generate slides using racket slideshow too. It's a DSL that can be used to make presentations using lisp.

  • @boukefmohamed3191
    @boukefmohamed3191 2 года назад +1

    do you know i spent a week to searching for that !!! THANK YOUUU

  • @afmikasenpai
    @afmikasenpai 2 года назад +1

    Wow... I never knew I needed this. Great video as always !

  • @DavesGarage
    @DavesGarage 2 года назад

    Thanks for sharing! I would not have guessed Powerpoint...

  • @bzboii
    @bzboii 2 года назад +2

    I like how you changed the prev video to point the arrow from haskell back to rust as opposed to how you have it here with rust pointing to haskell

    • @code_report
      @code_report  2 года назад +2

      Wasn't sure anyone would notice that 😊 Great catch

    • @bzboii
      @bzboii 2 года назад +1

      @@code_report this is like your east west const slide trivias

  • @brian-bed
    @brian-bed 2 года назад +2

    absolutely lovely :)
    gives me motivation to make my own programming videos

  • @imxd9698
    @imxd9698 2 года назад +1

    code went from a simple and easy to understand for loop to the most complex "clever" code I've seen in a while lol

    • @ji1046
      @ji1046 2 года назад

      I'm really hoping the refactoring is a joke or parody but it's probably not...

  • @volshebnikozz
    @volshebnikozz 2 года назад +8

    Free online version of PowerPoint has these tools too. (Although UI is a bit different and not 100% of things are available online)

    • @avidrucker
      @avidrucker 2 года назад +3

      This is super useful to know, thanks!

    • @229ac88b
      @229ac88b 2 года назад

      This!! You can get some pretty decent mileage out of the free version of office, and most people don’t even know it exists.

    • @nirajkhatiwada6696
      @nirajkhatiwada6696 2 года назад

      Only problem is you cannot export as a video.

  • @amirgamil
    @amirgamil 2 года назад

    That was awesome! Thanks for that. You, sir, are a master of your craft! 👏

  • @Henry-mc5yq
    @Henry-mc5yq 2 года назад +2

    The real best programing language, PowerPoint

    • @Henry-mc5yq
      @Henry-mc5yq 2 года назад

      ruclips.net/video/_3loq22TxSc/видео.html

  • @bjmckenz
    @bjmckenz 2 года назад

    Thanks for leveling me up.

  • @tangentstorm
    @tangentstorm 2 года назад +1

    That's pretty cool! I'm going to have to figure out how to make my presentation tool do this, but in the meantime I may give powerpoint a try for a particular refactoring/golfing video I've had on the back burner.

  • @liautraver3698
    @liautraver3698 Год назад

    i struggled a lot about morph transition in regarding to text but just does not find the `text` option which was built in. this was a KILLER for presentation.

  • @kamalmohamed6611
    @kamalmohamed6611 2 года назад +6

    im gonna start a youtube channel 😀

  • @pmcgee003
    @pmcgee003 2 года назад +13

    Conor's Canadian ... he apologises to powerpoint. 🙂

  • @torarinvik4920
    @torarinvik4920 2 года назад

    A magician revealing his secrets :D, merry christmas to all!

  • @MartinJaniczek
    @MartinJaniczek 2 года назад +1

    "It does objects by default, but for code you typically need words."
    APL has entered the chat

    • @abrudz
      @abrudz 2 года назад +3

      Then you choose "Characters"…

    • @code_report
      @code_report  2 года назад

      😂

  • @lucasa8710
    @lucasa8710 2 года назад

    I like this, pretty smart and concise

  • @husseinamini9026
    @husseinamini9026 Год назад

    Thanks man. I needed it sooo bad

  • @snk-js
    @snk-js 2 года назад

    this is freakin amazing and still very easy dude

  • @goosybs
    @goosybs 2 года назад +1

    I absolutely love the morph effect, it makes for a great presentation. But I find it very dangerous when trying to make awesome presentations because its so easy to introduce too many elements and animations which makes your presentation visually complex and harder to digest. I think using the morph animation of a maximum of 3 big elements at a time is fine but when you are dealing with more elements you should think about splitting it apart bit by bit. Lets say you want to explain 5 lines of code then you could display only 1 line explain it then display another and so on. Then you can use the morph animation to make it cleaner. But don't forget about making your presentation simple cuz that's more important than the looks. You want that the audience understands what you are talking about and not just "be amazed" at your animation skills.

  • @devmahad
    @devmahad 2 года назад

    Thank you!!

  • @CISMarinho
    @CISMarinho 2 года назад

    Great video! Really love it

  • @mikkolukas
    @mikkolukas 2 года назад

    Great, simple solution! :)

  • @LesleyLai
    @LesleyLai 2 года назад +5

    I tried to find such a code-transition solution back in 2019 and I didn't even think about PowerPoint 😅

    • @kaporos
      @kaporos 2 года назад +2

      You can also check revealjs !

  • @vaisakh_km
    @vaisakh_km 2 года назад +3

    i am wondering whether i can make a neovim plugin to show this :) ... you know, with git diffs

    • @primeditor0
      @primeditor0 2 года назад

      But neovim is console TUI application and text editor... is that plugin even possible?! This idea sounds more emacs'ish instead of neovim'ish

  • @pawekoaczynski4505
    @pawekoaczynski4505 2 года назад

    I had no idea this effect is so easy to create c:

  • @nro337
    @nro337 2 года назад +1

    very cool!

  • @ishwargowda
    @ishwargowda 2 года назад +1

    Thanks

  • @wlockuz4467
    @wlockuz4467 2 года назад +6

    Looks super elegant, just wondering how does your PowerPoint maintain the same syntax highlight as VSCode?

    • @cannyaii
      @cannyaii 2 года назад +8

      Vs code is an electron app, so technically you're copy pasting HTML from a browser not just plain text

    • @onebacon_
      @onebacon_ 2 года назад

      I think there's some more magic happening behind the scenes, because if it was just html, than you could see that if you pasted it somewhere else.
      I think vs code saves some extra data to the clipboard when copying, that can be used by programs which support it and ignored by something expecting text.

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

    When I copy the code from vscode, it also copy the background color e.g. if I copy the code, it highlights the code with some background and same background color applied if we paste that code to powerpoint. I don't want this, I only want to copy the code snippet just like you are doing. How can I achieve this ? Please help me out. Thanks in advance.

  • @MartinMarcher
    @MartinMarcher 2 года назад

    Copy the logo, right click on image and then there’s an option to replace from clipboard

  • @oscardasilva971
    @oscardasilva971 Год назад

    Thaaaaaaank you

  • @dzaqwanamir
    @dzaqwanamir 2 года назад

    Great video! What font you use for vs code?

  • @damilolaowolabi9148
    @damilolaowolabi9148 2 года назад +1

    What font are you using?

  • @ChaooCharles
    @ChaooCharles Год назад

    Awesome tip, thank you!

  • @adibhanna
    @adibhanna 2 года назад

    great videos! would love to know how you actually setup your recording tools. (res. and other things)

    • @code_report
      @code_report  2 года назад

      I just use OBS: obsproject.com/

    • @adibhanna
      @adibhanna 2 года назад

      @@code_report really! what monitor res do you use when recording these videos? 1080p?

  • @SergeiKonov-xn5bz
    @SergeiKonov-xn5bz Год назад

    When I copy and paste it from vs code to powerpoint it keeps highlighting but totally ruins formatting. What can be wrong here?

  • @phantuananh2163
    @phantuananh2163 2 года назад

    Impressive!!!

  • @bzboii
    @bzboii 2 года назад

    yessss

  • @Flutterful
    @Flutterful 2 года назад

    I have made Flutter videos on my channel and they look as good as the ones made by Flutter official channel. The only difference is that I used Powerpoint and they use After Effects.

  • @skeletonboxers7336
    @skeletonboxers7336 2 года назад

    my sleep deprived self read this as "how to make pretentious code beautiful"

  • @definite_d
    @definite_d 2 года назад

    Instead of deleting images, I think there's a replace image option in the right click menu of images.

  • @okefejoseph6825
    @okefejoseph6825 8 месяцев назад

    How do I get the logos?

  • @RajeshPandianM
    @RajeshPandianM 2 года назад

    ❤❤

  • @watynecc3309
    @watynecc3309 2 года назад

    can we do that in libreoffice ?

  • @peacemaker42069
    @peacemaker42069 2 года назад

    How do you capture the video afterwards? is it just screen recording?

  • @leofun01
    @leofun01 2 года назад

    Wow. I didn't know that something similar exist in PowerPoint.

  • @winteru388
    @winteru388 2 года назад

    It doesn't copy the indent for me :/

  • @cariyaputta
    @cariyaputta 2 года назад +2

    It'd be great if you only use free and/or open-source tools. Microsoft PowerPoint won't cut it.

    • @mateoferretto2175
      @mateoferretto2175 2 года назад

      This is doable in PowerPoint online, which is free

  • @snk-js
    @snk-js 2 года назад

    genius

  • @alpaslaneldemir6904
    @alpaslaneldemir6904 2 года назад

    Also check RevealJS

  • @sammflynn6751
    @sammflynn6751 2 года назад

    crazy

  • @InMemoryOfNeo
    @InMemoryOfNeo Год назад

    morph transition is good. so is there an animation similar to typeing instead of transition? for example there is a virtual cursor and powerpoint will write different codes when passing to another layer.

  • @FlowerBoyWorld
    @FlowerBoyWorld 2 года назад

    wow it bugs me so much how you just put text boxes anywhere without reference points

  • @mohammadbasyouni7171
    @mohammadbasyouni7171 2 года назад +1

    the first 21st min and the 21st like

  • @fildaCZSK
    @fildaCZSK 2 года назад

    How to make beautiful code presentations 🤓🤓🤓🤓🤓🤓

  • @noqulee
    @noqulee 2 года назад

    Nice content, but your mic is clipping. Try compressor. Have a good one!

  • @xenten9686
    @xenten9686 2 года назад

    I am disappointed in how possible it would be to automate this process and yet it is not done.

  • @leo848
    @leo848 2 года назад +2

    I really like the videos and the style used, but I really don't think it's necessary to use proprietary software here. As far as I know, the free and open-source manim animation library by 3Blue1Brown includes a similar effect and automatically has syntax highlighting via pygments.
    This way, you don't have to rely on some software provided by a company that might, for whatever reason, remove a feature whenever they want. Another benefit is that the entire process can be automated - no need for manually moving code blocks to look more aesthetic, design an algorithm once and use it forever. You can also add post-render scripts like running every file to check if it compiles, format it beforehand and much more - the possibilities are really endless. Or even design a custom morph algorithm if manim's standard one doesn't feel right - again, PowerPoint might change at any point in time and you as a customer have no say in how.
    See the manim library here: github.com/manimcommunity/manim

    • @MartynPS
      @MartynPS 2 года назад +1

      Manim does have a similar effect, but coding from scratch is definitely not a 3 clicks and done process. As is often the case OS can probably do this better but not without investing some additional time and brainpower. As for PowerPoint changing at any time... I would expect the OS software to be more of a risk of changing - and then you have to maintain some older fork.

    • @leo848
      @leo848 2 года назад

      @@MartynPS > I would expect the OS software to be more of a risk of changing - and then you have to maintain some older fork
      Well yes, but at least you have the ability to. It's literally as easy as changing a number in a text file or bash command. With PowerPoint it might not even change, but be locked behind a paywall / further subscription / etc that we can't even think about now (as has happened in the past, when one-time-prices turned to subscriptions and you basically didn't own any software anymore). While writing an algorithm to do this work might be tedious and difficult, it is still a way to future-proof this way of presenting code and maybe even add more options - but it isn't even necessary if great libraries like manim exist that have animations, interpolation and syntax highlighting for free (so you don't even need Microsoft VS Code for it).

    • @MartynPS
      @MartynPS 2 года назад

      @@leo848 but it's a cost benefit or risk balance analysis right? If code_report spends some hours doing something now to achieve something he already has without overtly improving his product then no-one has gained anything - probably the opposite if it takes longer to achieve the final tweaks etc.

  • @kharthigeyan
    @kharthigeyan 2 года назад

    3Blue1Brown type of transitions, no need for python manim library

    • @leo848
      @leo848 2 года назад +1

      What do you mean by "no need for"? Manim is literally so much better than this proprietary program that costs 100$ per year.

    • @f4614n
      @f4614n 2 года назад +1

      @@leo848 I'd like to learn more about Manim - do you know how to achieve similar transitions like shown in this video using Manim?
      Edit: After scrolling a bit through the documentation, the closest I found are the classes in animation.transform_matching_parts for shapes and LaTeX on the animation side of things and manim.mobject.text.code_mobject.Code for code listings. Haven't tried it out yet but it currently doesn't look like a 1:1 equivalent.
      Edit 2: I figured out how to do this in manim (for a practical example see my other post). Its actually fairly simple and straight forward to do.

  • @OldestJunior
    @OldestJunior 2 года назад

    What a great vid. Thank you.
    Do you have any recommendations on code fade ins like in this video
    ruclips.net/video/CFRhGnuXG-4/видео.html

  • @bzboii
    @bzboii 2 года назад

    1:50 *2019 or _later_!

  • @voilin
    @voilin 2 года назад

    For the love of god don't make dark theme presentations please. It's fine too look at the monitor screen, but once you show it through the projector you will quickly realise that you can't see anything and neither the spectators

  • @metalosaur
    @metalosaur 2 года назад

    Wait, you don't use self-written presentations generator with code-based input? How dare you!

  • @tsukigva6130
    @tsukigva6130 2 года назад +1

    Thanks