Posts

HARDWARE

Image
  "Half of everything is luck." Alec Trevelyan, Goldeneye.  Firstly if you are serious about Arduino projects, a company called Jaycar Electronics has an article titled "Arduino Power Saving and Battery Night Light". You must have this article.  Arduino Leonardo programmed to be gamepads for Windows computers. Refer to GAMELASTER on github for a better written version.  This code will turn the leonardo into a gamepad with two joysticks and 32 buttons.  Every second the 32 buttons represent 100,000 in binary and 1,000,000 in binary. The first button is the least significant bit. When I explained MAKER TECH to my uncle I used as an example, a pressure sensor that can be tapped or pressed hard like the punch pads on the old Street Fighter arcade machine. A temperature sensor could be rubbed with the thumb to generate heat to trigger an button press. A rotation sensor could simulate a reel on a fishing rod, or a steering wheel in a car. Endless possibilities!  ...

C64 IN 3D

Image
  "You are what you do. " Kuato, Total Recall.  This is a 3D Voxel simulation(using scalar fields) of the C64 bitmap system. It consists of a background 3D bitmap (landscape). A foreground 3D bitmap (trees, buildings, grasses, etc...). Finally it has eight 3D sprites (dynamic bitmaps). The sprites have a collision detection system with background to sprite collisions, foreground to sprite collisions, and sprite to sprite collisions.  The engine is a rebalanced version of the Mode 9 engine. The main thread was doing too much work, so I gave more processes to the second thread. It now runs at my target fps while only using 70% thread capacity. Before I required 4ghz turbo to reach my target. Now it can be done with 2ghz at 70%. May be able to run on a Raspberry Pi.    The Gamepad API is working on Microsoft Edge, Google Chrome, and Mozilla Firefox.  It has the following mappings   INSPIRATIONS   When I started this project my only inspiration was th...