News for hackers. Stuff that matters.
Re:Running a 60fps web application using a RaspberryPi by matthewmacleod on Wednesday October 21, 2015 @06:30AM (#10424590)
This is great advice. I have also done some work on building a good user interface using the Pi, and was surprised by how difficult it was. There's no good Android build available for the Pi, for example – would be ideal for many of the kind of UIs you would want to implement.

In the end I have been using a Go web server with websockets to display a single-page app in Firefox running under X. It's still not totally satisfactory though – UI is slow due to the lack of HW acceleration, and there is no nice solution for on-screen keyboards, so I'll probably have to implement one in JS eventually. Touch screen support is sketchy at best.

Are there other similar platforms out there that might offer HW acceleration or working Android implementations? I also had a crack at the Orange Pi which claims to have functioning Android, but… let's say that's an overstatement.

Re:Running a 60fps web application using a RaspberryPi by pjc50 on Wednesday October 21, 2015 @07:10AM (#10424691)
lack of HW acceleration

Genuine question: where does the obstacle lie here? The BCM2835 is a hardware video accelerator with a small ARM on the side. GPU libraries are available. Is it something missing from X or Firefox?

Re:Running a 60fps web application using a RaspberryPi by rasz_pl on Wednesday October 21, 2015 @07:54AM (#10424825)
Limitation is in "developers", that is WEB developers playing with embedded systems. There is nothing stopping you from deploying dedicated OpenGL application on RPi, but this is not the 2.0 way. Bros want nodejs and responsive UIs in javascript .... you end up with this: https://youtu.be/tG70c3Zadek?t=10m49s

tldr: full minute to boot X and chromium just to implement simple 20 lines of python application.

Re:Running a 60fps web application using a RaspberryPi by matthewmacleod on Wednesday October 21, 2015 @09:08AM (#10425124)
Don't be a dick about it.

Of course you can build an OpenGL ES application on the Pi – there are people doing this. But that's a absolute frigging world away from being able to build a usable UI on it.

For example, I am building a device that interacts with a user. It basically looks like a standard iOS or Android app, in that it has a few screens of text, some form fields, select boxes, and other UI widgets. Building this sort of application as a barebones OpenGL implementation would be stupid.

Re:Running a 60fps web application using a RaspberryPi by tjoff on Wednesday October 21, 2015 @09:24AM (#10425208)
Whatever floats your boat. If you can leverage existing code then this might be an excellent option. But for the general use case building a simple and/or decent user interface I would say that you probably would be way better of just using QT.
Re:Running a 60fps web application using a RaspberryPi by fit2rule on Wednesday October 21, 2015 @10:41AM (#10425721)
Use MOAI. I did. It freakin' rocks on the rPi and is one hell of a great way to build a delightful UI ..
Re:Running a 60fps web application using a RaspberryPi by zehfernandes on Wednesday October 21, 2015 @09:41AM (#10425296)
The most important thing is shipping ideas. Languages and system cannot be obstacle

Using the web with embed system allow new horizons and new people play with this. Of course, we can do applications with OpenGL but the first step can be with a universal environment like a web.

Re:Running a 60fps web application using a RaspberryPi by fookyong on Wednesday October 21, 2015 @06:51AM (#10424643)
Also interested in a response.

There's also a bunch of OEM options from China (pico pcs / stick pcs) that look like they might do the job but might be overpromising...