3d but its actually fake
I decided to challenge myself to create a 3d renderer. But since I suck at JS for some reason, I decided to do this pseudo-3d renderer instead.
The things that make it suck compared to other 3d renderers
- It doesnt even have Z coordinates yet, right now, it just goes off into the distance indefinitely.
- No shading
I CANT GET THE FILLING TO WORKI actually go this to work.- The fact that it isnt even like a full package yet.
In the repl, you can move your mouse around to move the cube.
NEW: You can now click to change the color.
I dont know why I made this. Donate bananas for more dumb repls like this
@Bookie0 Yeah, I'm trying to get the filling to work so I can add colors, and I'm also working on shapes.
lol ok cool! :D @EpicRaisin
@EpicRaisin You should make the colors so that it changes with the position.
To create basic working 3D renderer you would need to learn a bit (if you don't know it already) about Algebra that they tough at college especially Matrix objects that are extension of vectors that you learn in high school. You can read about them on Wikipedia. When I was in college I've created basic rendered in C++ that was generating flash animation I still have the source code of that project on GitHub maybe it will inspire you, you can even use the code it's open source. https://github.com/jcubic/flash-3d the project even have demo (I was able to use JavaScript library that runs flash in browser using JavaScript). The data for the object that is animating was taken from 3D Studio Max, if I remember correctly it's classic 3D object used to showcase computer graphics.
@jcubic lol I made this becuz I dont want to learn algebra lol
World's first ever infinite prism
AMAZING MY THINGS SUCK IM A BEGINNER BUT YOURE AWESOME
@ArivMukati I'm a bigger noob
@RahulChoubey1 Me too!
me three @JaydenLiu1
@PlaySoccer Wait. You guys now any js at all?
@ArivMukati i want to learn java but cant even do simple block coding at https://www.scratch.mit.edu
ya, ik a little @TommyVictory
I am the biggest noob of all :(
I wouldn't call me a noob or a pro @ArivMukati
@ArivMukati Hello looks like I belong here
@PlaySoccer me 4 :|
The future of Vulkan
omg hi EpicRaisin, long time no see.
I'm TheForArkLD / Pognise.
@TheForArkLD ah yes hello
This is like, super cool.
lol all ur comments make me laugh
thx for all the bananas
i shall have a feast of bananas
me wasting time with this even though i was going to check when the light turns off in the fridge:
Pretty neat
Yeah, it looks pretty cool.
Pls dont beg for upvotes also COOL rpoject!
@techde yeah bananas are better anyway
i ask for bananas now
@techde are you ok in the head
AHAHAHAHAHAHAHHAAHAHHAHAAAAHAHAHAHAHAHAHAHAHAH XD LOL POG LMAOOOOOO
@JBYT27 techde is perfectly ok something is wrong with him/her he/she should probably google whats wrong
@EpicRaisin i don't have bananas
I made a PJS one: https://repl.it/@Omay/Fake-3D#index.html
150th upvote! Nice work!
Wow. This is actually pretty cool.
click for a different color!
Nice one-point perspective!
lol nice!
Here are some bananahs: 🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌
lol, I love this! It literally is a fake 3d form. Nice!
BANANAS 🍌
noice
Go check out https://scratch.mit.edu/projects/406896730/! (Although it is Scratch, everything in Scratch can be converted to JS.) The tutorial talks about vectors and fov
🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌
I donated 20 bananas because I like it XD
@TalinSharma Yeah, I was experimenting with something, I fixed it.
OK... lol. Cool thing! @EpicRaisin
Pasalo culo
That's cool and I'm curious about how it works but I'm pretty sure my brain can't handle it.
@EvokerKing actually its pretty much just if statements
Squids are 3D
"Fake"
@TommyVictory 2d house generator
lol @RedPandaCode

@HarperframeInc That's beautiful
@HarperframeInc

@AJDevelopment Nice house!
@RedPandaCode australian house

@firefish lol
@TommyVictory LOl 😝
@firefish i was going to do that until i realized it might not have been funny but it's actually funny and i regret making that decision
@AJDevelopment lol
me joke stealer@TommyVictory it seems that the builders have done it again:

Their teacher: "You get an F, you get an F, and finally, you get an F!"
@Wilke000 i got an F? I at least deserve a
D-
NEVER @firefish!!!! HAW HAW HAW HAW HAW!!!!
@Wilke000 No worries, all the buuilders that got an F were australian, blame australia
YA @firefish