Make GLSL Fractals in 3 Minutes

  Рет қаралды 18,961

Radian628

Radian628

2 жыл бұрын

Alternate title: Me being a CGMatter ripoff for 3 minutes.
Find shadertoy here: www.shadertoy.com/new

Пікірлер: 64
@JohnDoesStuffLol
@JohnDoesStuffLol 2 жыл бұрын
beautifully concise, the amount of information you just communicated in under 3 minutes is mind blowing
@Radian628
@Radian628 2 жыл бұрын
Thank you! Maximizing information density was my main goal! :)
@theexplosive583
@theexplosive583 2 жыл бұрын
I love drugs
@NonTwinBrothers
@NonTwinBrothers 2 жыл бұрын
Me when floating point for loops 😳
@FunMaker39
@FunMaker39 2 жыл бұрын
Amazing. I'm stunned how simple expression can generate such an interesting pattern.
@sinth9865
@sinth9865 2 жыл бұрын
Awesome! That was by far the best video that I've seen on the subject :)
@sierpinskibrot
@sierpinskibrot Жыл бұрын
This was phenomenal man
@ScryGL
@ScryGL 2 жыл бұрын
Oh hell yes! Just one criticism, you named your variables actual useful names like 'normalizedCoord' and 'angle', its common practice to instead pick those at random. Its like you don't want the fun of having no idea how something works that you wrote barely a week ago! 😁
@Radian628
@Radian628 2 жыл бұрын
Thank you! And yeah it often annoyed me how a lot of shaders tend to have super short, confusing variables names. I understand that most of them likely weren't made with this in mind, but it makes them sooo much harder to dissect. I always like to lean slightly on the side of more verbose.
@anis6674
@anis6674 Жыл бұрын
@@Radian628 bro its always fun to name variables a,b,c those fun stuff yk sometimes i like to name them LCD because the fractals reminds me of it
@lydianlights
@lydianlights Жыл бұрын
Omg yes people who write shader code are obsessed with terrible variable names because idk it makes them feel like a hacker or something lmao.
@VRchitecture
@VRchitecture 10 ай бұрын
I guess those ppl are also code golf fans, so the shorter the solution, the cooler you are 🤷🏻‍♂️
@PalasBrown
@PalasBrown 6 ай бұрын
simple and fast video about glsl, keep going
@THE_ONLY_GOD
@THE_ONLY_GOD Жыл бұрын
Thanks! Nice speed run! Decided to decrease video playback from 2x for that one.
@MichaelProstka
@MichaelProstka Жыл бұрын
Daaaaamn...and *poof* there goes the weekend. That is strong karate, Sensei.
@whimsy5623
@whimsy5623 2 жыл бұрын
You're amazing
@a_coneish_one4398
@a_coneish_one4398 Жыл бұрын
thanks so much for this video! I'm trying to learn hlsl and this video is a great help!
@Heavenira
@Heavenira 2 жыл бұрын
>>> "Me being a CGMatter ripoff for 3 minutes." You are doing a better job than CGMatter. I kind of have a grudge with his teachings, b/c when CGMatter touched on OSL in "Create Procedural Fractals Fast", he threw in bad practices just for comedic giggles. I was unable to learn from it. This on the other hand has jumpstarted me on Shadertoy, so good work.
@ufffd
@ufffd Жыл бұрын
CGMatter was just trying to be Ian Hubert anyway. and there’s nothing wrong with that either, everyone benefits from the tutorials
@Heavenira
@Heavenira Жыл бұрын
​@@ufffd I don't remember Ian Hubert showing bad practices tho
@sciexp
@sciexp 13 күн бұрын
Thanks for sharing this... Great...
@AlbySilly
@AlbySilly Ай бұрын
thankyouformakingthisvideoitwasreallyinteresting
@Johnston.Carliferanda
@Johnston.Carliferanda Жыл бұрын
Glad to catch you right after downing three pots of coffee.
@hunted_games
@hunted_games Жыл бұрын
the speed at which you talk blows my mind.
@brown__e2779
@brown__e2779 8 ай бұрын
Nice! It's been a while since I didn't have to increase the playback speed. 🤩
@daveeckblad
@daveeckblad 8 ай бұрын
could you please use a pop screen on your mic and also add highpass filter at 100hz to your vocal channel in your movie editor? TY!
@Zenzicubic
@Zenzicubic Жыл бұрын
The question is how does this work, and why does this process produce fractals?
@astyd256
@astyd256 Жыл бұрын
bro this speed 😭
@brayne_9151
@brayne_9151 Жыл бұрын
❤❤❤
@GabrielSimLaramee
@GabrielSimLaramee Жыл бұрын
maybe this is obvious: Why does ... length(normalizedCoord + vec2( 0.2, -0.3)) randomize? Or were you just saying these were randomly chosen? I'm assuming it's something about how length() works. I couldn't figure it out online.
@MysteryPancake
@MysteryPancake 9 ай бұрын
It doesn't randomize, they were randomly chosen as you say. It offsets the fractal's position so the red green and blue channels have different values, similar to chromatic aberration. Length() is the same as measuring how far away a point is from 0, 0, 0.
@GabrielSimLaramee
@GabrielSimLaramee 9 ай бұрын
thanks !@@MysteryPancake I think it makes sense to me now.
@ehouaiscestdwiouaiscestbie2528
@ehouaiscestdwiouaiscestbie2528 Жыл бұрын
wow thanks
@tormentedterror
@tormentedterror 4 ай бұрын
Make whole world spin under 10 seconds.
@kbusse
@kbusse 5 ай бұрын
That was good content, but even as a usual speed-watcher I had to slow this down to 0,75
@huraqan3761
@huraqan3761 Жыл бұрын
Why are you using a float in the for loop? Great video btw
@MrTomas7777
@MrTomas7777 9 ай бұрын
Presumably GPUs handle floats faster than ints?
@huraqan3761
@huraqan3761 9 ай бұрын
@@MrTomas7777 that seems unlikely
@GAMERPRO0719
@GAMERPRO0719 Жыл бұрын
😄 💖💖💖
@OMNI_INFINITY
@OMNI_INFINITY 9 ай бұрын
Thanks, but ditch the annoying background noise "music".
@protocol4308
@protocol4308 Жыл бұрын
😄😄
@sayochikun3288
@sayochikun3288 Жыл бұрын
You lost me at where you started explaining the fractal code.
@N3V3L
@N3V3L 7 ай бұрын
😂
@ripkyariz
@ripkyariz Жыл бұрын
🙎
@PoladGncli
@PoladGncli Жыл бұрын
🆕🆕🆕💣💣💣
@OMNI_INFINITY
@OMNI_INFINITY 9 ай бұрын
That background noise is horrible. WHY added such dissonant annoying muzak???
@THE_ONLY_GOD
@THE_ONLY_GOD Жыл бұрын
"Don't copy and paste"...LOL
@kinsukaweerasooriya2933
@kinsukaweerasooriya2933 4 ай бұрын
Bro Lets make Raps Instead of this!
@h___em
@h___em Жыл бұрын
😹😹😹🇹🇹🇹
@polatnigdelioglu8664
@polatnigdelioglu8664 Жыл бұрын
😿 😹😹😹😍
@Vlogmander
@Vlogmander Жыл бұрын
😽 😨
@otexongaming1691d
@otexongaming1691d Жыл бұрын
💭💭💭 🇮😺😺
@alifahmededitz_vlogs_official
@alifahmededitz_vlogs_official Жыл бұрын
🇪🇪😧 🔱
@shoaibmseditz3447
@shoaibmseditz3447 Жыл бұрын
😴😴 😅😅😅😩😩😩
@Epic501
@Epic501 9 ай бұрын
Brother if you're going to try to talk this quickly you need to enunciate lol
@THE_ONLY_GOD
@THE_ONLY_GOD Жыл бұрын
multiplication happens BEFORE division. PEMDAS.
@Radian628
@Radian628 Жыл бұрын
Not necessarily--- usually in programming languages (and in fact in regular math notation) multiplication and division have the same precedence, and are evaluated left-to-right. The same applies to addition and subtraction. GLSL is consistent with this behavior. Scroll down a bit to find the precedence table: registry.khronos.org/OpenGL/specs/gl/GLSLangSpec.4.60.html#preprocessor
@THE_ONLY_GOD
@THE_ONLY_GOD Жыл бұрын
@@Radian628 Wow, weird. Didn't know about the left to right precedence. Seems better to avoid that.
@Radian628
@Radian628 Жыл бұрын
@@THE_ONLY_GOD To me having multiplication and division at the same precedence kind of makes sense--- after all, division could be thought of as shorthand for multiplying by a reciprocal. The operators are so similar that it makes sense at least to me to treat their precedence as if they were one and the same. This is even more apparent for addition and subtraction imo--- subtraction is just adding a negative.
@AlFredo-sx2yy
@AlFredo-sx2yy Жыл бұрын
@@THE_ONLY_GOD in PEMDAS multiplication and division have the exact same precedence lmao. 1) Parenthesis 2) Exponents (square roots are literally fractionary exponents, meaning that the nth root is the inverse of the nth power, so as you can see they both have the same precedence for a good reason.) 3) Multiplication and Division (Divisions are literally the inverse of a multiplication. Multiplying by 1/x is the same as dividing by x. So, again, as you can see they both have the same precedence for a good reason) 4) Addition and Subtraction (Subtractions are the same as adding negative values, so, again, the same logic applies, subtraction is the inverse of addition, so, once again, they have the same precedence for a good reason)
@Dumbalishbay
@Dumbalishbay Жыл бұрын
🇷🇷🇷💘
Browser-based Realtime 3D Fractal Generator
0:34
Radian628
Рет қаралды 7 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 935 М.
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 5 МЛН
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 8 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 13 МЛН
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 116 МЛН
Photorealistic 3D Fractals in Desmos
5:30
Radian628
Рет қаралды 109 М.
Making My Own Programming Language and Coding a Game in It
10:19
AstroSam
Рет қаралды 1,2 МЛН
10 FORBIDDEN Sorting Algorithms
9:41
Ardens
Рет қаралды 808 М.
How Particle Life emerges from simplicity
10:16
Tom Mohr
Рет қаралды 331 М.
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,4 МЛН
How I made my own Fractal
17:33
Kuvina Saydaki
Рет қаралды 84 М.
The Beauty of Code: Flow Fields
7:17
Chris Courses
Рет қаралды 144 М.
I made this 3D game with ONLY code
9:06
Carter Semrad
Рет қаралды 433 М.
Color Quantization and Dithering
11:55
Acerola
Рет қаралды 412 М.
Overview of GLSL, the OpenGL Shading Language
13:56
Shadron
Рет қаралды 104 М.
Самый дорогой кабель Apple
0:37
Romancev768
Рет қаралды 296 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 5 МЛН
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 3,3 МЛН