225
edits
Line 24: | Line 24: | ||
Moses reads the RGB levels in an image by using the 'pix mean color' object. These levels are 'unpacked' and channeled into three different but identical sub-patches. Here, the levels filter through an number of 'moses' objects that result in the incoming value aligning with one of sixteen possible numbers. These numbers are outputed from each of the three identical sub-patches into another sub-patch. This sub-patch uses a 'textfile' object. The three incoming numbers dictate which lines from the textfile are to be used. These lines of text are extratced from the file and printed into the dialogue window. | Moses reads the RGB levels in an image by using the 'pix mean color' object. These levels are 'unpacked' and channeled into three different but identical sub-patches. Here, the levels filter through an number of 'moses' objects that result in the incoming value aligning with one of sixteen possible numbers. These numbers are outputed from each of the three identical sub-patches into another sub-patch. This sub-patch uses a 'textfile' object. The three incoming numbers dictate which lines from the textfile are to be used. These lines of text are extratced from the file and printed into the dialogue window. | ||
[[File:Moses.pd]] | |||
[[File:Haiku.SacredTexts.1.txt]] | |||
== documentation == | == documentation == |
edits