Skip to content
← Back to Community
3D Engine Demo
Profile icon
h
has Hacker Plan
CoolqB

Hello fellow programmers!

I decided to spice up the community a little and created a quick 3D engine, it's nothing fancy, however, it has been created only in Repl.it and I think it demonstrates the power of this platform.

-- Link --
https://repl.it/@CoolqB/3D-Engine

-- Features --

  • Rotating cube! How awesome is that? :D

-- Bugs --

  • Strange freezing issue when it runs for too long, I would assume this is something to do with the turtle graphics frontend?
Voters
Profile icon
ZacharyChang4
Profile icon
8ninja8
Profile icon
DanielRatliff
Profile icon
programmeruser
Profile icon
N3rdL0rd
Profile icon
AmethystMoon1
Profile icon
TurtleAndrew
Profile icon
MemeManHimself
Profile icon
ivanchang309
Profile icon
LiamGoodey
Comments
hotnewtop
Profile icon
ivanchang309

Awesome!

Profile icon
jimxin2595

Sweet!

Profile icon
CoolqB

@jimxin2595 Thanks for your comment :)

Profile icon
Babbel

i get an error :/

This file cannot be displayed: https://storage.googleapis.com/replit/images/1530784306713_2f02f4bc6075f4eb69c0756974ac6979.pn

Profile icon
CoolqB

@Babbel Oh that's strange... External error implies that it is either a problem with your browser or repl.it, I would assume. Though nothing but imports exist on ln: 12. And null doesn't exist in Python, it's called None.

This doesn't seem to be an issue with my program. Maybe try refreshing, or another browser? Thanks for showing interest nonetheless :)

Profile icon
eliena

WOAH

Profile icon
CoolqB

@eliena Thanks for showing interest :)
I'll be sure to post future projects here in Repl.it, currently working on a programming language implementation. A programming language in a programming language inside repl.it... inception!

Profile icon
DemonZZ

how do you move?

Profile icon
DemonZZ

its not rotating or anything :/

Profile icon
NRED03

Very nice, very clean. Good job!

Profile icon
amasad

This is pretty cool! How do you reproduce the freezing issue? It's running pretty smoothly for me.

Profile icon
CoolqB

@amasad I had to reduce the frame rate in order to reduce the issue (though if you leave it for long enough, eventually it will freeze. To reproduce, change the line self.pointer.tracer(0, 20) to self.pointer.tracer(0, 0) and comment out the time.sleep(1 / 60). I developed this using Firefox. My PC isn't bad, GTX 1060, FX8350. The canvas is cleared, and I tested this as a standalone program and it worked fine, any ideas?

Sometimes it lasts longer than others, try restarting/refreshing if it lasts long or freezes instantly.