Inkscape.org
Beyond the Basics Generating a random number from a set of numbers?
  1. #1
    krizzle krizzle @krizzle

    Hello! 

    I'm working on creating custom BINGO cards in inkscape to then lasercut. Part of the project is randomizing the numbers that go onto the cards. For anyone not familiar with a BINGO card, each letter has 5 numbers beneath it. B can include numbers anywhere from 1 -15, I from 16- 30, etc. Is there any plugin available that would allow me to randomize these numbers within my document to easily generate these BINGO cards? Any help is appreciated. 

    Thanks! 

  2. #2
    Hum Hum @Hum

    I do not know of any Inkscape extension that can do this.

    But this list of random numbers from a list of random numbers can be generated by using Excel or other spreadsheet software. No doubt, in Google Sheets also,\.

  3. #3
    Tyler Durden Tyler Durden @TylerDurden

    This extension can insert data from a CSV file. https://gitlab.com/Moini/nextgenerator

  4. #4
    Hum Hum @Hum
    *

    I have attached an Excel file that generates random numbers (25 in total). You enter the highest value needed into cell C2 and press F9 to recalculate a new group of random numbers.

     (The Excel file is zipped as a 7z file. It is small but I could not upload it here unless I first zipped it.)

    These random numbers can be copied from Excel and pasted into Inkscape. From Inkscape, you can resize them, ungroup them, change their colors and fonts.

    Have fun.

    Pasted Into Inkscape
    From Excel File
  5. #5
    Hum Hum @Hum
    *

    For those who do not have Excel, there is a free and safe software which works with Microsoft Office files. It is LibreOffice.

    The same Excel file I shared can be opened in LibreOffice and used. Just by pressing F9, as in Excel.

    I am not affiliated at all with Microsot nor LibreOffice. And LibreOffice is a great free resource to use - for all kind of things.

  6. #6
    Tyler Durden Tyler Durden @TylerDurden

    @krizzle, great idea for an extension.

    I don't have those skills, but I've posted a query in the extensions forum: https://inkscape.org/forums/extensions/extension-request-ish-bingo-card-maker-or-bingo-number-generator/

  7. #7
    Kaalleen Kaalleen @Kaalleen
    *

    I wrote up a little Inkscape extension which (hopefully) fulfills your needs. Here you go: https://github.com/kaalleen/inkscape-bingo-extension

  8. #8
    krizzle krizzle @krizzle

    Wow that was truly awesome of you! This extension is great! 

    Thank you! 

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Generating a random number from a set of numbers?