How to Code a 4D World from Scratch with P5js

  Рет қаралды 5,445

Barney Codes

Barney Codes

Күн бұрын

Пікірлер: 21
@BarneyCodes
@BarneyCodes 9 ай бұрын
If you'd like to see what else I'm working on, it would be great if you could wishlist my game Star Mining Co. on Steam! s.team/a/2584800/
@StevesMakerspace
@StevesMakerspace 2 жыл бұрын
Excellent work! I love the idea that it's breathing.
@BarneyCodes
@BarneyCodes 2 жыл бұрын
Thanks Steve!
@zervidas
@zervidas Жыл бұрын
wow you are the second person after Daniel shiffman to learn me p5js
@BarneyCodes
@BarneyCodes Жыл бұрын
I learnt a lot from Dan Shiffman too, he's the best! Glad you're liking my videos
@FakeFakovick
@FakeFakovick 11 ай бұрын
Bro, crazy🎉
@BarneyCodes
@BarneyCodes 11 ай бұрын
Thanks!
@Joriku
@Joriku 2 жыл бұрын
Actually good video, well explained and calming to watch. Keep it up!
@BarneyCodes
@BarneyCodes 2 жыл бұрын
Thanks so much, calming is exactly what I was going for! I could watch it all day hahaha
@kalen04
@kalen04 2 жыл бұрын
Amazing work and concept!! Offers soo much possibility!
@BarneyCodes
@BarneyCodes 2 жыл бұрын
Thank you!
@juanpenagos
@juanpenagos 2 жыл бұрын
amazing video, amazing concepts... thanks 👍
@BarneyCodes
@BarneyCodes 2 жыл бұрын
Wow, thank you so much! Glad you enjoyed it!
@不知名落雨
@不知名落雨 10 ай бұрын
good video, make me spin!👍👍👍👍👍👍👍👍
@motbus3
@motbus3 7 ай бұрын
I wonder if you made a video about the camera because I want to see it 😂
@BarneyCodes
@BarneyCodes 7 ай бұрын
I didn't sorry! You can check out the basics of it all here though: p5js.org/reference/#/p5/createCamera From memory, in this video I just set the camera position in a circle around the centre of the scene, and then use the lookAt function to make it point at the centre. Hope that helps!
@ZeNItSu-w9t
@ZeNItSu-w9t Жыл бұрын
Can I make this on replit p5js?
@BarneyCodes
@BarneyCodes Жыл бұрын
I'm not really sure what replit is but I had a quick look. It definitely looks like you can use p5js on there, so this sketch should work fine. If you're going to put it on though, maybe leave a link to this video or my original code on the online p5 editor, cheers!
@hashbrown777
@hashbrown777 11 ай бұрын
Using time is just cheating. That's like saying "I just made a 3D render using paint" and it's just a gif. Sure technically you added dimensionality to it but we all know when someone says 4D colloquially they're speaking spacial dimensions. I'd argue you didn't even do that because it's an animation/interactive space that was already happening over time so instead of adding a dimension you simply repurposed another one making it unusable (eg you cannot animate this "4D" terrain because youve pinched time to express the fourth dimension).
@TheCodingTrain
@TheCodingTrain 2 жыл бұрын
This is great! You might like trying this with opensimplexnoise which will have less oscillating noise patterns! editor.p5js.org/codingtrain/sketches/MPqnctIGg
@BarneyCodes
@BarneyCodes 2 жыл бұрын
Thank you so much! That sounds great, I'll have to check out opensimplexnoise, thanks for linking that sketch! Perlin noise is so accessible from P5/Processing that I pretty much always use it, it would be great if they had Simplex noise built in too! Thanks again!
Fixing The Coding Train’s Code (Water Ripple Shader)
5:02
Barney Codes
Рет қаралды 11 М.
Coding Challenge 11: 3D Terrain Generation with Perlin Noise in Processing
22:44
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 31 МЛН
Making Simple Patterns in p5.js
13:05
Steve's Makerspace
Рет қаралды 22 М.
Coding Challenge 180: Falling Sand
23:00
The Coding Train
Рет қаралды 1 МЛН
Mandelbrot in Real-Time: Fractal Shaders with P5js
9:23
Barney Codes
Рет қаралды 4,2 М.
Introduction to shaders: Learn the basics!
34:50
Barney Codes
Рет қаралды 360 М.
Fixing the REALTIME terrain shadows using YOUR suggestions!
8:40
Barney Codes
Рет қаралды 71 М.
Easy Perlin Noise Flow Fields
10:22
Barney Codes
Рет қаралды 35 М.
What We can Create w/ p5js & Spherical Coordinates
22:24
Kazuki Umeda
Рет қаралды 12 М.
My Adventure with 3D Perlin Noise
4:28
Nova840
Рет қаралды 479 М.