Back to Plugins
Random Numbers

Random Numbers

Generate random numbers inside your design

code-generators

Plugin Preview

Random Numbers preview

About this plugin

This plugin can be run over a selection of text objects, with # expression, to generate random numbers.


Expression syntax:

#N*R/L


N is a number (1-9) representing the max range of the number to be drawn, which defaults to 9 if omitted.

R is the number of times the plugin should repeat the random number generation.

L is the number of lines it should fill.


Examples:


Text "This is a binary sequence: #1*10" could generate "This is a binary sequence: 1011001101"


Text "A number from 0 to 599: ###599" could generate "A number from 0 to 599: 148"


Text "Lottery winner is ##-##-##-##-##-##-##" could generate "Lottery winner is 09-15-53-45-29-41"

Plugin Details

Version1
CreatedDecember 17, 2022
Last UpdatedDecember 17, 2022
CategorySoftware development
CreatorFelipe Velloso
Stats249 installs, 14 likes
PricingFree

Technical Details

  • API:1.0.0
  • main:code.js
  • Editor Types:
    figma