Monday, February 13, 2017

Smart Video Car Kit for Raspberry Pi with Android App - Robotic

https://www.sunfounder.com/rpi-car.html


Sent from my iPad

Thursday, February 09, 2017

Piet is a language that interprets graphic files as source code.



This is “Hello World” in Piet:


It could also be written this way:


Piet is an esoteric language that interprets graphic files as source code. Each block of color is interpreted according to its hue, its brightness, and its size. There’s nothing missing in either of these examples; there’s no written code hiding behind the pictures. If you load either of these graphics into a Piet interpreter, you’ll get the console output “Hello World”.

https://www.quora.com/What-programming-language-has-a-cool-Hello-World-program
http://www.dangermouse.net/esoteric/piet.html
https://esolangs.org/wiki/Piet
http://www.majcher.com/code/piet/Piet-Interpreter.html
https://www.bertnase.de/npiet/

It runs a Stack based machine code similar to the Java JVM Virtual Machine so it should possible to compile real code in to these and run them.


Wednesday, February 08, 2017

Gradient-index (GRIN) optics

https://en.wikipedia.org/wiki/Gradient-index_optics

Gradient-index (GRINoptics is the branch of optics covering optical effects produced by a gradual variation of the refractive index of a material. Such variations can be used to produce lenses with flat surfaces, or lenses that do not have the aberrations typical of traditional spherical lenses. Gradient-index lenses may have a refraction gradient that is spherical, axial, or radial.

History

In 1854, J C Maxwell suggested a lens whose refractive index distribution would allow for every region of space to be sharply imaged. Known as the Maxwell fisheye lens, it involves a spherical index function and would be expected to be spherical in shape as well (Maxwell, 1854). This lens, however, is impractical to make and has little usefulness since only points on the surface and within the lens are sharply imaged and extended objects suffer from extreme aberrations. In 1905, R W Wood used a dipping technique creating a gelatin cylinder with a refractive index gradient that varied symmetrically with the radial distance from the axis. Disk-shaped slices of the cylinder were later shown to have plane faces with radial index distribution. He showed that even though the faces of the lens were flat, they acted like converging and diverging lens depending on whether the index was a decreasing or increasing relative to the radial distance (Wood, 1905). In 1964, a posthumous book of R. K. Luneburg was published in which he described a lens that focuses incident parallel rays of light onto a point on the opposite surface of the lens (Luneburg, 1964). This also limits the applications of the lens because it is difficult to use it to focus visible light; however, it has some usefulness in microwave applications.