Rounded box

已查看 24 次
跳至第一个未读帖子

Bruce Sherwood

未读,
2017年6月28日 22:13:342017/6/28
收件人 VPython-users
In response to a question about how to make a box with rounded corners, here is a way:

http://www.glowscript.org/#/user/Bruce_Sherwood/folder/Pub/program/RoundedBox

When viewing the program, click "Edit this program" to see the code. I guess this is a candidate for adding to VPython.

Of course if you run this in VPython 7 you need to change the first line to be "from vpython import *".

Bruce Sherwood

未读,
2017年6月29日 16:12:112017/6/29
收件人 VPython-users
I was able to simplify the code somewhat.
回复全部
回复作者
转发
0 个新帖子