JUG Leader, Java Champion, Speaker, Author, ❤️ Java(FX) and coding in general
In this article, we comparatively evaluate four different approaches to render particles in JavaFX in terms of runtime performance.
The approaches are Canvas, PixelBuffer AWT, PixelBuffer CPU and PixelBuffer GPU.
The evaluation suggests the following order of approaches from fastest to slowest:
– PixelBuffer GPU (fastest).
– PixelBuffer CPU.
– PixelBuffer AWT.
– Canvas (slowest).
In a previous post, Getting Started with FXGL Game Development, we already have taken a look at the FXGL game development framework developed by Almas Baimagambetov.
But, this game engine can also be used for other use cases. In this post, we will be building a system monitoring dashboard, which can run on a Raspberry Pi.
The dashboard can be used to keep an eye on any device that can report its state to a queue. And, for me personally, it finally solves the problem of finding the IP addresses of all my Raspberry Pi’s when my router decided to shuffle them.
To celebrate the world of Java and predict some highlights for 2021, several key Foojay participants share their thoughts, starting with Frank Delporte, Foojay Community Manager for Raspberry Pi.
“Looking back to my Java adventures in 2020, I can only conclude it has been a wonderful journey.
By writing my book “Getting Started with Java on the Raspberry Pi” and blogging for Foojay, I discovered Java in the embedded world has a very bright future. With the 6-month release cycle of both Java and JavaFX, a lot of improvements and new features that impact the use of Java on Raspberry Pi, are introduced with every new version.”
In this part of the series, you’ll get a chance to use some math and trig skills to determine how to position parts of the hour hand.
After learning how to convert the math to usable functions, you get a chance to see JavaFX’s FXML annotations to reference nodes on the scene graph.
Lastly, you’re able to see animations of the hour hand move about the clock face.
Over the last weeks, we looked at the current Covid-19 developments in Europe, China and South America. In Europe, we saw that the second wave is breaking and has already peaked in most countries.
The data from the Our World In Data (OWID) COVID-19 data set includes the pseudo-continent of “Oceania” as a collective term for all countries in Australia, New Zealand and Polynesia.
Let’s take a look at this area with Software-ECG.
Welcome to Creating a JavaFX World Clock from Scratch (Part 1)! In this series of blog entries I would like to show you how I created a “sci-fi” looking world clock that happens to be a cross-platform Java desktop application.
Here I will explain my thought process, development workflow, and of course JavaFX code details. Since it’s still in the early stages, you can tune in by commenting or joining foojay’s Slack channel at foojay.slack.com , where I and others (Java experts & friends of OpenJDK/OpenJFX) can offer advice.
Software-ECG is a free time series analysis tool originally developed for time series analysis for system analysis of computer problems in distributed systems. With the Covid-19 edition, QAware has adapted the tool so that the current data from the data hub of the University of Oxford are automatically loaded and immediately available for analysis.
Last week, we compared the situation in Europe and in China and discovered interesting anomalies in the data on Russia, Ukraine, Serbia, and China.
This week, we are going to compare Europe with South America.
Some days ago I finished a CAD application whose purpose is to calculate the energy efficiency of Dwellings (or multiple Dwellings). It can be seen as an application similar to Autocad (which is used in Civil Engineering, Architecture, etc) but with the specific purpose to do energy efficiency assessment.
I believe, having a good UX, features users have been dying to have, good, well structured code that lets you continuously evolve and better maintain what you already have and finally topping all that with a nice looking user interface, are the markers to a successful application. I think we’ve been able to score high in all those markers.
In last week’s blog, we took a look at the current situation in Europe. We saw that the second wave is already breaking in Europe. Over the past week, this trend seems to have continued.
But there are some countries where the graphs are different. These are Russia, Serbia and Ukraine. Let us also take a look at countries outside of Europe and analyze China. This country also has a very interesting chart.
In Europe, the number of people who tested positive is now declining.
With the Software ECG Covid-19 Edition, you can evaluate the most important Covid-19 time series across countries.
The ECG offers the possibility to display several metrics via logical expressions and to limit them to time periods. Currently you can observe very nicely the breaking of the 2nd wave in Europe.
Native Applications for Multiple Devices from a Single JavaFX Project with Gluon Mobile and GitHub Actions
The power of JavaFX combined with the Gluon tools and GitHub actions is amazing. Building and distributing a truly cross-platform application has never been easier!
Really not a single code change is needed to run on different platforms. As you can see from the build processed, the exact same code is used to create native applications for both Windows, Linux, MacOS, iOS, and Android!