Beta

Random gradient

Description:

Explanation

Create a random coordinate generator that produces 100.000 coordinates wihin the range: 0 to 1000.

The chance a coordiante falls close to x = 0 and y = 0, is bigger than the chance the coordiante falls close to x = 1000 and y = 1000.

  • The range 0 to 100 will contain more points than 100 to 200.
  • The range 200 to 300 will contain more points than 300 to 400.
  • ... and so on

Code example

The result needs to be returned in the following format:

[[0,6],[100,467], ...[x,y]]

Plotted representation

Gradient example

Algorithms

Stats:

CreatedDec 28, 2021
PublishedDec 28, 2021
Warriors Trained56
Total Skips22
Total Code Submissions30
Total Times Completed15
Dart Completions15
Total Stars2
% of votes with a positive feedback rating58% of 6
Total "Very Satisfied" Votes2
Total "Somewhat Satisfied" Votes3
Total "Not Satisfied" Votes1
Total Rank Assessments7
Average Assessed Rank
6 kyu
Highest Assessed Rank
4 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • guidotheelen Avatar
Ad