How I Made The World with SINE

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 235

  • @cybernit3
    @cybernit3 11 місяців тому +3

    I believe when the VOID (SPACE) was first created the Tone "OH" was used before the big bang. If you look at the formula for volume of a spheroid (V = 4/3 * pi * r^3); pi = irrational constant which shows KAOS exist from that alone.
    I guess it is like GOD breath the Tone "OH" and the radii of the void space got larger (like blowing up a balloon)... then eventually there was a big bang. I sound crazy and it is metaphysical; but I feel satisfied with this answer to understand the universe.
    Thanks for the video showing the power of GPUs... and for teaching me about Vertex and Fragment shaders. take care...

  • @jarvis612
    @jarvis612 2 роки тому +36

    Good job is done! For me, the main reason water looks unusual lies in fact it ignores terrain. Waves do not change direction colliding with obstacles, which makes them look totally unrealistic. I ask author to try to consider some solution (of course, not to make physical simulation of water, but to investigate some trick to add water natural look), if it is interesting for them. Anyway, thank's author for what is already done!

  • @TheTruthIsGonnaHurt
    @TheTruthIsGonnaHurt Рік тому +46

    *Great Work!*
    I once heard that the very foundation of our entire universe / multiverse is built by frequency. That everything is created by the harmonics.

    • @pimposki6232
      @pimposki6232 Рік тому +3

      this is true i suppose. i mean, fourier's theorem breaks all complex sound waves as a sum of sine waves and i see no reason for that not to extend to things like radio waves and even the complex movements of matter itself, like the excitation of particles themselves. do note though that i am just an audio engineer and my education in physics at university was mostly regarding acoustics and electronics, and was only a part of the coursework

  • @simondev758
    @simondev758 2 роки тому +3

    I love the overall atmosphere here.

  • @christopherquigley5468
    @christopherquigley5468 Рік тому +66

    Given that everything we see around us is because of light, which travels as a wave, it doesn’t surprise me.
    But, the fact you decided to create a world out of sine waves is amazing.
    Really cool stuff!

    • @Redshift666
      @Redshift666 Рік тому

      Matter is light/mind/sinusoids. Light has and will synthesize matter via the fourier transform. Breit-wheeler synthesis. Look into ontological mathematics.

  • @redredrxd8451
    @redredrxd8451 2 роки тому +16

    this is terrifyingly beautiful

  • @Шлепус-ъ2ш
    @Шлепус-ъ2ш 2 роки тому +450

    Next video: Making minecraft in python

    • @TheLatrax
      @TheLatrax 2 роки тому +6

      Yes please!

    • @LocalBurglar
      @LocalBurglar 2 роки тому +17

      It should have been in java

    • @Шлепус-ъ2ш
      @Шлепус-ъ2ш 2 роки тому +14

      This is can made with ursina

    • @FXUNDPLXGG
      @FXUNDPLXGG 2 роки тому +12

      @@Шлепус-ъ2ш PyOpenGL никто не отменял, будет сложнее, но зато работать будет быстрее

    • @bingusiswatching6335
      @bingusiswatching6335 2 роки тому +31

      oh God it'll be even slower

  • @jeffcummings3842
    @jeffcummings3842 2 роки тому +29

    Beautiful, and yes some kind of TTS or voice filter, haha, love the videos, keep em coming! I'm definitely going to try something like this with terrain generation soon.

  • @darkabstergo5838
    @darkabstergo5838 Рік тому +4

    Super nice implementation of the concept of the Fourier series!

  • @nextwave319
    @nextwave319 Рік тому +2

    hey man, just checked your github, your coding style is Genius! - clarity and organisation.

  • @lyte69
    @lyte69 2 роки тому +10

    great video, I've always liked to create different worlds using generative techniques by random choice and see the exciting results and play with it, would love to see more.

  • @thedreamingtraveller8550
    @thedreamingtraveller8550 2 роки тому +137

    I really love your videos. You do a great job everytime. However, I happen to prefer the procedural graphics videos quite a lot. Do you think you could do something similar for your next video

    • @CoderSpaceChannel
      @CoderSpaceChannel  2 роки тому +18

      Yes, from time to time I will release a video on this topic

    • @thedreamingtraveller8550
      @thedreamingtraveller8550 2 роки тому +7

      @@CoderSpaceChannel Thanks a lot. Looking forward to it

    • @marcoantonioalonso482
      @marcoantonioalonso482 2 роки тому +1

      @@CoderSpaceChannel I've seen a video showing a procedural 2D water animation, but the person only shared the source file and didn't explain anything. Could you make a video about it?

    • @CoderSpaceChannel
      @CoderSpaceChannel  2 роки тому +4

      @@marcoantonioalonso482 yes it is an interesting topic

  • @o-manthehuman7867
    @o-manthehuman7867 2 роки тому +14

    You could probably add in some smoothing, and maybe layer in some cosine with smoothmin to make the terrain less noisy and a bit more realistic

  • @walidslimani
    @walidslimani Рік тому +1

    AS a math student this is just a little use of the vaste mysterious world of mathematics , there A lot of secrets in this math world , good vid keep up

  • @bitpilot79
    @bitpilot79 2 роки тому +1

    Really nice result. Thanks for sharing!

  • @Alannnn14
    @Alannnn14 Рік тому +1

    Astronaut: Wait, its all sine?
    Astronaut with a gun: It always has been.

  • @aiksi5605
    @aiksi5605 2 роки тому

    This channel was like, hand-picked specifically for me lol.
    Thanks for your work!

  • @Auios
    @Auios Рік тому +3

    Awesome work!
    Off topic but I have been interested in map generation using Wave Function Collapse. I like your video format and I think it could be a cool topic for your channel!

  • @slavsquatsuperstar
    @slavsquatsuperstar Рік тому +1

    “It’s all sine?”
    “Always has been.”

  • @viniciusleandrodeloi1582
    @viniciusleandrodeloi1582 Рік тому +1

    -Wait it's all sine?
    - Always has been

  • @kech-agmaio8620
    @kech-agmaio8620 2 роки тому +1

    Hauntingly beautiful

  • @LowLevelLemmy
    @LowLevelLemmy 2 роки тому +2

    Wait, it’s all sine function?
    🔫 Always has been

  • @wzafar7099
    @wzafar7099 Рік тому

    Good video about Law of creativity. Sine wave with Random Noise.
    Same wave can generate Living beings.
    Also add distance function to generate more planets, stars and galaxies.

  • @Gamertaque
    @Gamertaque Рік тому +3

    Idea: prcedural subdivision, at darker points you subdivide the plane more making the mountains or terrain easier to run

  • @ZuvielDrama
    @ZuvielDrama 2 роки тому +4

    Awesome Work!!!!

  • @electrictrojan6719
    @electrictrojan6719 2 роки тому +5

    I can't believe you give this away for free

  • @rupajchowdhury1877
    @rupajchowdhury1877 Рік тому +1

    Minecraft: Hold my cubes

  • @abd-yq2up
    @abd-yq2up Рік тому +1

    very cool brother !!

  • @ThankYouESM
    @ThankYouESM 9 місяців тому

    There's also a way to use PIL filter blend (plus Image rotate) to get any such results incredibly fast.

  • @APotatoWT
    @APotatoWT Рік тому +1

    That's pretty insane

  • @ИванНовожилов-э9з
    @ИванНовожилов-э9з 2 роки тому +2

    Beautiful!

  • @NighthawkRPL
    @NighthawkRPL Рік тому +2

    how to scare a pre calc or trignometry student:

  • @0x4849
    @0x4849 2 роки тому +3

    *laughs in fourier transform* (great vid though ;))

  • @dineshvyas
    @dineshvyas Рік тому +1

    Subscribed instantly.

  • @suicraft8395
    @suicraft8395 2 роки тому +1

    What a great video, really interesting

  • @stcpimus
    @stcpimus 8 місяців тому

    Hi from colombia: Tnx for this you are awesome.

  • @BombasticTom492
    @BombasticTom492 Рік тому +1

    planet cos next

  • @DarryanDhanpat
    @DarryanDhanpat Рік тому +1

    Fourier is quaking

  • @meetpatel7683
    @meetpatel7683 2 роки тому +2

    You are underrated!!

  • @AJ-et3vf
    @AJ-et3vf Рік тому

    Awesome video! Thank you!

  • @kylebarvel
    @kylebarvel Рік тому

    You made planet 9. Good job on this one this inspired me

  • @user-xv6ig2yp3z
    @user-xv6ig2yp3z 2 роки тому +1

    Next episode of "trigger your imposter syndrome in less than 10 minutes"

  • @md.mizanurrahmanxendpdc.369
    @md.mizanurrahmanxendpdc.369 2 роки тому

    I want to see this 100 times after my exam

  • @WeyardWiz
    @WeyardWiz 2 роки тому

    4:04 not hashicorp terraforming of course 😉

  • @GrinninPig
    @GrinninPig Рік тому

    I mean all of reality is wave functions, so it should be possible. but holy cow what a great job, looks amazing

  • @SA-so7jah
    @SA-so7jah 4 місяці тому

    Це дуже круто і цікаво ❤

  • @kungfooman
    @kungfooman Рік тому +1

    "How I Wrote This Comment with SINE"... somewhere in some computer system

  • @McSwey
    @McSwey Рік тому +1

    And you can actually shape it to your liking with the Fourier transform

  • @blitzwolf4052
    @blitzwolf4052 Рік тому +1

    I’ve never realized how much python looks like c++. Thankful I could understand this at all, great work!

    • @CoderSpaceChannel
      @CoderSpaceChannel  Рік тому

      Python was used to initialize the OpenGL context, but the rest is C-like language GLSL

    • @XENON2028
      @XENON2028 Рік тому

      most of the code was in GLSL not in python

  • @Veptis
    @Veptis Рік тому

    I am learning shadercode by working in language model evaluation for shader code. And I have seen various implementations for noise. But never reall understood the real semantics behind it. Evaluating if the model can generate the fitting type of noise for a specific program might be a good benchmark task.

  • @Jera2271
    @Jera2271 Рік тому +1

    This is a very interesting video to watch even if I don't know anything about coding
    Out of curiousity, is it possible to build a planet using cosecant, arcsine, and hyperbolic sine?

  • @alexandrohdez3982
    @alexandrohdez3982 Рік тому

    what a great video congrat 👏👏👏

  • @halite4116
    @halite4116 2 роки тому

    Nice video, very impressive ! Really like your videos.

  • @cheersqweate4232
    @cheersqweate4232 Рік тому +2

    You're cool
    You can tell you how to make mountains colored (using a gradient). PLEASE

  • @7guitarlover
    @7guitarlover Рік тому

    This is awesome ! Subscribed ! Can you suggest some resources / books to read more about such stuff. Looking fwd for more such videos.

  • @Bizarro69
    @Bizarro69 Рік тому +1

    So we're living in a sinelation 😏

  • @engineeredarmy1152
    @engineeredarmy1152 Рік тому

    Awesome work!

  • @markusmiekk-oja3717
    @markusmiekk-oja3717 Рік тому

    One thing I wonder about with the use of octaves in terrain generation: wouldn't using a stretched or compressed octave (something like 2.01 or 1.997 somesuch) give a slightly less predictable "waveform"? How about adding a second, stretched harmonic beyond that? (3.02 or somesuch)? Everywhere I've seen this, it's always been octaves, but ... from a world-generating perspective, it seems to me that just fudging that factor of two a bit would improve the outcome. Is there any particular reason exactly 2 is favored?

  • @astrah982
    @astrah982 Рік тому

    I would generate and hold the values on the CPU side as then you have access to physics.
    If you have a shader do it you’re only displaying graphics.

  • @Gangstar-nd9fm
    @Gangstar-nd9fm 2 роки тому +4

    Hello. Can you please tell me how to master moderngl as well? I usually use it for my game. With grief in half I learned to draw textures in 2D. Now I want to learn how to do 3D and draw graphics. Before that, there were no cases with OpenGL. Maybe i need to start somewhere else. Can you provide links to sources on your subjects?

    • @CoderSpaceChannel
      @CoderSpaceChannel  2 роки тому +1

      maybe this will help:
      ua-cam.com/video/eJDIsFJN4OQ/v-deo.html

    • @Gangstar-nd9fm
      @Gangstar-nd9fm 2 роки тому +1

      @@CoderSpaceChannel Thanks for the quick response! Yes, I think that's what i need! Thanks a lot!

  • @fench1234567
    @fench1234567 Рік тому +1

    So is using sine in modern imagery and tech just a "sine of the times"?

  • @Redshift666
    @Redshift666 Рік тому

    When you accidently uncover the secrets of pythagorean illuminism and demonstrate the fourier transform as a generative of space and time values.

  • @diegohiroshiysusvideos2909
    @diegohiroshiysusvideos2909 Рік тому

    These Pipeline rendering GPU system are beautiful. uwu
    Currently, I'm working in the Lumen illumination system.

  • @vayunandanakishore6652
    @vayunandanakishore6652 Рік тому

    Wow.....awesome.....

  • @c14662
    @c14662 Рік тому

    if you press 1,2,3 or 4 on your keyboard he always initializes those timestamps with the word "function"

  • @jennycotan7080
    @jennycotan7080 Рік тому

    Just like some mad modern Taoist (and maybe some of those Lady Gaga's Chromatica fans) thinks, a world where Sine is the god-dess which made up everything!
    Maybe on the water, we can have travelling sinusoids, on different freq's and travelling in their different speed?
    And, I think that the textures of the "rolling hills" seem to be a bit too... unnatural. Can we use just 2-4 rather low freq's of sinusoids, and a bit more rather high freq's, with no annoying, less important middle-freq ones? Maybe that'll be throretically easy, for splitting the terrain wave function (Pun intended!) into two of them, one for the basic terrain shape, the another one makes the texture?
    (Fun fact: Weierstrass function, that fractal-like one, is also based on sinusoids and resembles mountains better than those you displayed here! )
    Maybe that can help you create a more realistic and wild sinusoidal land! Sadly I'm not an experienced programmer who can just do some impractical simple programming on Python and Mathematica scripts.

  • @linux_devs
    @linux_devs 2 роки тому +1

    Next video making sinecraft

  • @trol0001
    @trol0001 2 роки тому +2

    If the terrain was a bit smooth you could navigate it easily In-game

  • @ciyrotix6240
    @ciyrotix6240 2 роки тому +2

    Wait, it's all sine?
    Always has been.

  • @samriddhsinha6492
    @samriddhsinha6492 Рік тому +2

    When a coder gets a Math Project ..

  • @doltramir
    @doltramir 2 роки тому

    Why not also use noise to shift coordinates a bit, so that the pattern would be even less visible, or just disappear entirely?

  • @yxngboypolo
    @yxngboypolo 2 роки тому +1

    What would happen if you collectively switched every sine function to tangent?

  • @skyneon-8500
    @skyneon-8500 2 роки тому +2

    I like you videos

  • @skahrnunend9232
    @skahrnunend9232 2 роки тому +8

    Could u do it in the Godot engine with the python-like GDscript :), I could donate a little bit for it, I really don’t know what to do with it yet, and I am a poor game dev student now. But would be really exiting and thrilling to learn from your tutorial in Godot and see the result and be able to populate this SINE planet with Npcs and so on. You are the John Avon of python. Best regards :)

    • @CoderSpaceChannel
      @CoderSpaceChannel  2 роки тому +3

      I'm not a Godot expert but try just applying this fragment shader to the Viewport (and don't forget the uniform variables)

    • @algodude8713
      @algodude8713 Рік тому

      Godot currently does not support using GLSL shaders so you would have to rewrite it in the Godot shader language. It's very similar to GLSL so it shouldn't be too difficult.

    • @nocturne6320
      @nocturne6320 Рік тому

      The entire terrain is rendered in a shader, you shouldn't need to write a single line with GDScript, only port the shader over to Godot's shading language

  • @coolbrotherf127
    @coolbrotherf127 2 роки тому

    What kind of real time performance does this project get? Does it only render screen space geometry or culling hidden polygons?

    • @CoderSpaceChannel
      @CoderSpaceChannel  2 роки тому +1

      170 fps rtx 3070 mobile. Only two triangles are used for rendering (4 vertices)

  • @mohamedhamdi366
    @mohamedhamdi366 2 роки тому +1

    man you are cool

  • @pvic6959
    @pvic6959 2 роки тому +4

    If you make a planet based the Sine function, is it a Sin?

    • @CoderSpaceChannel
      @CoderSpaceChannel  2 роки тому +3

      To the music: Pet Shop Boys - It's A Sin

    • @SENTRY456123
      @SENTRY456123 Рік тому

      @@CoderSpaceChannel everywhere I'm going to, it's a sin

  • @JustAPokemonCommentingOnVideos

    good job 👍

  • @asenvelkov301
    @asenvelkov301 2 роки тому +4

    I saw your github, uhm, any chance you're bulgarian? After seeing most of ur vids i believe you're some sort of a genius, like how u just know when to apply all algorithmic logic and math, im mindblown

    • @WeyardWiz
      @WeyardWiz 2 роки тому +2

      It's not immediate. He actually solves these and researched prior to recording. It actually may have taken him a month

  • @cookiepolice2086
    @cookiepolice2086 Рік тому

    Where do you find how to use moderngl I tried to google but none of the results were helpful

  • @ИванНефедов-я2э
    @ИванНефедов-я2э 2 роки тому +5

    Круто! Продолжай ❤

  • @SkyFly19853
    @SkyFly19853 2 роки тому

    New video!
    Nice!

  • @vialomur__vialomur5682
    @vialomur__vialomur5682 2 роки тому

    wow! love it

  • @VishalKumar-nv3pi
    @VishalKumar-nv3pi Рік тому

    Bro, how do you get this type of skill? Share your tips to us.

  • @ENRGguy
    @ENRGguy Рік тому

    Who didn't understand: he made the sea waves from sine wave, and rocks generation with sine wave.

  • @RandomDucc-sj8pd
    @RandomDucc-sj8pd 2 роки тому +1

    Next video: Simulating quantum physics using a potato

  • @Clepy
    @Clepy Рік тому

    Man u deserve a sub

  • @zoravarbajwa2266
    @zoravarbajwa2266 Рік тому

    What would the world look like if you replace all of the sine functions with cosine functions, without changing any of the other code? And the same thing, but with the tangent function

    • @CPep
      @CPep Рік тому

      I would love to see the totally different result when using cosine functions 🙏🙏

  • @BurrritoYT
    @BurrritoYT Рік тому +1

    Wait, it's all a sine?
    Always has been.

  • @bezimiennygrzes5593
    @bezimiennygrzes5593 2 роки тому

    whats difference between this and perlin funciton

  • @basicallybrand
    @basicallybrand Рік тому

    how does it run so smooth for you? python is so slow for me

  • @Kapcpa
    @Kapcpa 2 роки тому

    Idea for next video: 2d line of sight using py opengl?

  • @quinnsine1650
    @quinnsine1650 Рік тому

    Nice!

  • @MohamedHamdi-vh6od
    @MohamedHamdi-vh6od Рік тому

    Hello Mr coder space how can import a object "player"r

  • @swag_designs5470
    @swag_designs5470 2 роки тому

    Amazing

  • @rustamtermenusmack7165
    @rustamtermenusmack7165 Рік тому

    Voxel Cone Tracing + Ray Marching in python

  • @williamyeoh4743
    @williamyeoh4743 Рік тому +2

    That's insine...

  • @mainframeomega3154
    @mainframeomega3154 Рік тому

    Now imagine if you integrated it with cosine and tangent

  • @levshx
    @levshx 2 роки тому

    how to make approximately equidistant random points with a seed? I have no idea :D

  • @theokenric
    @theokenric Рік тому

    Born in Sine