Re: [racket-users] Re: How to draw a 3D ball?

2015-07-21 Thread JK
Le 20/07/2015 11:03, Mianlai Zhou a écrit : Hi, Thanks for your answer. I meant the former, i.e., a 2D pict of a ball with some shading to make it look 3D. Is there any quick way to do it or I have to implement the algorithm by myself? The answer is more general than just in the

Re: [racket-users] Re: How to draw a 3D ball?

2015-07-20 Thread Mianlai Zhou
Hi, Thanks for your answer. I meant the former, i.e., a 2D pict of a ball with some shading to make it look 3D. Is there any quick way to do it or I have to implement the algorithm by myself? Thanks again. On Mon, Jul 20, 2015 at 8:38 AM, Jack Firth jackhfi...@gmail.com wrote: On Saturday,

[racket-users] Re: How to draw a 3D ball?

2015-07-19 Thread Jack Firth
On Saturday, July 18, 2015 at 7:30:42 PM UTC-7, Mianlai Zhou wrote: Hi all, I am wondering how to change the following code of a 2D circle into a 3D ball: (require slideshow) (colorize (filled-ellipse (* size 15) (* size 15)) red) My intention is to make the picture look like a