Stunts Forum

Stunts - the Game => Stunts Chat => : Erik Barros September 04, 2024, 03:18:48 +02:00

: QR Code (Proof of concept)
: Erik Barros September 04, 2024, 03:18:48 +02:00
Hello there, I was looking at some older live racing posts, seeing a post from Overdrijf (https://forum.stunts.hu/index.php?topic=3614.0) gave me an idea!

I tried to replicate a QR code on the Stunts track and Great Scott!! It works.

The next step is to try to draw a circuit.

I used the me-qr (https://me-qr.com/qr-code-generator/link) website to generate the QR code with a static link and it already drew a 29x29 grid that I managed to replicate using Bliss.

The second image was taken using stcarto (https://forum.stunts.hu/index.php?topic=2937.msg92094#msg92094), with the "Transparent low ground" parameter

poc1.JPG
: Re: QR Code (Proof of concept)
: alanrotoi September 04, 2024, 04:15:56 +02:00
I can't read it
: Re: QR Code (Proof of concept)
: Cas September 07, 2024, 06:57:32 +02:00
Wow... it's curious how the second image, before clicking on it, doesn't look at all like a QR code. Once it's resized, the browser does show a QR code. I can't test them because I don't use smartphone apps, but it looks very valid!
: Re: QR Code (Proof of concept)
: Duplode September 07, 2024, 07:33:14 +02:00
Google Lens does catch code from the full-size second picture! The contrast in the Bliss screenshot with the usual rendering is too low I think -- it works if you change the green to a bright one, though. 
: Re: QR Code (Proof of concept)
: dreadnaut September 10, 2024, 07:11:51 +02:00
: Cas  September 07, 2024, 06:57:32 +02:00Wow... it's curious how the second image, before clicking on it, doesn't look at all like a QR code. Once it's resized, the browser does show a QR code.

You are looking at a JPEG thumbnail of a transparent PNG, which gains a 'undefined' black background and heavy compression artifacts.
: Re: QR Code (Proof of concept)
: Cas September 13, 2024, 12:06:39 +02:00
: dreadnaut  September 10, 2024, 07:11:51 +02:00
: Cas  September 07, 2024, 06:57:32 +02:00Wow... it's curious how the second image, before clicking on it, doesn't look at all like a QR code. Once it's resized, the browser does show a QR code.

You are looking at a JPEG thumbnail of a transparent PNG, which gains a 'undefined' black background and heavy compression artifacts.
Ah!!  Yes, that makes sense. Really weird!
: Re: QR Code (Proof of concept)
: Overdrijf October 06, 2024, 12:56:49 +02:00
Nice. This might be the best use of a Stunts track as data storage since ZCT256 (https://zak.stunts.hu/tracks/ZCT256)! ;D What's more, this one is actually recognizable as such!