Simple DNA Model
It was Wednesday, 17th of July. I met with a visiting scholar Xie Zuo Ru from China. Xie is an awarding-winning high school teacher in the area of technology education. His research interests focused on the use of interactive media to promote science, technology, engineering and mathematics (STEM) education. The interactive media refers to the small computers such as Arduino and Raspberry Pi that are affordable, programmable, and capable of transforming virtually any objects into input and output devices. A wide range of interactive media applications such as turning a drawing of keyboard into a real keyboard or remote control of household appliances makes the teaching and learning fun and creative. He is also an expert in robotics and programming.
In exchange, I also showed him my VRMath2 application. During our discussion, we created in less than 5 minute a simple DNA model. You can see below and if you wish, copy and paste the code into the VRMath2 to try.
; Simple DNA model ; By Andy and Xie Zuo Ru ; CS ; clearscreen RESET TL 90 REPEAT 20 [ ; change 20 to larger number if you want a longer DNA model SETSCALE 0.1 1 0.1 SETMAT 0 RANDOM 36 ; get a random material setting from set 0 in material chooser ; create a scaled can (cylinder) as a link CAN SETSCALE 0.25 0.25 0.25 SETMAT 6 RANDOM 36 ; create 2 scaled ball (sphere) on two sides of the link as atoms RU 90 FD 0.5 BALL BK 1 BALL FD 0.5 RD 90 FD 0.2 ; forward a little bit UP 0.2 ; up a little bit TL 15 ; turn a little bit ]
One of the key ideas for this simple DNA model is to show how the DNA molecule spirals in space. In VRMath2, we can use LOGO language to easily move and turn to create this model.
The DNA molecule is however, not this simple. If you are interested, please take a look of some pictures from Wikipedia, and you may create a better 3D visualisation of DNA in VRMath2.
Please leave your comments or questions, and let me know what you think.
- Andy's blog
- Login or register to post comments
- 5845 reads