Rounded box

14 views
Skip to the first unread message

Bruce Sherwood

unread,
28 Jun 2017, 22:14:0628/06/2017
to Glowscript 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,
29 Jun 2017, 16:12:2529/06/2017
to Glowscript Users
I was able to simplify the code somewhat.
Reply all
Reply to author
Forward
0 new messages