Convex Logo

Convex Aggregate Demo

View Source

Random Access & Shuffle Demo

Efficient random selection and deterministic shuffling using Convex Aggregate

Total songs in library:
36
Random access:
O(log n)

Random Song Picker

Get any random song in O(log n) time - no matter how many songs you have!

Current Random Song

Sweet Child O' Mine - Guns N' Roses

Deterministic Shuffle

Same seed = same shuffle order. Change the seed for a completely different shuffle!

Shuffled playlist (36 songs)

Page 1 of 8

  • 1
    Purple Rain - Prince
  • 2
    Imagine - John Lennon
  • 3
    Sweet Child O' Mine - Guns N' Roses
  • 4
    Enter Sandman - Metallica
  • 5
    With or Without You - U2