Geometry

Andy's picture

Robotic arm

Robotic arm

In the last two years or so, I started learning about 3D printing and coding various microcontrollers. The ultimate purpose is to bring these into STEM education and promote maker culture in schools. Last year in 2019, I started a MakerClubQUT and began documenting variouso maker projects. End of 2019, I started building my first simple robotic arm and thought about the 3D rotations for the robotic arm to reach any particular location in space. I thought that I might try coding a virtual robotic arm in VRMath2, and here it is.

Andy's picture

Chaos game - square fractal

Chaos game square

Chaos game is a mathematical way to generate fractals. It has a simple algorithm, which (1) starts from a radom point with a polygon, then (2) randomly selects a vertice, (3) plots a new point midway between the starting point and the selected vertice. The ploted mid point then becomes the step (1) and reiterates the steps as many times as you like to generate a geometric figure. The example below in this blog uses a square as the polygon to generate a chaos game square fractal.

Andy's picture

The Sun and Earth model

Most of us may know that the distance between the Sun and the Earth is one AU (Astronomical Unit: 150,000,000 km). However, due to the various online solar system images, many of us are not clear about how the Earth and Sun look like in space in the actaul scale. The VRMath2 Editor is a 3D modelling application, and is capable of modelling our solar system. Therefore, I did an experiment in modelling the Earth and Sun using actual parameters. The results are not as good as I expected, but they do make me appreciate the awe of the solar system, and the difficulties in modelling and comprehending the science of our solar system.

Andy's picture

Hemnes Desk

Hemnes desk

The Hemnes desk is a simple design. It has a table top and three compartments for storage. The programming could be simple but because I tool a challenge to use egocentric movements only, so it takes more than two hours to complete. Another reason for the longer time taken was that during the construction, I actually found a bug in the VRMath2 Editor, which puzzled me with some strange behaviour of the turtle movement.

vrmath's picture

Dragon curve 2

This is a coding project page.

Andy's picture

Flying boxes

flying boxes

In Web3D '17 Conference, James showed me how to do particle effect in Unity, which is very very cool. Then I thought that I may be able to create similar effect in my VRMath2 Editor. It turned out that it is quite easy to program in VRMath2, but of course the visual is not as good as in Unity. The simple codes, however, may be worth seeing, so here we go.

Andy's picture

Sea simulation

sea simulation

In junior high school maths, there are usually questions about measuring the angle of depression and/or distance using trigonometry. Common examples could be like "Find the angle of depression from a lighthouse beacon 112 m above the sea level to a boat that is at a horizontal distance of 1.5 km from the lighthouse". A picture (not to scale) may be given as the one on the right. But then, what if the scenario is in 3D?

Andy's picture

A boat with a sail

Boat

A classic boat has a main body (hull) and a mast with a main sail. Using the build-in primative objects, there could be some possible boats contructed. In this blog, I used three objects: a SNOUT for the hull, a CYLINDER for the mast, and a 2D PIE for the sail. Of course these objects are scaled and textured with materials and images to be looking like (I hope blush) . 

Lara's picture

Quartz Molecule

Quartz molecule

All matter in the world is compounded from basic units of measurements called atoms. Atoms are made up of protons and neutrons, making the nucleus in the centre and electrons, which are much lighter in rings around it. Elements are substances made from only one type of atom, although when different atoms combine, they form compounds, or molecules. In a compound the atoms are being held together with chemical bonds. In this blog, I will be talking about the structure and characteristics of the molecule quartz.

cpark's picture

Sodium Flouride 3D Model

My partner and I have choosen Sodium Flouride to base this blog on and create a virtual 3D model of it. In this blog I will show the 3D model of the Sodium Flouride made by using the VR maths program. Then I will give details on the composition, structure, and characteristics of the molecule. Further information, questions, interesting ideas and difficulties faced in the programming will be discussed. Links for the logo and code used will be provided.