ASCII Tesseract Rotation Written in C

Поделиться
HTML-код
  • Опубликовано: 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-...

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

  • @nilaier1430
    @nilaier1430 2 года назад +214

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

    • @elnico5623
      @elnico5623 2 года назад +69

      Oh you wouldn't have guessed

    • @anonymouskitten4715
      @anonymouskitten4715 2 года назад +48

      He can see things before they happen, it’s a jedi trait

    • @nilaier1430
      @nilaier1430 Год назад +8

      But it's not made out of ASCII characters...

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

      There is one now😅

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

      @@nilaier1430 fuck ascii man 😭 you just predicted the future

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

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

  • @bigsadge
    @bigsadge 9 месяцев назад +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.

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

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

    • @luis-sophus-8227
      @luis-sophus-8227 8 месяцев назад

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

  • @Narutoninjaqiu
    @Narutoninjaqiu 2 года назад +9

    Cool! Looking forward to the big project!

  • @deadlyore3986
    @deadlyore3986 2 года назад +9

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

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

      @@ChillSeb. You have a lot to learn.

    • @ChillSeb.
      @ChillSeb. 2 года назад

      @@joshuagollaher9614 Sadly, yes

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

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

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

    This is impressive. Really impressive!

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

    Great Job this inspired me

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

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

    Kind of scary how fast we humans are evolving.

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

    Your amazing

  • @MrGN-yy6op
    @MrGN-yy6op 2 года назад +1

    YES IT'S IN C!!

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

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

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

    Message before I will watch the video: Bro.

  • @luis-sophus-8227
    @luis-sophus-8227 8 месяцев назад

    *4D understanding complete*

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

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

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

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

  • @qinshunzheng9054
    @qinshunzheng9054 3 месяца назад +1

    WHERE IS THE LINK OF THIS VIDEO!

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

    Can you try to make a 0d game

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

      You will be the first RUclipsr to make a 0d game if you do it

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

      KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK

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

      .

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

    How about 3D donuts? :D

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

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

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

    And no classes 😎

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

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

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

    can someone make this into a gif

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

    spoilers>:(