How to Make Beautiful Code Presentations

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024

ความคิดเห็น • 118

  • @TheDavidlloydjones
    @TheDavidlloydjones ปีที่แล้ว +370

    "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."

  • @dhtoran1
    @dhtoran1 ปีที่แล้ว +163

    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 :-)

  • @rid9
    @rid9 ปีที่แล้ว +108

    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 ปีที่แล้ว +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 ปีที่แล้ว +6

      In fact, Keynote had it first

    • @ko-Daegu
      @ko-Daegu ปีที่แล้ว

      @@casperes0912 what’s keynote ?

    • @PhilippeCarphin
      @PhilippeCarphin ปีที่แล้ว

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

  • @f4614n
    @f4614n ปีที่แล้ว +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 ปีที่แล้ว +1

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

  • @madhukiranattivilli2321
    @madhukiranattivilli2321 ปีที่แล้ว +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)

    • @vaisakhkm783
      @vaisakhkm783 ปีที่แล้ว +3

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

    • @madhukiranattivilli2321
      @madhukiranattivilli2321 ปีที่แล้ว +5

      @@vaisakhkm783 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 ปีที่แล้ว +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 TH-cam.

    • @madhukiranattivilli2321
      @madhukiranattivilli2321 ปีที่แล้ว +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 ปีที่แล้ว

      @@vaisakhkm783 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 ปีที่แล้ว +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

  • @Dogflamingo
    @Dogflamingo ปีที่แล้ว +7

    That morph transition goes hard 🔥🔥🔥

  • @centis4533
    @centis4533 ปีที่แล้ว +56

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

    • @rutabega306
      @rutabega306 ปีที่แล้ว +8

      Seriously, I half considered buying a MS product haha

    • @adityakhanna113
      @adityakhanna113 13 วันที่ผ่านมา

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

  • @ynchen
    @ynchen ปีที่แล้ว +1

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

  • @imxd9698
    @imxd9698 ปีที่แล้ว +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 ปีที่แล้ว

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

  • @bzboii
    @bzboii ปีที่แล้ว +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

      Wasn't sure anyone would notice that 😊 Great catch

    • @bzboii
      @bzboii ปีที่แล้ว +1

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

  • @DavesGarage
    @DavesGarage ปีที่แล้ว

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

  • @Henry-mc5yq
    @Henry-mc5yq ปีที่แล้ว +2

    The real best programing language, PowerPoint

    • @Henry-mc5yq
      @Henry-mc5yq ปีที่แล้ว

      th-cam.com/video/_3loq22TxSc/w-d-xo.html

  • @pmcgee003
    @pmcgee003 ปีที่แล้ว +13

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

  • @kamalmohamed6611
    @kamalmohamed6611 ปีที่แล้ว +6

    im gonna start a youtube channel 😀

  • @briandublidi4708
    @briandublidi4708 ปีที่แล้ว +2

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

  • @MartinJaniczek
    @MartinJaniczek ปีที่แล้ว +1

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

    • @abrudz
      @abrudz ปีที่แล้ว +3

      Then you choose "Characters"…

    • @code_report
      @code_report  ปีที่แล้ว

      😂

  • @afmikasenpai
    @afmikasenpai ปีที่แล้ว +1

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

  • @liautraver3698
    @liautraver3698 8 หลายเดือนก่อน

    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.

  • @amirgamil
    @amirgamil ปีที่แล้ว

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

  • @tangentstorm
    @tangentstorm ปีที่แล้ว +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.

  • @bjmckenz
    @bjmckenz ปีที่แล้ว

    Thanks for leveling me up.

  • @husseinamini9026
    @husseinamini9026 8 หลายเดือนก่อน

    Thanks man. I needed it sooo bad

  • @torarinvik4920
    @torarinvik4920 ปีที่แล้ว

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

  • @snk-js
    @snk-js ปีที่แล้ว

    this is freakin amazing and still very easy dude

  • @wlockuz4467
    @wlockuz4467 ปีที่แล้ว +6

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

    • @abdellahcodes
      @abdellahcodes ปีที่แล้ว +8

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

    • @onebacon_
      @onebacon_ ปีที่แล้ว

      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 หลายเดือนก่อน

    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.

  • @vaisakhkm783
    @vaisakhkm783 ปีที่แล้ว +3

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

    • @mndtr0
      @mndtr0 ปีที่แล้ว

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

  • @oscardasilva971
    @oscardasilva971 ปีที่แล้ว

    Thaaaaaaank you

  • @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?

  • @nro337
    @nro337 ปีที่แล้ว +1

    very cool!

  • @tsukigva6130
    @tsukigva6130 ปีที่แล้ว +1

    Thanks

  • @devmahad
    @devmahad ปีที่แล้ว

    Thank you!!

  • @CISMarinho
    @CISMarinho ปีที่แล้ว

    Great video! Really love it

  • @damilolaowolabi9148
    @damilolaowolabi9148 ปีที่แล้ว +1

    What font are you using?

  • @Flutterful
    @Flutterful ปีที่แล้ว

    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.

  • @phantuananh2163
    @phantuananh2163 ปีที่แล้ว

    Impressive!!!

  • @definite_d
    @definite_d ปีที่แล้ว

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

  • @adibhanna
    @adibhanna ปีที่แล้ว

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

    • @code_report
      @code_report  ปีที่แล้ว

      I just use OBS: obsproject.com/

    • @adibhanna
      @adibhanna ปีที่แล้ว

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

  • @winteru388
    @winteru388 ปีที่แล้ว

    It doesn't copy the indent for me :/

  • @alpaslaneldemir6904
    @alpaslaneldemir6904 ปีที่แล้ว

    Also check RevealJS

  • @ChaooCharles
    @ChaooCharles ปีที่แล้ว

    Awesome tip, thank you!

  • @sammflynn6751
    @sammflynn6751 ปีที่แล้ว

    crazy

  • @skeletonboxers7336
    @skeletonboxers7336 ปีที่แล้ว

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

  • @bzboii
    @bzboii ปีที่แล้ว

    yessss

  • @dzaqwanamir
    @dzaqwanamir ปีที่แล้ว

    Great video! What font you use for vs code?

  • @watynecc3309
    @watynecc3309 ปีที่แล้ว

    can we do that in libreoffice ?

  • @peacemaker42069
    @peacemaker42069 ปีที่แล้ว

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

  • @snk-js
    @snk-js ปีที่แล้ว

    genius

  • @fildaCZSK
    @fildaCZSK ปีที่แล้ว

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

  • @FlowerBoyWorld
    @FlowerBoyWorld ปีที่แล้ว

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

  • @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.

  • @noqulee
    @noqulee ปีที่แล้ว

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

  • @kharthigeyan
    @kharthigeyan ปีที่แล้ว

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

    • @leo848
      @leo848 ปีที่แล้ว +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 ปีที่แล้ว +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.

  • @bzboii
    @bzboii ปีที่แล้ว

    1:50 *2019 or _later_!

  • @xenten9686
    @xenten9686 ปีที่แล้ว

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

  • @voilin
    @voilin ปีที่แล้ว

    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

  • @OldestJunior
    @OldestJunior ปีที่แล้ว

    What a great vid. Thank you.
    Do you have any recommendations on code fade ins like in this video
    th-cam.com/video/CFRhGnuXG-4/w-d-xo.html

  • @RecursionIs
    @RecursionIs ปีที่แล้ว +18

    Morph transition 🔥

  • @volshebnikozz
    @volshebnikozz ปีที่แล้ว +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 ปีที่แล้ว +3

      This is super useful to know, thanks!

    • @229ac88b
      @229ac88b ปีที่แล้ว

      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 ปีที่แล้ว

      Only problem is you cannot export as a video.

  • @LesleyLai
    @LesleyLai ปีที่แล้ว +5

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

    • @kaporos
      @kaporos ปีที่แล้ว +2

      You can also check revealjs !

  • @solitary_crow
    @solitary_crow ปีที่แล้ว +4

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

  • @metalosaur
    @metalosaur ปีที่แล้ว

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

  • @boukefmohamed3191
    @boukefmohamed3191 ปีที่แล้ว +1

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

  • @cariyaputta
    @cariyaputta ปีที่แล้ว +2

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

    • @mateoferretto2175
      @mateoferretto2175 ปีที่แล้ว

      This is doable in PowerPoint online, which is free

  • @goosydev
    @goosydev ปีที่แล้ว +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.

  • @okefejoseph6825
    @okefejoseph6825 4 หลายเดือนก่อน

    How do I get the logos?

  • @mohammadbasyouni7171
    @mohammadbasyouni7171 ปีที่แล้ว +1

    the first 21st min and the 21st like

  • @MartinMarcher
    @MartinMarcher ปีที่แล้ว

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

  • @ishwargowda
    @ishwargowda ปีที่แล้ว +1

    Thanks

  • @leofun01
    @leofun01 ปีที่แล้ว

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

  • @mikkolukas
    @mikkolukas ปีที่แล้ว

    Great, simple solution! :)

  • @lucasa8710
    @lucasa8710 ปีที่แล้ว

    I like this, pretty smart and concise

  • @pawekoaczynski4505
    @pawekoaczynski4505 ปีที่แล้ว

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

  • @RajeshPandianM
    @RajeshPandianM ปีที่แล้ว

    ❤❤

  • @leo848
    @leo848 ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว

      @@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 ปีที่แล้ว

      @@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.