Stunts Forum

Stunts - the Game => Stunts Chat => Topic started by: Erik Barros on September 04, 2024, 03:18:48 AM

Title: QR Code (Proof of concept)
Post by: Erik Barros on September 04, 2024, 03:18:48 AM
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
Title: Re: QR Code (Proof of concept)
Post by: alanrotoi on September 04, 2024, 04:15:56 AM
I can't read it
Title: Re: QR Code (Proof of concept)
Post by: Cas on September 07, 2024, 06:57:32 PM
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!
Title: Re: QR Code (Proof of concept)
Post by: Duplode on September 07, 2024, 07:33:14 PM
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. 
Title: Re: QR Code (Proof of concept)
Post by: dreadnaut on September 10, 2024, 07:11:51 PM
Quote from: Cas on September 07, 2024, 06:57:32 PMWow... 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.
Title: Re: QR Code (Proof of concept)
Post by: Cas on September 13, 2024, 12:06:39 AM
Quote from: dreadnaut on September 10, 2024, 07:11:51 PM
Quote from: Cas on September 07, 2024, 06:57:32 PMWow... 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!
Title: Re: QR Code (Proof of concept)
Post by: Overdrijf on October 06, 2024, 12:56:49 AM
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!