Rounded box

24 views
Skip to first unread message

Bruce Sherwood

unread,
Jun 28, 2017, 10:13:34 PM6/28/17
to 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

unread,
Jun 29, 2017, 4:12:11 PM6/29/17
to VPython-users
I was able to simplify the code somewhat.
Reply all
Reply to author
Forward
0 new messages