Тёмный

How to Make Beautiful Code Presentations 

code_report
Подписаться 61 тыс.
Просмотров 121 тыс.
50% 1

This video answers the most common question I get on my channel: how do I make my code animations / presentations? This video answers that question with a behind the scenes look at how I made the "From C ➡️ C++ ➡️ Rust" RU-vid video.
Links:
Final Video "From C ➡️ C++ ➡️ Rust": • From C ➡️ C++ ➡️ Rust
CodeAesthetic Video: • Why You Shouldn't Nest...
Chapters:
0:00 Intro
0:38 Three Things You Need
1:03 Morph Transition
2:23 VS Code
2:32 Material Theme
3:20 Making the Rest of the Video
8:37 Applying a Small Fix
9:36 Outro
Follow me on Github: github.com/codereport
Follow me on Twitter: / code_report
Follow me on LinkedIn: / codereport

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 117   
@TheDavidlloydjones
@TheDavidlloydjones Год назад
"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."
@PriyadarshiPrashant
@PriyadarshiPrashant Год назад
Perfect translation
@maybeyesterday
@maybeyesterday Год назад
Bro can you put a morph transition on that translation pls?!
@PriyadarshiPrashant
@PriyadarshiPrashant Год назад
@@maybeyesterday even perfecto
@dhtoran1
@dhtoran1 Год назад
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 Год назад
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 Год назад
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 Год назад
In fact, Keynote had it first
@ko-Daegu
@ko-Daegu Год назад
@@casperes0912 what’s keynote ?
@PhilippeCarphin
@PhilippeCarphin 11 месяцев назад
@@ko-Daegu It's Apple's PowerPoint.
@vintagewander
@vintagewander Год назад
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
@madhukiranattivilli2321
@madhukiranattivilli2321 Год назад
"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 Год назад
you code in java means.... you already lost viewers because not everyone have wide screen monitors..... :)
@madhukiranattivilli2321
@madhukiranattivilli2321 Год назад
@@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 Год назад
@@madhukiranattivilli2321 they’re just trying to be mean. There are plenty of Java programmers in the world to have a good enough following on RU-vid.
@madhukiranattivilli2321
@madhukiranattivilli2321 Год назад
@@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
@f4614n
@f4614n Год назад
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 Год назад
Ohhhhhhhhh this is greaaaaaat. Really dislike depending on Microsoft for stuff, I'll give this a try.
@RecursionIs
@RecursionIs Год назад
Morph transition 🔥
@Dogflamingo
@Dogflamingo Год назад
That morph transition goes hard 🔥🔥🔥
@centis4533
@centis4533 Год назад
You can be the brand ambassador of Microsoft Office suit... You provide the best example instead of the basic examples from Microsoft.
@rutabega306
@rutabega306 Год назад
Seriously, I half considered buying a MS product haha
@ynchen
@ynchen Год назад
Didn't expect this to be this easy. This is great
@afmikasenpai
@afmikasenpai Год назад
Wow... I never knew I needed this. Great video as always !
@amirgamil
@amirgamil Год назад
That was awesome! Thanks for that. You, sir, are a master of your craft! 👏
@boukefmohamed3191
@boukefmohamed3191 Год назад
do you know i spent a week to searching for that !!! THANK YOUUU
@briandublidi4708
@briandublidi4708 Год назад
absolutely lovely :) gives me motivation to make my own programming videos
@solitary_crow
@solitary_crow Год назад
You can generate slides using racket slideshow too. It's a DSL that can be used to make presentations using lisp.
@tangentstorm
@tangentstorm Год назад
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.
@lucasa8710
@lucasa8710 Год назад
I like this, pretty smart and concise
@bjmckenz
@bjmckenz Год назад
Thanks for leveling me up.
@husseinamini9026
@husseinamini9026 6 месяцев назад
Thanks man. I needed it sooo bad
@CISMarinho
@CISMarinho Год назад
Great video! Really love it
@kamalmohamed6611
@kamalmohamed6611 Год назад
im gonna start a youtube channel 😀
@snk-js
@snk-js Год назад
this is freakin amazing and still very easy dude
@torarinvik4920
@torarinvik4920 Год назад
A magician revealing his secrets :D, merry christmas to all!
@nro337
@nro337 Год назад
very cool!
@pmcgee003
@pmcgee003 Год назад
Conor's Canadian ... he apologises to powerpoint. 🙂
@code_report
@code_report Год назад
😂
@imxd9698
@imxd9698 Год назад
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...
@mikkolukas
@mikkolukas Год назад
Great, simple solution! :)
@devmahad
@devmahad Год назад
Thank you!!
@phantuananh2163
@phantuananh2163 Год назад
Impressive!!!
@volshebnikozz
@volshebnikozz Год назад
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 Год назад
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.
@liautraver3698
@liautraver3698 6 месяцев назад
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.
@bzboii
@bzboii Год назад
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 Год назад
Wasn't sure anyone would notice that 😊 Great catch
@bzboii
@bzboii Год назад
@@code_report this is like your east west const slide trivias
@damilolaowolabi9148
@damilolaowolabi9148 Год назад
What font are you using?
@ummnine6938
@ummnine6938 Год назад
i have asked a couple of people how do they make their vids, and no one cares to answer, but i didnt even ask here and a pleasant surprise to see a video on this topic, thanks a lot. Will you ever use Blender for transitions also?
@DavesGarage
@DavesGarage Год назад
Thanks for sharing! I would not have guessed Powerpoint...
@tsukigva6130
@tsukigva6130 Год назад
Thanks
@pawekoaczynski4505
@pawekoaczynski4505 Год назад
I had no idea this effect is so easy to create c:
@oscardasilva971
@oscardasilva971 Год назад
Thaaaaaaank you
@Henry-mc5yq
@Henry-mc5yq Год назад
The real best programing language, PowerPoint
@Henry-mc5yq
@Henry-mc5yq Год назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_3loq22TxSc.html
@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?
@okefejoseph6825
@okefejoseph6825 2 месяца назад
How do I get the logos?
@watynecc3309
@watynecc3309 Год назад
can we do that in libreoffice ?
@LesleyLai
@LesleyLai Год назад
I tried to find such a code-transition solution back in 2019 and I didn't even think about PowerPoint 😅
@kaporos
@kaporos Год назад
You can also check revealjs !
@peacemaker42069
@peacemaker42069 Год назад
How do you capture the video afterwards? is it just screen recording?
@code_report
@code_report Год назад
OBS
@wlockuz4467
@wlockuz4467 Год назад
Looks super elegant, just wondering how does your PowerPoint maintain the same syntax highlight as VSCode?
@abdellahcodes
@abdellahcodes Год назад
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.
@dzaqwanamir
@dzaqwanamir Год назад
Great video! What font you use for vs code?
@code_report
@code_report Год назад
Consolas.
@MartinJaniczek
@MartinJaniczek Год назад
"It does objects by default, but for code you typically need words." APL has entered the chat
@abrudz
@abrudz Год назад
Then you choose "Characters"…
@code_report
@code_report Год назад
😂
@ChaooCharles
@ChaooCharles Год назад
Awesome tip, thank you!
@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?
@vaisakhkm783
@vaisakhkm783 Год назад
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
@bzboii
@bzboii Год назад
yessss
@goosydev
@goosydev Год назад
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.
@sammflynn6751
@sammflynn6751 Год назад
crazy
@RajeshPandianM
@RajeshPandianM Год назад
❤❤
@snk-js
@snk-js Год назад
genius
@mohammadbasyouni7171
@mohammadbasyouni7171 Год назад
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
@winteru388
@winteru388 Год назад
It doesn't copy the indent for me :/
@definite_d
@definite_d Год назад
Instead of deleting images, I think there's a replace image option in the right click menu of images.
@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.
@leofun01
@leofun01 Год назад
Wow. I didn't know that something similar exist in PowerPoint.
@alpaslaneldemir6904
@alpaslaneldemir6904 Год назад
Also check RevealJS
@skeletonboxers7336
@skeletonboxers7336 Год назад
my sleep deprived self read this as "how to make pretentious code beautiful"
@cariyaputta
@cariyaputta Год назад
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
@OldestJunior
@OldestJunior Год назад
What a great vid. Thank you. Do you have any recommendations on code fade ins like in this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-CFRhGnuXG-4.html
@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
@noqulee
@noqulee Год назад
Nice content, but your mic is clipping. Try compressor. Have a good one!
@bzboii
@bzboii Год назад
1:50 *2019 or _later_!
@InMemoryOfNeo
@InMemoryOfNeo 10 месяцев назад
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.
@kharthigeyan
@kharthigeyan Год назад
3Blue1Brown type of transitions, no need for python manim library
@leo848
@leo848 Год назад
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 Год назад
@@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.
@xenten9686
@xenten9686 Год назад
I am disappointed in how possible it would be to automate this process and yet it is not done.
@metalosaur
@metalosaur Год назад
Wait, you don't use self-written presentations generator with code-based input? How dare you!
@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
@leo848
@leo848 Год назад
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 Год назад
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.
@ishwargowda
@ishwargowda Год назад
Thanks
Далее
From C ➡️ C++ ➡️  Rust
14:06
Просмотров 168 тыс.
How do computers read code?
12:01
Просмотров 3,1 млн
Я НЕ ОЖИДАЛ ЭТОГО!!! #Shorts #Глент
00:19
Never use PowerPoint again
6:59
Просмотров 288 тыс.
10 weird algorithms
9:06
Просмотров 1,2 млн
The Best Package to Plot in Julia
6:02
Просмотров 6 тыс.
Why You Shouldn't Nest Your Code
8:30
Просмотров 2,6 млн
The Flaws of Inheritance
10:01
Просмотров 922 тыс.
How Senior Programmers ACTUALLY Write Code
13:37
Просмотров 1,5 млн
why are switch statements so HECKIN fast?
11:03
Просмотров 394 тыс.
1 Problem, 24 Programming Languages
19:29
Просмотров 374 тыс.
How principled coders outperform the competition
11:11
The Superpower of C++
7:27
Просмотров 35 тыс.