Pezzza's Work
Pezzza's Work
  • Видео 98
  • Просмотров 15 328 901
How to train simple AIs to balance a double pendulum
Previous video: ruclips.net/video/EvV5Qtp_fYg/видео.html
XPBD article: matthias-research.github.io/pages/publications/XPBD.pdf
Github github.com/johnBuffer/Pendulum-NEAT
Music used (in order of appearance):
- Winterbeams by Diffie Bosman
- Empyrean by Dear Gravity (4000 pendulums part)
- Poison Message by Man with Roses
- The Endurance by C.K. Martin
Просмотров: 164 330

Видео

How to train simple AIs
Просмотров 62 тыс.Месяц назад
This video is about a simple algorithm to experiment with basic AIs. Thanks to Alexislouis for the music! @alexislouis2320 You can find the music here: on.soundcloud.com/18Zvih9nrh8gTKJY9 Github github.com/johnBuffer/Pendulum-NEAT
AIs learn to WALK
Просмотров 54 тыс.10 месяцев назад
00:00 Introduction 07:20 Training 12:45 Other solutions 16:02 Race Neural Networks learn to control a simple body to walk to targets. The project has been made using C and SFML. I will post the Github later This is a reupload to fix sound issues
Simple Fractal rendering
Просмотров 130 тыс.Год назад
Github of the project github.com/johnBuffer/JuliaRendering Made using C and SFML
Writing a Physics Engine from scratch - collision detection optimization
Просмотров 743 тыс.Год назад
Github repository github.com/johnBuffer/VerletSFML-Multithread
Much bigger simulation, AIs learn Phalanx
Просмотров 2,7 млнГод назад
This video is the next part of my evolution project where predators and prey are fighting. In this part I added the capacity for prey and predators to see their peers. 00:00 Introduction 00:22 Working Principle 05:11 Bigger Simulation - First try 09:10 The missing piece 26:10 Timelapse 27:43 Ending
Prey vs Predators - preparing bigger simulation
Просмотров 84 тыс.Год назад
Optimizing my prey vs predators project for future bigger simulations. 00:00 Introduction 02:00 Data optimization 04:00 Neural Network optimization 05:40 Space partitioning 06:30 Multithreading
A Talking Chicken
Просмотров 37 тыс.Год назад
00:00 Intro 00:14 Image split 00:28 First test 00:58 Sound data sampling 01:58 Add some physics 02:56 Final result
Real time Fire Simulation
Просмотров 155 тыс.2 года назад
00:00 Introduction 01:21 Rendering 03:20 Shapes 05:16 Colors 06:16 Ending A big thanks to AlexIsLouis for the music :D His channel ruclips.net/channel/UCUWRUMnMP50v4x0CI2WMVHw
Evolving AIs - Predator vs Prey, who will win?
Просмотров 2,9 млн2 года назад
00:00 Introduction 03:16 Simulation 10:19 Timelaps 11:22 Ending Music used (same order as in the video) freepd.com/music/Finally See The Light.mp3 freepd.com/music/Cold Journey.mp3 freepd.com/music/Beginning of Conflict.mp3 freepd.com/music/From Page to Practice.mp3
Writing a Physics Engine from scratch
Просмотров 195 тыс.2 года назад
Github github.com/johnBuffer/VerletSFML Music used pixabay.com/music/ambient-mindfulness-relaxation-amp-meditation-music-22174/
Creating a Space Invaders clone using my C++ engine and SFML
Просмотров 37 тыс.2 года назад
Step by step process of the creation of my Space Invaders clone using raw C and SFML. Steam link store.steampowered.com/app/1885460/Invasion_From_Space/ A big thanks to AlexIsLouis for the sprites, musics and sounds :D His channel ruclips.net/channel/UCUWRUMnMP50v4x0CI2WMVHw The music ruclips.net/video/YD0r-H19h4k/видео.html
[DEMO] Space Invaders clone made with C++ and SFML
Просмотров 15 тыс.2 года назад
This project has been made from scratch using SFML and C A big thanks to AlexIsLouis for the sprites, musics and sounds :D His channel ruclips.net/channel/UCUWRUMnMP50v4x0CI2WMVHw The music ruclips.net/video/YD0r-H19h4k/видео.html
Creating a Brick Breaker with my PHYSICS ENGINE
Просмотров 110 тыс.2 года назад
In this video I present the process of creating a little physics based brick breaker. Executable demo soon. 00:00 Intro 01:25 Base version 01:37 Add Physics 02:26 Add Sounds 02:56 Add Special Blocks 04:28 A First Level 05:12 Removing Gravity 06:05 Add Upward Gravity
C++ Ants Simulation 6, Editor
Просмотров 206 тыс.2 года назад
C Ants Simulation 6, Editor
How I like to program Smoke
Просмотров 40 тыс.2 года назад
How I like to program Smoke
Unstable Star experimentation
Просмотров 47 тыс.2 года назад
Unstable Star experimentation
Turning bugs into Art
Просмотров 194 тыс.2 года назад
Turning bugs into Art
C++ Ants Simulation 5, Ants Fight
Просмотров 1,1 млн2 года назад
C Ants Simulation 5, Ants Fight
Budget 2D teardown - Objects Destruction
Просмотров 37 тыс.3 года назад
Budget 2D teardown - Objects Destruction
C++ Ants Simulation 4, Colony
Просмотров 288 тыс.3 года назад
C Ants Simulation 4, Colony
200K Objects simulation, Testing Explosions
Просмотров 82 тыс.3 года назад
200K Objects simulation, Testing Explosions
C++ Ants Simulation 3, Maze
Просмотров 559 тыс.3 года назад
C Ants Simulation 3, Maze
Nice bug
Просмотров 991 тыс.3 года назад
Nice bug
C++ Ants Simulation 2, Path optimization
Просмотров 296 тыс.3 года назад
C Ants Simulation 2, Path optimization
Virtual Walk 2 - 1 Hour
Просмотров 15 тыс.3 года назад
Virtual Walk 2 - 1 Hour
Center Of Mass
Просмотров 25 тыс.3 года назад
Center Of Mass
Procedural Forest Generation with Physics
Просмотров 14 тыс.3 года назад
Procedural Forest Generation with Physics
Tree Simulation Profiling
Просмотров 34 тыс.3 года назад
Tree Simulation Profiling
Procedural Trees Generation with Physics
Просмотров 20 тыс.3 года назад
Procedural Trees Generation with Physics

