Generating NTSC with Arduino

March 12th, 2010 by Robert

Convert an indexed grayscale image (16-color) to a list of hex values for use in arduino program.

png2avr.py


 # copy-it-right
 import sys
 from PIL import Image

 def main():
     image =Image.open("robert_index.png")
     out_f = open("robert_index.txt", "w")

    #image = Image.open(sys.argv[1])

    assert image.mode == 'P', 'image must be indexed'

    #sys.stdout.write(chr(int('11111100', 2)))

    for i, px in enumerate(image.getdata()):
        if(i%160==0):
            out_f.write('\n// '+str(i/160))
            print('\n// '+str(i/160))
            #sys.stdout.write('\n')

        out_f.write(hex(px)+', '),
        print(hex(16-px)+', '),
        #sys.stdout.write(hex(px))
        #print('.')

    out_f.close()

if __name__ == '__main__':
    main()

Indexed 16 Color Grayscale Image (160x120x4bits)
robert_index

Displayed through the Arduino to NTSC video
0314001807

ntsc_out_schematic

Thanks to MeowJapan.

Writeup in Venus Zine: A Show of Their Own

February 18th, 2010 by Robert



A Show of Their Own.
LA’s fem-centric gallery, compactspace, explores the nostalgic side of men with and the world is ours

By Jennifer S. Li
Published: February 17th, 2010 | 11:25pm

https://venuszine.com/articles/art_and_culture/art/6600/A_Show_of_Their_Own

and the world is ours

February 13th, 2010 by Robert

at compactspace, Los Angeles through 3/30/2010. New works by Robert Twomey and Tim Schwartz. read about it here.

if a thing doesn’t exist

December 17th, 2009 by Robert

http://www.google.com/#hl=en&q=%22typing+into+nothing%22&aq=f&aqi=&oq=&fp=cbc2f75bf9d43a8f
but you had already titled one of your efforts in that manner.
a project, for instance,,,
is it yours?
should you populate that space? (by naming it–your project. even it is just a sketch)
claiming it.

talk at DAC 2009

December 17th, 2009 by Robert

On Monday, I presented my paper about language processing and language-based interaction at Digital Arts and Culture 2009. A lot of people I respect were in the room. It went… ok. It will only get better.

http://dac09.uci.edu/day2.html

Noise Reduction

December 1st, 2009 by Robert

Industry Drawings

November 17th, 2009 by Robert

1108091803
Information Industry Nascent Years. Drawings in progress.
projector to canvas

generator / analyst

November 2nd, 2009 by Robert

diagram for collaboration with language processing software. cognitive feedback device. collaborative loop.

three mirrors

November 2nd, 2009 by Robert

three mirrors three mirrors three mirrors

plans for a small installation consisting of a mirror, a see-through mirror (with camera), and a monitor: exploring perception and voyeurism through multiple interlocking circuits of gaze.

how to

October 31st, 2009 by Robert

projector to canvas