Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Making Cellular Automata Run MUCH Faster (Game of Life)

  • Barney Codes
  • 2022-10-02
  • 18948
Making Cellular Automata Run MUCH Faster (Game of Life)
conway's game of lifeconways game of lifegame of lifegame of life shadergol shadergame of life glslgol glsloptimise game of lifeoptimise goloptimize game of lifeoptimize golgame of life run fastgol run fasterbarney codesshaders in javascriptshaders in p5jsgame of life javascriptgame of life p5jsp5jsjavascripthow to make conway's game of lifecellular automatacellular automata game of lifecompute shadercellular automata shader
  • ok logo

Скачать Making Cellular Automata Run MUCH Faster (Game of Life) бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Making Cellular Automata Run MUCH Faster (Game of Life) или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Making Cellular Automata Run MUCH Faster (Game of Life) бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Making Cellular Automata Run MUCH Faster (Game of Life)

Code from video: https://editor.p5js.org/BarneyCodes/s...

Conway's Game of Life is a classic creative coding challenge and today we look at how to optimise it to run fast in P5js using shaders!
The method used is a sort of pseudo compute shader where the frame from the last generation of the game of life is fed into the shader as the basis for the next generation. The shader then outputs this new generation onto the screen where it is fed back into the shader, creating a loop that allows the game of life to run MUCH faster than if it was done on the CPU!

Follow me:
Support the channel: https://www.youtube.com/@BarneyCodes/...
Twitter:   / barneycodes  
Reddit:   / barneycodes  

Chapters:
0:00 Intro
0:15 Shaders in P5js
0:30 Conway's Game of Life
0:57 CPU vs GPU
1:33 Loading a shader in P5js
2:09 Setup function
3:18 Draw function
3:45 Passing the screen into the shader
4:32 The vertex shader
4:46 The fragment shader
5:11 Uniform vs Varying
5:36 Current cell state
6:16 Number of alive neighbours
7:16 Implementing the GOL rules
8:22 Output from the shader
8:39 Final result

#creativecoding #p5js #gameoflife

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]