MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/a27d7u/render_3d_cube_wireframe_in_console/eavrrzh/?context=3
r/Python • u/vanyakosmos • Dec 01 '18
39 comments sorted by
View all comments
76
if someone need it https://github.com/vanyakosmos/ascii-canvas/blob/012b70fa57f3fe990997370b459f1cb3429268f5/playground.py
40 u/muntoo R_{μν} - 1/2 R g_{μν} + Λ g_{μν} = 8π T_{μν} Dec 02 '18 Most well-written code I've yet seen on this sub for these visualizations posts...Though you could consider using quaternions just for the heck of it. :-) 9 u/oogje Dec 02 '18 It's so clean, python can be beautiful... 0 u/[deleted] Dec 02 '18 [deleted] 5 u/muntoo R_{μν} - 1/2 R g_{μν} + Λ g_{μν} = 8π T_{μν} Dec 02 '18 I'm looking at purely style and structure, not algorithmic beauty.If you've been through the source of most posts on here, they're usually hundred lines of nested ifs and weird gunk.This one was clean and organized. Many small, short functions. 1 u/BaneOfFishBalls Dec 12 '18 Just for the heck of it?I have been lurking, but this comment makes me really sad.I Just Kant.Stupid puns 10 u/Samareye987 Dec 02 '18 Is this done with an external library? 25 u/vanyakosmos Dec 02 '18 with numpy 1 u/Chicken-of-Wisdom Beginner Python Programmer Dec 02 '18 Thancc
40
Most well-written code I've yet seen on this sub for these visualizations posts
...Though you could consider using quaternions just for the heck of it. :-)
9 u/oogje Dec 02 '18 It's so clean, python can be beautiful... 0 u/[deleted] Dec 02 '18 [deleted] 5 u/muntoo R_{μν} - 1/2 R g_{μν} + Λ g_{μν} = 8π T_{μν} Dec 02 '18 I'm looking at purely style and structure, not algorithmic beauty.If you've been through the source of most posts on here, they're usually hundred lines of nested ifs and weird gunk.This one was clean and organized. Many small, short functions. 1 u/BaneOfFishBalls Dec 12 '18 Just for the heck of it?I have been lurking, but this comment makes me really sad.I Just Kant.Stupid puns
9
It's so clean, python can be beautiful...
0
[deleted]
5 u/muntoo R_{μν} - 1/2 R g_{μν} + Λ g_{μν} = 8π T_{μν} Dec 02 '18 I'm looking at purely style and structure, not algorithmic beauty.If you've been through the source of most posts on here, they're usually hundred lines of nested ifs and weird gunk.This one was clean and organized. Many small, short functions.
5
I'm looking at purely style and structure, not algorithmic beauty.
If you've been through the source of most posts on here, they're usually hundred lines of nested ifs and weird gunk.
This one was clean and organized. Many small, short functions.
1
Just for the heck of it?
I have been lurking, but this comment makes me really sad.
I Just Kant.
Stupid puns
10
Is this done with an external library?
25 u/vanyakosmos Dec 02 '18 with numpy
25
with numpy
Thancc
76
u/vanyakosmos Dec 01 '18
if someone need it https://github.com/vanyakosmos/ascii-canvas/blob/012b70fa57f3fe990997370b459f1cb3429268f5/playground.py