Skip to content

examples/commodetto/outline/random-ellipses draws very small shapes. #1544

@stc1988

Description

@stc1988

Build environment: macOS
Moddable SDK version:  6.0.0
Target device: Moddable Two, M5stack, M5Stack core2

Description

Steps to Reproduce

  1. Build and install the example app examples/commodetto/outline/random-ellipses

Other information

It seems that Math.random() is always returning very small values.

> Math.random() 
0.01670149760709645
> Math.random() 
0.020756102171902567
> Math.random() 
0.02375773713545821
> Math.random() 
0.0271738914370476
> Math.random() 
0.020485148769916302
> Math.random() 
0.011472429384354601
> Math.random() 
0.02121300809579273
> Math.random() 
0.01759265992268749
> Math.random() 
0.019775460245966787

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions