ASCII Tesseract Rotation Written in C

Поділитися
Вставка
  • Опубліковано 20 жов 2021
  • Directly view the source file:
    gist.github.com/Mashpoe/3d949...
    In case you want to easily open this in Visual Studio:
    github.com/mashpoe/hypercube
    Paper:
    hollasch.github.io/ray4/Four-...

КОМЕНТАРІ • 56

  • @nilaier1430
    @nilaier1430 2 роки тому +212

    Hey, Mash. We already had a 1D game from you, when will there be a 4D game made out of ASCII characters?

  • @HarhaMedia
    @HarhaMedia 2 роки тому +44

    I've read the exact paper years ago when I was fascinated with 4D->3D->2D stuff for a while. Neat stuff, love the 4D miner project, very refreshing ideas.

  • @ronaldiplodicus
    @ronaldiplodicus 2 роки тому +87

    Imagine Dwarf Fortress in 4D. It's already confusing enough that you only can see a 2D cross section of the 3D world, plus the harder to understand graphics would make it the most confusingest game of all time. That would be incredible.

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

      I think there's potential for 4D games, but honestly Dwarf Fortress seems like the type of game that would be more of a novelty in 4D, literally just something to look at and go "look how crazy this is." I don't think it would be genuinely playable in any serious sense.

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

      Actually, that wouldn't be impossible. Considering the cross section doesn't really have gravity, you could represent it as a 3d space, with elevation only really being represented as symbols. If you've played hyperrogue and messed around with any of the 3d modes, or played any kind of 3d trad roguelike (without gravity) then you probably know what I mean.

  • @Narutoninjaqiu
    @Narutoninjaqiu 2 роки тому +9

    Cool! Looking forward to the big project!

  • @bigsadge
    @bigsadge 8 місяців тому +1

    I looked away for a second and when I looked back, I interpreted what I was looking at differently.
    So when the video started I could see it just turning. but after looking away and back, I could see what you meant. That's wild.

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

    this has to be the best explanation of a 4d cube ive ever seen

    • @luis-sophus-8227
      @luis-sophus-8227 7 місяців тому

      For real, I would be confused as why one part would look smaller or inside but now I assimilated it.

  • @deadlyore3986
    @deadlyore3986 2 роки тому +9

    Wow, this is actually really cool! I TOOOOOTALLLLY am wondering what your next BIG project is ;) ;) ;)

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

    This is impressive. Really impressive!

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

    Great Job this inspired me

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

    2d projection of a 3d shadow of a 4d box

  • @AB-Prince
    @AB-Prince Рік тому +1

    if you focus you can see the rotation of the 4d cube opposed to it deforming

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

    The projection of a 4d cube into a 3d space displayed on a 2d screen mhm

  • @ChillSeb.
    @ChillSeb. 2 роки тому +20

    "I made a simple c program" *500 lines of code*

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

      when working with larger projects in that language, the 500 line mark blows by in the blink of an eye

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

      I 100% agree! At the same time I tend to never use *OOP* (object-oriented programming) so I rarely get over the 300 mark. But when I code in Java (I really don't understand how java works) I would regularly end up writing like 50 functions lol.
      class main {
      public static void ligma(String [] args) {
      System.out.println("Life is too short to code in java please send help")
      }
      }

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

      @@ChillSeb. You have a lot to learn.

    • @ChillSeb.
      @ChillSeb. Рік тому

      @@joshuagollaher9614 Sadly, yes

  • @SKO_PL
    @SKO_PL 2 роки тому +9

    I'm wondering what kind of projection is that? Is this just a simple orthographic projection, that is, ignoring z and w coordinates? Or is this some kind of perspective?
    Edit: Okay, I looked through the source code and it seems that it goes like this: first it's a perspective projection from 4D onto a 3D hyperplane, and THEN the 3D "image" is projected AGAIN using perspective onto the 2D plane of view. A projection of a projection. Double perspective. Pretty cool.

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

    this makes my brain break

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

    Your amazing

  • @luis-sophus-8227
    @luis-sophus-8227 7 місяців тому

    *4D understanding complete*

  • @MrGN-yy6op
    @MrGN-yy6op Рік тому +1

    YES IT'S IN C!!

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

    Kind of scary how fast we humans are evolving.

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

    Meanwhile I didn't even know there's a thing called 4D.

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

    Message before I will watch the video: Bro.

  • @qinshunzheng9054
    @qinshunzheng9054 2 місяці тому +1

    WHERE IS THE LINK OF THIS VIDEO!

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

    For when you have enough resources for 4D, but not for a line

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

    Can you try to make a 0d game

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

      You will be the first UA-camr to make a 0d game if you do it

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

      KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK

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

      .

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

    How about 3D donuts? :D

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

    UA-cam is really recommending me a lot of 4D stuff and it's really confusing for me

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

    And no classes 😎

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

    can someone make this into a gif

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

    Am I the only one who thought ASCII is Assasin's Creed II? 🤣🤣

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

    If he hates the letter C why is he even using the C program?

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

    spoilers>:(