Uncategorized

Hexapod Spider Robot

How cool is that?! I want to build one 5 feet tall and ride it around town.

Miscellaneous

Building 3D models on the fly

Want perfect lighting and super detailed realism in your next 3D game? Build a scale model of your world, then run it through a program like this!

The algorithm builds a point cloud (a whole science to itself) and then a Delaunay tetrahedralization over many frames. In normal speak, the comptuer recognizes spots on the model even when the model moves. Those spots are used to figure out the shape of the surfaces of the model. As the model moves the shapes are refined.

Read more

Tutorials

Creating HTML select easily in PHP

Creating a &;t;select> in PHP can be a mess, if done naively. This should make life a little easier.

$str="<select name='fries_with_that'>
<option value='true'>Yes</option>
<option value='false'>No</option>
</select>";

foreach($customer as $person_id=>$details) {
  $fries_with_that=$details['fries_with_that'];
  $str=str_replace("value='$fries_with_that'","value='$fries_with_that' selected",$str);
  echo str_replace("name='fries_with_that'","name='fries_with_that_$person_id'",$str);
}