Make GLSL Fractals in 3 Minutes

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

Комментарии •

  • @JohnDoesStuffLol
    @JohnDoesStuffLol 3 года назад +46

    beautifully concise, the amount of information you just communicated in under 3 minutes is mind blowing

    • @Radian628
      @Radian628  3 года назад +6

      Thank you! Maximizing information density was my main goal! :)

    • @theevilcottonball
      @theevilcottonball 6 месяцев назад +1

      He just did that by talking at 1.5x speed. :-)

  • @theexplosive583
    @theexplosive583 2 года назад +23

    I love drugs

  • @FunMaker39
    @FunMaker39 3 года назад +8

    Amazing. I'm stunned how simple expression can generate such an interesting pattern.

  • @NonTwinBrothers
    @NonTwinBrothers 3 года назад +11

    Me when floating point for loops
    😳

  • @PalasBrown
    @PalasBrown Год назад +2

    simple and fast video about glsl, keep going

  • @ScryGL
    @ScryGL 3 года назад +42

    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  3 года назад +17

      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 2 года назад

      @@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

    • @lunafoxfire
      @lunafoxfire Год назад +1

      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 Год назад

      I guess those ppl are also code golf fans, so the shorter the solution, the cooler you are 🤷🏻‍♂️

  • @Heavenira
    @Heavenira 3 года назад +7

    >>> "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 Год назад +1

      CGMatter was just trying to be Ian Hubert anyway. and there’s nothing wrong with that either, everyone benefits from the tutorials

    • @Heavenira
      @Heavenira Год назад +1

      ​@@ufffd I don't remember Ian Hubert showing bad practices tho

  • @Johnston.Carliferanda
    @Johnston.Carliferanda Год назад +3

    Glad to catch you right after downing three pots of coffee.

  • @MichaelProstka
    @MichaelProstka 2 года назад +3

    Daaaaamn...and *poof* there goes the weekend. That is strong karate, Sensei.

  • @sinth9865
    @sinth9865 3 года назад +1

    Awesome! That was by far the best video that I've seen on the subject :)

  • @THE_ONLY_GOD
    @THE_ONLY_GOD 2 года назад

    Thanks! Nice speed run! Decided to decrease video playback from 2x for that one.

  • @Zenzicubic
    @Zenzicubic Год назад

    The question is how does this work, and why does this process produce fractals?

  • @daveeckblad
    @daveeckblad Год назад

    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!

  • @hunted_games
    @hunted_games Год назад

    the speed at which you talk blows my mind.

  • @brown__e2779
    @brown__e2779 Год назад

    Nice! It's been a while since I didn't have to increase the playback speed. 🤩

  • @AlbySilly
    @AlbySilly 8 месяцев назад

    thankyouformakingthisvideoitwasreallyinteresting

  • @sciexp
    @sciexp 7 месяцев назад +1

    Thanks for sharing this... Great...

  • @whimsy5623
    @whimsy5623 3 года назад +2

    You're amazing

  • @sierpinskibrot
    @sierpinskibrot 2 года назад

    This was phenomenal man

  • @kbusse
    @kbusse Год назад

    That was good content, but even as a usual speed-watcher I had to slow this down to 0,75

  • @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!

  • @tormentedterror
    @tormentedterror 11 месяцев назад

    Make whole world spin under 10 seconds.

  • @astyd256
    @astyd256 2 года назад +1

    bro this speed 😭

  • @OMNI_INFINITY
    @OMNI_INFINITY Год назад +1

    That background noise is horrible. WHY added such dissonant annoying muzak???

  • @huraqan3761
    @huraqan3761 2 года назад

    Why are you using a float in the for loop? Great video btw

    • @MrTomas7777
      @MrTomas7777 Год назад

      Presumably GPUs handle floats faster than ints?

    • @huraqan3761
      @huraqan3761 Год назад

      @@MrTomas7777 that seems unlikely

  • @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 Год назад +1

      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 Год назад

      thanks !@@MysteryPancake I think it makes sense to me now.

  • @sayochikun3288
    @sayochikun3288 Год назад +1

    You lost me at where you started explaining the fractal code.

  • @brayne_9151
    @brayne_9151 Год назад

    ❤❤❤

  • @OMNI_INFINITY
    @OMNI_INFINITY Год назад

    Thanks, but ditch the annoying background noise "music".

  • @ehouaiscestdwiouaiscestbie2528

    wow thanks

  • @GAMERPRO0719
    @GAMERPRO0719 Год назад

    😄 💖💖💖

  • @Epic501
    @Epic501 Год назад +1

    Brother if you're going to try to talk this quickly you need to enunciate lol

  • @protocol4308
    @protocol4308 Год назад

    😄😄

  • @PoladGncli
    @PoladGncli Год назад

    🆕🆕🆕💣💣💣

  • @N3V3L
    @N3V3L Год назад

    😂

  • @kinsukaweerasooriya2933
    @kinsukaweerasooriya2933 11 месяцев назад

    Bro Lets make Raps Instead of this!

  • @h___em
    @h___em Год назад

    😹😹😹🇹🇹🇹

  • @polatnigdelioglu8664
    @polatnigdelioglu8664 Год назад

    😿 😹😹😹😍

  • @ripkyariz
    @ripkyariz Год назад

    🙎

  • @THE_ONLY_GOD
    @THE_ONLY_GOD 2 года назад +1

    "Don't copy and paste"...LOL

  • @otexongaming1691d
    @otexongaming1691d Год назад

    💭💭💭 🇮😺😺

  • @Thebroskies-4
    @Thebroskies-4 Год назад

    😽 😨

  • @shoaibmseditz3447
    @shoaibmseditz3447 Год назад

    😴😴 😅😅😅😩😩😩

  • @THE_ONLY_GOD
    @THE_ONLY_GOD 2 года назад +1

    multiplication happens BEFORE division. PEMDAS.

    • @Radian628
      @Radian628  2 года назад +2

      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 2 года назад

      @@Radian628 Wow, weird. Didn't know about the left to right precedence. Seems better to avoid that.

    • @Radian628
      @Radian628  2 года назад +1

      @@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 Год назад +1

      @@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)

  • @alifahmedworldeditz_official
    @alifahmedworldeditz_official Год назад

    🇪🇪😧 🔱

  • @Dumbalishbay
    @Dumbalishbay Год назад

    🇷🇷🇷💘