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-...
Hey, Mash. We already had a 1D game from you, when will there be a 4D game made out of ASCII characters?
Oh you wouldn't have guessed
He can see things before they happen, it’s a jedi trait
4d miner
But it's not made out of ASCII characters...
There is one now😅
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.
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.
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.
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.
Cool! Looking forward to the big project!
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.
this has to be the best explanation of a 4d cube ive ever seen
For real, I would be confused as why one part would look smaller or inside but now I assimilated it.
Wow, this is actually really cool! I TOOOOOTALLLLY am wondering what your next BIG project is ;) ;) ;)
Yes
This is impressive. Really impressive!
Great Job this inspired me
2d projection of a 3d shadow of a 4d box
On the 5d floor
processed by my 1D brain
The machine code must be read in 1d, which means "forward".
if you focus you can see the rotation of the 4d cube opposed to it deforming
The projection of a 4d cube into a 3d space displayed on a 2d screen mhm
"I made a simple c program" *500 lines of code*
when working with larger projects in that language, the 500 line mark blows by in the blink of an eye
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")
}
}
@@ChillSeb. You have a lot to learn.
@@joshuagollaher9614 Sadly, yes
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.
this makes my brain break
Your amazing
*4D understanding complete*
YES IT'S IN C!!
SO WHAT WILL YOU DO THEN?
Kind of scary how fast we humans are evolving.
Meanwhile I didn't even know there's a thing called 4D.
Message before I will watch the video: Bro.
WHERE IS THE LINK OF THIS VIDEO!
For when you have enough resources for 4D, but not for a line
Can you try to make a 0d game
You will be the first UA-camr to make a 0d game if you do it
KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
.
How about 3D donuts? :D
UA-cam is really recommending me a lot of 4D stuff and it's really confusing for me
And no classes 😎
can someone make this into a gif
Am I the only one who thought ASCII is Assasin's Creed II? 🤣🤣
If he hates the letter C why is he even using the C program?
spoilers>:(