Комментарии

  • @knoise0
    @knoise0 3 часа назад

    Alternating resource locations for prey . Prey heards up predators pack up to follow them. Havent finished the video but first thing that came to mind. Why gehngis khan concord the world . Attacked fast but never slept in the same place. Hunter and prey

  • @sophiophile
    @sophiophile 7 часов назад

    Great use of curriculum learning.

  • @MsVinioliveira
    @MsVinioliveira День назад

    Sorry but i dont think they learned anything. Their behavior was just a consequence of your changes. For example: they didnt learn to form a wall and attack the prey. since they now can see each other, they cant see prey that arent directly in front of them, so the only way for them to go is for the next prey that is in front of them, and that is valid for every other predator since they also can see only a narrower angle in front of them. Do you get what i mean? If they only can see foward they will go foward. Not because the AI learned to form a wall, but your changes doomed them to a wall.

  • @markpurslow7446
    @markpurslow7446 День назад

    Has anyone tried going from harder to easier training?

  • @MelindaGreen
    @MelindaGreen День назад

    It looks like there was an exploit way back at 18:34 Two natural next steps: 1) Make a physical version, 2) Triple pendulum.

  • @sargentthiccboi9333
    @sargentthiccboi9333 День назад

    At 19:20 you can see that it looks like the predators are doing more focused attacks on small parts of the line. Kinda like a pincer maneuver

  • @robinnogueira8521
    @robinnogueira8521 День назад

    So no Triple pendulum?

  • @sighofman
    @sighofman День назад

    Regarding the chaos, is there are good comparison to be made to the three bodies problem?

  • @andriandhiky6257
    @andriandhiky6257 День назад

    Your video is satisfying and easy to understand for me and maybe others too I'm interested in your code, but when i clone your repo i get tens of errors in vs code Let me know if there's something to do before compiling

  • @Daniel-cy2ph
    @Daniel-cy2ph День назад

    So does this mean one could build a machine in the real world. Plug this code in and it would be able to balance a double pendulum? :O

  • @dinnerchief
    @dinnerchief День назад

    VTubers we need

  • @zihanzhu1651
    @zihanzhu1651 День назад

    8:03 the neural network appears like a rocket XD

  • @028krishsagar2
    @028krishsagar2 2 дня назад

    what tools are you using for this type of development?

  • @Jazza1202
    @Jazza1202 2 дня назад

    Feel like I just watched a simulation of white blood cells attacking viruses haha

  • @Samgenkk
    @Samgenkk 2 дня назад

    Your graphics are amazing! How do you make them?

  • @ruchirmehta
    @ruchirmehta 2 дня назад

    Which software are you using?

  • @relic0
    @relic0 2 дня назад

    What software does this use?

  • @luizaugustoferreira5286
    @luizaugustoferreira5286 2 дня назад

    Perfect video 👏

  • @realdotty5356
    @realdotty5356 2 дня назад

    Don’t know if it’s just the colors you used, but it’s strange that 4000 pendulums look 3d

  • @damienwatson9102
    @damienwatson9102 2 дня назад

    So the prey project is actually the basic template of how life began.. Simple single cells adapting to work together to become more complex organisms to stop predator cells from eating them and eventually becoming roaming predator organisms trying to consume other organisms

  • @Goofygoob-lu9sg
    @Goofygoob-lu9sg 2 дня назад

    Make apex predators

  • @user-ur9jc2bk2e
    @user-ur9jc2bk2e 2 дня назад

    It's super nice how changing very little to the perception leads to flocking like behaviour / simulation

  • @youlio10
    @youlio10 2 дня назад

    Can’t you solve the same task with a traditional closed loop controller?

  • @kennyearthling7965
    @kennyearthling7965 2 дня назад

    It'd be interesting to see what happens on a perfectly symmetrical map. I think the colonies with slightly closer food do better.

  • @swannschilling474
    @swannschilling474 2 дня назад

    Hey there, I stumbled upon your video and I thought I might just ask you... For quiet a while I was playing with the idea of training a algorithm on solving the kinematics for my joint that is currently running as a simulation in Unity. The kinematics are quiet complex and I am struggling to define them mathematicaly so I was thinking that training an algorithm would also be a possible solution? What do you think? What would be your approach to the problem? 😊

  • @lbirkert
    @lbirkert 2 дня назад

    How do you automatically create the hidden layer?

  • @Dorothy-vn9gy
    @Dorothy-vn9gy 2 дня назад

    can't any entity detect its own kind??

  • @mhdsbk
    @mhdsbk 3 дня назад

    🔥🔥

  • @corbettcondray
    @corbettcondray 3 дня назад

    Thank you

  • @nikrosli3352
    @nikrosli3352 3 дня назад

    GREY GOO?

  • @nikrosli3352
    @nikrosli3352 3 дня назад

    DIDINIUM ABUSE

  • @iainmackenzieUK
    @iainmackenzieUK 3 дня назад

    I have a question - its been on my mind a few years, maybe you can help. Take two such ('identical') chaotic pendula. Set them off together and measure the time it takes for their paths to diverge. The longer time taken, the smaller the difference in starting conditions. right? So couldn't we use this kind of system (Theoretically) to determine very small (microscopic) distances? Any thoughts??

  • @iainmackenzieUK
    @iainmackenzieUK 3 дня назад

    I laughed at the end when you said "rudimentary" algorithm :) Anyhow - Loved this journey with you. Really fascinating. Thanks for sharing (Seems like you have over-come Loki...)

  • @Alnakera
    @Alnakera 3 дня назад

    We need a 10 hour version of the double pendulum trajectory.

  • @davidamatolondriz8512
    @davidamatolondriz8512 3 дня назад

    Can you explain better which kind of reinforcement learning agents are you using and how do they decide the network architecture? also for curiosity, what graphics visualization tool are you using ? thanks a lot man

  • @davidamatolondriz8512
    @davidamatolondriz8512 3 дня назад

    Congrats on the video man! Literally the best 20min in RUclips since many time ago!

  • @mlseg5143
    @mlseg5143 3 дня назад

    Two things Im curious about. 1. Is that configuration stable to small pertubations in the middle pendulum 2. Would the nn still manage to work if instead of gravity and friction, the relative length of each pendulum increased. Starting from basically a single pendulum and gradually the second pendulum increases length and the first decreases until equal in length

  • @JustAnotherBigby
    @JustAnotherBigby 4 дня назад

    Really great video. I find it counterintuitive that the networks have so many layers without much interconnection between the middle layers. Is that a product of your learning process?

  • @tatomans1982
    @tatomans1982 4 дня назад

    excelent video. I learn a lot. Do you have any video where you explain the code?

  • @MixtapeXD
    @MixtapeXD 4 дня назад

    Now do it with a triple pendulum

  • @Theurbanmajor
    @Theurbanmajor 4 дня назад

    Now 3 😂

  • @fbarnea
    @fbarnea 4 дня назад

    Imagine this as a desk toy.

  • @MrSantaForever
    @MrSantaForever 4 дня назад

    This is the same way humans should be trained

  • @tymurkr
    @tymurkr 4 дня назад

    when will be a github repo?

  • @theunfightable4513
    @theunfightable4513 4 дня назад

    Why the heck using an AI for that task? There is a much simpler solution for it. Just use an controller.

  • @leo-paulbonvalet3686
    @leo-paulbonvalet3686 4 дня назад

    Absolutely beautiful! Impressed by the great work. Also, I'm wondering what tool or module was used to change the "nodes" model during the simulation... Anyone knows ?

    • @PezzzasWork
      @PezzzasWork 4 дня назад

      Thank you very much! Everything in this video has been made from scratch in C++, you can find the code repo in the description if you are interested

    • @leo-paulbonvalet3686
      @leo-paulbonvalet3686 4 дня назад

      @@PezzzasWork thanks for the sharing!

  • @ophello
    @ophello 5 дней назад

    lenght

  • @mkvector9147
    @mkvector9147 5 дней назад

    which software do you use?

    • @PezzzasWork
      @PezzzasWork 4 дня назад

      I wrote everything myself in C++, the code repo is in the description

  • @looksintolasers
    @looksintolasers 5 дней назад

    This is extremely cool, yes... but who designed your UI??

  • @arsakn
    @arsakn 5 дней назад

    Hey, can you open source it?