Help! processing interface with Json of Philips hue

Does anyone know how processing interface with Philips hue Json to control the light?
I find a sample code online but it seems not working. https://github.com/callil/hueP5

And I also find another way of doing it. it seems that I need to use Eclipse to interface with the light API. Is that the only way I can do it?
https://www.excellence-blog.com/2017/01/23/%E7%85%A7%E6%98%8E%E3%82%92%E5%88%B6%E5%BE%A1-processing-philips-hue-%E3%81%9D%E3%81%AE1/

Check this A universal ambilight

Based on the github source code, he is just sending some data using a server/client software, similar to an http request. In your case, you need to check the documentation of your device to see if they provide details how you could interface with it. Notice the github is about 4 years old. Although it is old, I doubt they have changed that much… Do a bit of research online about your device and see if you can get more leads.

Kf