I decided to use jit.gl.text2d as the main object to draw my texts on the screen.
Here are some test about the object.
In this moment, I would like to connect my data analyze patch to the jit.gl.text2d patch to see if it’s work.
It is not complicate as it looks like.
data to jit.gl.text2d patch:

Fortunately, It works. see!!! I typed good. Did you see that!
Result:

Next step, I realized that one text object can only content one text ,then how to make multiple texts on the screen?
That’s easy! As a normal person, I will try to duplicate the patch……I won’t attach it here, just imagine “data to jit.gl.text2d patch” duplicate 100 times. I’ll tell you the result: it works.
Result:

Programming, Thesis Project
This is the patch about how to identify the good words and bad words in my project.

The upper part of this patch just is for nature speaking or nature typing. I set space key to send a bang, so we don’t need to press enter to send the texts to the database.
The “coll object” construct my data inside(see right image). Whenever the text information go through it, it can send the different texts to different receiver. For example, when I type happy, according to the data in the “coll object”, the program will recognize the word happy and send any related information such as texts, numbers and bang which I already setup to the positive receiver.
Now, the tricky part is that I should figure out how the treat the words which is not in the “coll object” database. It seems no this kind of outlet….
Programming, Thesis Project
Recent Comments