Share your repls and programming experiences

← Back to all posts
3d but its actually fake
EpicRaisin (199)

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 WORK I 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

Commentshotnewtop
AJDevelopment (83)

@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

Wilke000 (501)

@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!"

firefish (794)

@Wilke000 i got an F? I at least deserve a D-

Wilke000 (501)

NEVER @firefish!!!! HAW HAW HAW HAW HAW!!!!

firefish (794)

@Wilke000 No worries, all the buuilders that got an F were australian, blame australia

Bookie0 (4607)

I only see 2D lmao
(jk)

what about adding cool colors, and more shapes to make it cooler! ;)

EpicRaisin (199)

@Bookie0 Yeah, I'm trying to get the filling to work so I can add colors, and I'm also working on shapes.

ShivankChhaya (102)

@EpicRaisin You should make the colors so that it changes with the position.

jcubic (3)

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.

EpicRaisin (199)

@jcubic lol I made this becuz I dont want to learn algebra lol

RedPandaCode (25)

World's first ever infinite prism

ArivMukati (11)

AMAZING MY THINGS SUCK IM A BEGINNER BUT YOURE AWESOME

TommyVictory (197)

@PlaySoccer Wait. You guys now any js at all?

bowmand117 (3)

@ArivMukati i want to learn java but cant even do simple block coding at https://www.scratch.mit.edu

ashrit_lv (22)

I am the biggest noob of all :(

Wilke000 (501)

I wouldn't call me a noob or a pro @ArivMukati

IntelDS (0)

@ArivMukati Hello looks like I belong here

TheForArkLD (734)

omg hi EpicRaisin, long time no see.
I'm TheForArkLD / Pognise.

legobuddy63 (2)

This is like, super cool.

EpicRaisin (199)

lol all ur comments make me laugh
thx for all the bananas
i shall have a feast of bananas

AJDevelopment (83)

me wasting time with this even though i was going to check when the light turns off in the fridge:

Owen34Chiang (0)

Yeah, it looks pretty cool.

techde (123)

Pls dont beg for upvotes also COOL rpoject!

EpicRaisin (199)

@techde yeah bananas are better anyway
i ask for bananas now

TsunamiOrSumth (352)

@techde are you ok in the head

AHAHAHAHAHAHAHHAAHAHHAHAAAAHAHAHAHAHAHAHAHAHAH XD LOL POG LMAOOOOOO

AJDevelopment (83)

@JBYT27 techde is perfectly ok something is wrong with him/her he/she should probably google whats wrong

nt998302 (202)

The future of Vulkan

DSAEthanS (2)

150th upvote! Nice work!

Dasooperbobby (0)

Wow. This is actually pretty cool.

SoloBoy999 (11)

click for a different color!

AmazingMech2418 (941)

Nice one-point perspective!

KrazyOrange (24)

lol nice!
Here are some bananahs: 🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌

Pugmaster04 (0)

lol, I love this! It literally is a fake 3d form. Nice!

ridark (106)

My Great House

i think this might actually be what i live in when i grow up lol

abdullahrajput9 (247)

WOWWWW!!!!

A fake thing getting soo many upvotes XD

JK

No Offence @EpicRaisin

DabDatBass (11)

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

theknightD2 (1)

🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌
I donated 20 bananas because I like it XD

ashrit_lv (22)

Sooo... I wanted to build a house

EpicRaisin (199)

@TalinSharma Yeah, I was experimenting with something, I fixed it.

EvokerKing (0)

That's cool and I'm curious about how it works but I'm pretty sure my brain can't handle it.

EpicRaisin (199)

@EvokerKing actually its pretty much just if statements