Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » QR Code Generator
        ![[RSS Feed] [RSS Feed]](//cdn.scratch.mit.edu/scratchr2/static/__5b3e40ec58a840b41702360e9891321b__//djangobb_forum/img/feed-icon-small.png)  
- jirfeww
- 
                             Scratcher Scratcher
17 posts
QR Code Generator
Oh hi. I have been here, and I want to know how to make a QR code generator. How do you do it?
                        
                            Last edited by jirfeww (June 28, 2020 14:42:37)
- timnaxo
- 
                             Scratcher Scratcher
91 posts
QR Code Generator
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
                        
                        
                    - -Squiggle
- 
                             Scratcher Scratcher
500+ posts
QR Code Generator
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????xD search it up
- GlueGourmand
- 
                             Scratcher Scratcher
100+ posts
QR Code Generator
If I could make a polite recommendation, you might want to start with something a bit more simple.  Can you make a program that mocks up what you're trying to do without generating a unique QR code each time?  Or provide a code in letters and numbers that might be easier to bring in to your program?
I'm pretty sure that what you're proposing is technically possible in Scratch… but ‘technically possible’ is a long way from ‘easy and fun’. You would have to look up and implement the QR standard, make your own from some combination of clones and sprites, then test it extensively to be sure that it actually works when scanned by a phone camera app… some of which have subtle or undocumented bugs. And… even if you were able to complete these tasks, Scratch is not designed or optimized to process incoming web traffic beyond ‘visit this URL’.
I love the ambition… let's aim it in a way that will probably be more successful. I'll be following your account to see what you are able to build next.
–GlueGourmand
                        
                        
                    I'm pretty sure that what you're proposing is technically possible in Scratch… but ‘technically possible’ is a long way from ‘easy and fun’. You would have to look up and implement the QR standard, make your own from some combination of clones and sprites, then test it extensively to be sure that it actually works when scanned by a phone camera app… some of which have subtle or undocumented bugs. And… even if you were able to complete these tasks, Scratch is not designed or optimized to process incoming web traffic beyond ‘visit this URL’.
I love the ambition… let's aim it in a way that will probably be more successful. I'll be following your account to see what you are able to build next.
–GlueGourmand
- jirfeww
- 
                             Scratcher Scratcher
17 posts
QR Code Generator
By the way why do you want qr generatorWell, so they can send secrets to people that can scan the QR Code!
when I want to make a QR Code generator... :: events hat
I want them to be able to make secrets so no one can interrupt someone's IMPORTANT SECRET CONVERSATION! :: sensing
Last edited by jirfeww (June 28, 2020 20:57:14)
- Wyan100
- 
                             Scratcher Scratcher
1000+ posts
QR Code Generator
I want them to be able to make secrets so no one can interrupt someone's IMPORTANT SECRET CONVERSATION!
Those are against the rules, therefore you cannot make this project.
- deck26
- 
                             Scratcher Scratcher
1000+ posts
QR Code Generator
And how would that work? If I produce a QR code how does someone else see it? That's key to whether this would be allowed or not.By the way why do you want qr generatorWell, so they can send secrets to people that can scan the QR Code!when I want to make a QR Code generator... :: events hat
I want them to be able to make secrets so no one can interrupt someone's IMPORTANT SECRET CONVERSATION! :: sensing
If you save the code in Scratch so others can read it that will be against the rules. There's no difference between that and a chat project - it's just a different form on encoding after all.
If they copy the QR code into an email or something that has nothing to do with Scratch - there are lots of QR code generators online so this is already possible.
Last edited by deck26 (June 29, 2020 08:25:48)
- WILLPR19_
- 
                             Scratcher Scratcher
36 posts
QR Code Generator
https://scratch.mit.edu/projects/31270656/
that should give you some ideas
                        
                        
                    that should give you some ideas
- jirfeww
- 
                             Scratcher Scratcher
17 posts
QR Code Generator
No, not chat, something like encoding the message and then someone scans it with a QR Code reader, and that.I want them to be able to make secrets so no one can interrupt someone's IMPORTANT SECRET CONVERSATION!
Those are against the rules, therefore you cannot make this project.
- secretagent123
- 
                             Scratcher Scratcher
1000+ posts
QR Code Generator
It is probably possible to encode it but you would have to build the decoder app as a conventional reader is much more complex.
I would recommend having a 100 by 100 grid and highlight pixels if something is true.
                        
                        
                    I would recommend having a 100 by 100 grid and highlight pixels if something is true.
- jirfeww
- 
                             Scratcher Scratcher
17 posts
QR Code Generator
It is probably possible to encode it but you would have to build the decoder app as a conventional reader is much more complex.Oh well, it looks like i will have to make an encoding thing first not qr code generator
I would recommend having a 100 by 100 grid and highlight pixels if something is true.
My browser / operating system: BlackberryPlaybook, Safari 7.2.1.0, No Flash version detected Gotcha! It's Chrome dev, dude

Last edited by jirfeww (June 30, 2020 14:40:13)
- deck26
- 
                             Scratcher Scratcher
1000+ posts
QR Code Generator
Still need to watch the rules though, no free chat however you encode it.It is probably possible to encode it but you would have to build the decoder app as a conventional reader is much more complex.Oh well, it looks like i will have to make an encoding thing first not qr code generator
I would recommend having a 100 by 100 grid and highlight pixels if something is true.
My browser / operating system: BlackberryPlaybook, Safari 7.2.1.0, No Flash version detected Gotcha! It's Chrome dev, dude
- secretagent123
- 
                             Scratcher Scratcher
1000+ posts
QR Code Generator
But if it was just an encryption tool and a decryption tool that wouldn't break the rules though would it?Still need to watch the rules though, no free chat however you encode it.It is probably possible to encode it but you would have to build the decoder app as a conventional reader is much more complex.Oh well, it looks like i will have to make an encoding thing first not qr code generator
I would recommend having a 100 by 100 grid and highlight pixels if something is true.
My browser / operating system: BlackberryPlaybook, Safari 7.2.1.0, No Flash version detected Gotcha! It's Chrome dev, dude
- programmer204
- 
                             Scratcher Scratcher
500+ posts
QR Code Generator
The QR code generator is most likely against the rules. 
                        
                        
                    
- deck26
- 
                             Scratcher Scratcher
1000+ posts
QR Code Generator
I've already answered this. If you allow free text to be encoded and shared with others then that is a chat project and it doesn't matter how the encoding is being done - it is against the rules. If someone produces an encoded message and shares it via email or other platform there should be no problem them using a Scratch project to decode the message.But if it was just an encryption tool and a decryption tool that wouldn't break the rules though would it?Still need to watch the rules though, no free chat however you encode it.It is probably possible to encode it but you would have to build the decoder app as a conventional reader is much more complex.Oh well, it looks like i will have to make an encoding thing first not qr code generator
I would recommend having a 100 by 100 grid and highlight pixels if something is true.
My browser / operating system: BlackberryPlaybook, Safari 7.2.1.0, No Flash version detected Gotcha! It's Chrome dev, dude
However if someone did that and wrote something offensive to the other person that may be a grey area. Your project would have enabled that to happen after all. So it would still be safer to only allow a pre-defined set of messages.
- jirfeww
- 
                             Scratcher Scratcher
17 posts
QR Code Generator
CAN SOMEONE CLOSE THIS TOPIC? THIS TOPIC IS FILLING UP MY MAIL!I've already answered this. If you allow free text to be encoded and shared with others then that is a chat project and it doesn't matter how the encoding is being done - it is against the rules. If someone produces an encoded message and shares it via email or other platform there should be no problem them using a Scratch project to decode the message.But if it was just an encryption tool and a decryption tool that wouldn't break the rules though would it?Still need to watch the rules though, no free chat however you encode it.It is probably possible to encode it but you would have to build the decoder app as a conventional reader is much more complex.Oh well, it looks like i will have to make an encoding thing first not qr code generator
I would recommend having a 100 by 100 grid and highlight pixels if something is true.
My browser / operating system: BlackberryPlaybook, Safari 7.2.1.0, No Flash version detected Gotcha! It's Chrome dev, dude
However if someone did that and wrote something offensive to the other person that may be a grey area. Your project would have enabled that to happen after all. So it would still be safer to only allow a pre-defined set of messages.
when I say that :: events hat
SOMEONE CLOSE THIS TOPIC!!!!!!!!!!! :: cap block
- Discussion Forums
- » Help with Scripts
- 
            » QR Code Generator ![[RSS Feed] [RSS Feed]](//cdn.scratch.mit.edu/scratchr2/static/__5b3e40ec58a840b41702360e9891321b__//djangobb_forum/img/feed-icon-small.png)  
![[RSS Feed] [RSS Feed]](http://cdn.scratch.mit.edu/scratchr2/static/__5b3e40ec58a840b41702360e9891321b__//djangobb_forum/img/feed-icon-small.png)











