Live data from Hacker News

Can Grafana run Doom?

grafana.com

1–10 of 40 posts

Re: Can Grafana run Doom?

#3
A rare exception to Betteridge's Law Of Headlines ("any headline that ends in a question mark can be answered by the word no").

Possibly even a candidate for a consistent exception: any headline that asks if Turing-complete system can run Doom can be answered by the word yes.

Re: Can Grafana run Doom?

#4

A rare exception to Betteridge's Law Of Headlines ("any headline that ends in a question mark can be answered by the word no "). Possibly even a candidate for a consistent exception: any headline that asks if Turing-complete system can run Doom can be answered by the word yes .

Sure but we can work around that law by constructing a headline such as "Can Romero beat your ass at doom?" It sure would be a resounding yes for most of us. He would stand no chance at Quake, though

Re: Can Grafana run Doom?

#5
I wish they went into more detail about how the rendering happens. Compiling Doom to WebAssembly via Emscripten and running it in your browser is great, but it has been done before countless times. Taking the output and plotting it as a time series in Grafana...that is incredible.

Re: Can Grafana run Doom?

#7
post #5

I wish they went into more detail about how the rendering happens. Compiling Doom to WebAssembly via Emscripten and running it in your browser is great, but it has been done before countless times. Taking the output and plotting it as a time series in Grafana... that is incredible.

Yeah this could be anything from "wow cool" to "holy smokes, how is THAT possible???". If all of the game state, output pixels etc were turned into time series data and reassembled in a dashboard in real time--THAT is pretty cool!

Re: Can Grafana run Doom?

#8
post #5

I wish they went into more detail about how the rendering happens. Compiling Doom to WebAssembly via Emscripten and running it in your browser is great, but it has been done before countless times. Taking the output and plotting it as a time series in Grafana... that is incredible.

[deleted]

Re: Can Grafana run Doom?

#9
post #5

I wish they went into more detail about how the rendering happens. Compiling Doom to WebAssembly via Emscripten and running it in your browser is great, but it has been done before countless times. Taking the output and plotting it as a time series in Grafana... that is incredible.

Hey Kostas here (one of the 3 people we did this). We are actually using a WASM port of chocolate-doom from which we are getting the frame buffer from WebGL. We use 256 time series to represent each color, and then we are using an algorithm to map pixel data to their corresponding time series. Since doom uses more than 256 colors, we are using a redmean approximation to find the closest match
Post reply on HN