Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Caves Generation that ANYONE can do! (Cellular automata caves in P5js)

Автор: Barney Codes

Загружено: 2023-03-04

Просмотров: 4840

Описание:

Rogue Basin Article: http://www.roguebasin.com/index.php/C...
Code from video: https://editor.p5js.org/BarneyCodes/s...

Procedural Terrain Generation can sound incredible daunting and the scary name can put you off, but I promise that anyone can make these caves! This method uses cellular automata to turn random noise into lovely looking caves in an incredibly satisfying way.

The caves we generate in this video could easily be used for some great levels in a game, and we even show you how to turn the raw tile data into really great looking levels using textures.

Enjoy!

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

Chapters:
0:00 How it works
2:12 Generating random tiles
5:39 Counting wall neighbours
7:28 Next generation of tiles
9:27 Values outside the grid
10:29 Notes about the article
11:13 Loading textures
13:19 Converting to tile IDs
15:31 Adding floor variations
16:58 Wall variations
18:45 A note on bit masking
19:18 Final Product

#creativecoding #p5js #javascript

Caves Generation that ANYONE can do! (Cellular automata caves in P5js)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

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

Скачать аудио mp3

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

How to make the Stacker Game in JavaScript + P5js

How to make the Stacker Game in JavaScript + P5js

Better Mountain Generators That Aren't Perlin Noise or Erosion

Better Mountain Generators That Aren't Perlin Noise or Erosion

Coding Challenge 179: Elementary Cellular Automata

Coding Challenge 179: Elementary Cellular Automata

Bias & Fairness in Machine Learning: Why AI Isn’t Always Neutral

Bias & Fairness in Machine Learning: Why AI Isn’t Always Neutral

Cellular Automata | Procedural Generation | Game Development Tutorial

Cellular Automata | Procedural Generation | Game Development Tutorial

An introduction to graph rewriting for procedural content generation

An introduction to graph rewriting for procedural content generation

A simple procedural animation technique

A simple procedural animation technique

Создание простых узоров в p5.js

Создание простых узоров в p5.js

Кто пишет код лучше всех? Сравнил GPT‑5.2, Opus 4.5, Sonnet 4.5, Gemini 3, Qwen 3 Max, Kimi, GLM

Кто пишет код лучше всех? Сравнил GPT‑5.2, Opus 4.5, Sonnet 4.5, Gemini 3, Qwen 3 Max, Kimi, GLM

Синьор 1С: 10 привычек, без которых ты не вырастешь

Синьор 1С: 10 привычек, без которых ты не вырастешь

How to Code Procedural Terrain with Perlin Noise (JavaScript & p5.js)

How to Code Procedural Terrain with Perlin Noise (JavaScript & p5.js)

Введение в шейдеры: изучите основы!

Введение в шейдеры: изучите основы!

🧪🧪🧪🧪Как увидеть гиперпространство (4-е измерение)

🧪🧪🧪🧪Как увидеть гиперпространство (4-е измерение)

Reinventing Minecraft world generation by Henrik Kniberg

Reinventing Minecraft world generation by Henrik Kniberg

I Overengineered a Spinning Top

I Overengineered a Spinning Top

Введение в L-системы: создание процедурных установок

Введение в L-системы: создание процедурных установок

Antiportal - what is it and how does it explain pocket dimension?

Antiportal - what is it and how does it explain pocket dimension?

Turning Images into Dots: The Magic of Dithering

Turning Images into Dots: The Magic of Dithering

Herbert Wolverson - Procedural Map Generation Techniques

Herbert Wolverson - Procedural Map Generation Techniques

Как устроена компьютерная графика? OpenGL / C++

Как устроена компьютерная графика? OpenGL / C++

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com