- 20
- 24 078
Keyframe Codes
Приєднався 24 тра 2024
I like coding
AtCoder Chronicles videos weekly
Year 11 student at Bangkok Patana School
AtCoder Chronicles videos weekly
Year 11 student at Bangkok Patana School
Making a Better Particle Simulation in C++ (Part 2)
My code: github.com/keyframe41/ParticleSimulation
Part 1 video: ua-cam.com/video/XL8B5nzNEOc/v-deo.html
Finally this video is done. Still have more particle ideas planned for the future though! Fluid simulation is next.
Just like Part 1, this video was based off Pezzza’s Work, so thanks to him: m.ua-cam.com/video/9IULfQH7E90/v-deo.html
I also should be getting a new microphone soon so video quality will improve
A helpful about my multithreaded code, by @thesquee1838 :
"One thing to clarify is that std::move just casts to an r-value, which allows for move semantics if they are implemented for a type. You mention perfect forwarding but for that you would use std::forward() with a templated function of that takes in the r-value type T&&. Perfect forwarding has more to do with how types are converted when passed to a function (look up reference collapsing), and allows for the type that is passed in to be conserved and not changed."
Music:
Odysseus - Wave Ambient Mix: ua-cam.com/video/EDEbWVQI7oE/v-deo.html
glass beach - commatose: ua-cam.com/video/T4t1vYNY0mA/v-deo.html
AcesToAces - memory lane: ua-cam.com/video/i3As7wOIJds/v-deo.html
About this video/for the algorithm:
I improve my particle simulation, made in C++ and SFML, by optimizing collision and adding multithreading, and also implement obstacles and the ability to generate images.
Timestamps:
0:00 Intro
0:45 Recap of Part 1
1:27 Optimising Collisions
5:31 Making Images
8:00 Multithreading
12:20 Obstacles
17:28 Obstacle Issues
21:07 Improving Rendering
23:18 Final Result & Outro
Part 1 video: ua-cam.com/video/XL8B5nzNEOc/v-deo.html
Finally this video is done. Still have more particle ideas planned for the future though! Fluid simulation is next.
Just like Part 1, this video was based off Pezzza’s Work, so thanks to him: m.ua-cam.com/video/9IULfQH7E90/v-deo.html
I also should be getting a new microphone soon so video quality will improve
A helpful about my multithreaded code, by @thesquee1838 :
"One thing to clarify is that std::move just casts to an r-value, which allows for move semantics if they are implemented for a type. You mention perfect forwarding but for that you would use std::forward() with a templated function of that takes in the r-value type T&&. Perfect forwarding has more to do with how types are converted when passed to a function (look up reference collapsing), and allows for the type that is passed in to be conserved and not changed."
Music:
Odysseus - Wave Ambient Mix: ua-cam.com/video/EDEbWVQI7oE/v-deo.html
glass beach - commatose: ua-cam.com/video/T4t1vYNY0mA/v-deo.html
AcesToAces - memory lane: ua-cam.com/video/i3As7wOIJds/v-deo.html
About this video/for the algorithm:
I improve my particle simulation, made in C++ and SFML, by optimizing collision and adding multithreading, and also implement obstacles and the ability to generate images.
Timestamps:
0:00 Intro
0:45 Recap of Part 1
1:27 Optimising Collisions
5:31 Making Images
8:00 Multithreading
12:20 Obstacles
17:28 Obstacle Issues
21:07 Improving Rendering
23:18 Final Result & Outro
Переглядів: 12 399
Відео
AtCoder Chronicles: ABC383 A-E Solutions
Переглядів 13414 днів тому
Link to contest: atcoder.jp/contests/abc383 0:00 Intro 0:19 A - Humidifier 1 0:50 B - Humidifier 2 1:30 C - Humidifier 3 3:03 D - 9 Divisors 5:22 E - Sum of Max Matching New rating: 1326 Music from Odysseus: ua-cam.com/video/DZYJNajfNrQ/v-deo.html
Chopin - Ballade No. 1 in G Minor, Op. 23
Переглядів 51514 днів тому
Started learning this straight after finishing ABRSM Grade 8, a year later it's done. Played at my teacher's student concert. Enjoy!
AtCoder Chronicles: ABC382 A-F Solutions
Переглядів 20021 день тому
Link to contest: atcoder.jp/contests/abc382 New rating: 1290 Particle simulation part 2 coming soon! 0:00 Intro 0:26 A - Daily Cookie 0:56 B - Daily Cookie 2 1:17 C - Kaiten Sushi 2:25 D - Keep Distance 3:43 E - Expansion Packs 6:43 F - Falling Bars
TRAILER - Better Particle Simulation
Переглядів 20528 днів тому
For 200 subscribers, in preparation for my new big video (estimated 20 minutes), a fun thing I shot with help from my parents! I have so much planned for these particles its insane Watch part 1 here: ua-cam.com/video/XL8B5nzNEOc/v-deo.html Music - Eye of the Tiger Inspired by the Big Bang Theory (S3E4) The shirt is from the MIT gift shop
AtCoder Chronicles: ABC381 A-E Solutions
Переглядів 79Місяць тому
Link to contest: atcoder.jp/contests/abc381 Music used: ua-cam.com/video/1hcsPGhwX-c/v-deo.html
AtCoder Chronicles: ABC380 A-F Solutions
Переглядів 94Місяць тому
Link to contest: atcoder.jp/contests/abc380 0:00 Intro 0:24 A - 123233 0:42 B - Hurdle Parsing 1:04 C - Move Segment 2:00 D - Strange Mirroring 4:08 E - 1D Bucket Tool 5:24 F - Exchange Game
AtCoder Chronicles: ABC379 A-F Solutions
Переглядів 64Місяць тому
Link to contest: atcoder.jp/contests/abc379 0:00 Intro 0:11 A - Cyclic 0:22 B - Strawberries 0:56 C - Sowing Stones 2:02 D - Home Garden 2:48 E - Sum of All Substrings 4:11 F - Buildings 2
AtCoder Chronicles: ABC378 A-F Solutions
Переглядів 141Місяць тому
Link to contest: atcoder.jp/contests/abc378 0:00 Intro 0:19 A - Pairing 0:30 B - Garbage Collection 1:03 C - Repeating 1:28 D - Count Simple Paths 2:02 E - Mod Sigma Problem 4:16 F - Add One Edge Really getting consistent with 6 problems now! Let me know if you want longer, slower videos with more of my thought process as I have realised I'm fitting 6 problems into a relatively short time
AtCoder Chronicles: ABC377 A-E Solutions
Переглядів 149Місяць тому
Link to contest: atcoder.jp/contests/abc377/tasks I might sound a bit sick in the video 0:00 Intro 0:26 A - Rearrange ABC 0:44 B - Avoid Rook Attack 1:07 C - Avoid Knight Attack 1:39 D - Many Segments 2 2:41 E - Permute K times 2
AtCoder Chronicles: ABC376 A-F Solutions
Переглядів 1142 місяці тому
Link to contest: atcoder.jp/contests/abc376 Enjoy! This contest was quite educational for me especially problem E, and I managed to make this pretty quickly on holiday so I hope the quality is ok. 0:00 Intro 0:32 A - Candy Button 0:54 B - Hands on Ring (Easy) 2:00 C - Prepare Another Box 3:08 D - Cycle 3:51 E - Max x Sum 5:42 F - Hands on Ring (Hard)
AtCoder Chronicles: ABC375 A-F Solutions
Переглядів 592 місяці тому
I'm on holiday so this video took a while longer, so might the next, but I will upload them Also if you're coming from the particles video, competitive programming(this) is the sort of programming that I usually do and enjoy, and I upload AtCoder contests on a weekly basis! Link to contest: atcoder.jp/contests/abc375 Synthwave mix from Odysseus: ua-cam.com/video/bY7WnlMvHGs/v-deo.html
Making a particle simulation in C++ (Part 1)
Переглядів 12 тис.2 місяці тому
I make a particle simulation inspired by Pezzza's work using C and SFML, with a few changes and improvements. Pezzza's video: ua-cam.com/video/lS_qeBy3aQI/v-deo.html and channel: @PezzzasWork Seb Lague: @SebastianLague Music: ua-cam.com/video/b6toYA0W4IA/v-deo.html My code: github.com/keyframe41/SFMLExperiments
AtCoder Chronicles: ABC374 A-E Solutions
Переглядів 752 місяці тому
AtCoder Chronicles: ABC374 A-E Solutions
AtCoder Chronicles: ABC373 A-E Solutions
Переглядів 1852 місяці тому
AtCoder Chronicles: ABC373 A-E Solutions
AtCoder Chronicles: ABC372 A-E Solutions
Переглядів 863 місяці тому
AtCoder Chronicles: ABC372 A-E Solutions
AtCoder Chronicles: ABC371 A-F Solutions
Переглядів 2253 місяці тому
AtCoder Chronicles: ABC371 A-F Solutions
AtCoder Chronicles: ABC370 A-E Solutions
Переглядів 1053 місяці тому
AtCoder Chronicles: ABC370 A-E Solutions
AtCoder Chronicles: ABC369 A-E Solutions
Переглядів 1513 місяці тому
AtCoder Chronicles: ABC369 A-E Solutions