Dataset Viewer
Auto-converted to Parquet Duplicate
video
video
2
2
num_balls
int64
3
5
colors
listlengths
3
5
background_rgb
listlengths
3
3
balls
listlengths
3
5
num_frames
int64
24
24
fps
int64
12
12
width
int64
196
196
height
int64
196
196
3
[ "purple", "yellow", "cyan" ]
[ 14, 23, 12 ]
[ { "color": "purple", "color_rgb": [ 155, 20, 245 ], "radius": 10, "initial_position": [ 161.11, 132.74 ], "initial_velocity": [ 4.325, -0.668 ] }, { "color": "yellow", "color_rgb": [ 239, 194, 16 ], "radi...
24
12
196
196
4
[ "blue", "pink", "yellow", "green" ]
[ 9, 8, 22 ]
[ { "color": "blue", "color_rgb": [ 11, 97, 244 ], "radius": 9, "initial_position": [ 12.57, 158.38 ], "initial_velocity": [ 1.005, 6.269 ] }, { "color": "pink", "color_rgb": [ 222, 57, 178 ], "radius": 9, ...
24
12
196
196
5
[ "orange", "green", "blue", "purple", "pink" ]
[ 16, 11, 17 ]
[ { "color": "orange", "color_rgb": [ 217, 157, 67 ], "radius": 11, "initial_position": [ 81.6, 179.64 ], "initial_velocity": [ 2.902, -3.632 ] }, { "color": "green", "color_rgb": [ 82, 253, 48 ], "radius":...
24
12
196
196
5
[ "blue", "purple", "red", "yellow", "green" ]
[ 29, 12, 12 ]
[ { "color": "blue", "color_rgb": [ 34, 154, 246 ], "radius": 11, "initial_position": [ 143.88, 152.23 ], "initial_velocity": [ 1.107, -5.939 ] }, { "color": "purple", "color_rgb": [ 190, 68, 243 ], "radius...
24
12
196
196
4
[ "pink", "yellow", "green", "blue" ]
[ 23, 19, 8 ]
[ { "color": "pink", "color_rgb": [ 238, 17, 194 ], "radius": 8, "initial_position": [ 57.06, 119.93 ], "initial_velocity": [ 6.66, 3.936 ] }, { "color": "yellow", "color_rgb": [ 225, 246, 38 ], "radius": 1...
24
12
196
196
3
[ "purple", "orange", "green" ]
[ 8, 9, 18 ]
[ { "color": "purple", "color_rgb": [ 129, 10, 219 ], "radius": 10, "initial_position": [ 91.87, 28.26 ], "initial_velocity": [ -3.383, 7.103 ] }, { "color": "orange", "color_rgb": [ 238, 174, 64 ], "radius...
24
12
196
196
3
[ "green", "purple", "red" ]
[ 13, 15, 16 ]
[ { "color": "green", "color_rgb": [ 29, 237, 105 ], "radius": 9, "initial_position": [ 100.46, 132.62 ], "initial_velocity": [ 4.312, -5.01 ] }, { "color": "purple", "color_rgb": [ 102, 46, 231 ], "radius"...
24
12
196
196
3
[ "green", "purple", "orange" ]
[ 25, 8, 13 ]
[ { "color": "green", "color_rgb": [ 40, 245, 88 ], "radius": 12, "initial_position": [ 79.42, 119.28 ], "initial_velocity": [ 6.599, 0.565 ] }, { "color": "purple", "color_rgb": [ 137, 69, 227 ], "radius":...
24
12
196
196
5
[ "pink", "red", "yellow", "green", "blue" ]
[ 14, 25, 25 ]
[ { "color": "pink", "color_rgb": [ 193, 22, 212 ], "radius": 11, "initial_position": [ 106.34, 180.38 ], "initial_velocity": [ -2.985, -3.946 ] }, { "color": "red", "color_rgb": [ 225, 58, 69 ], "radius": ...
24
12
196
196
4
[ "pink", "green", "cyan", "purple" ]
[ 20, 17, 22 ]
[ { "color": "pink", "color_rgb": [ 247, 47, 141 ], "radius": 12, "initial_position": [ 55.84, 50.29 ], "initial_velocity": [ 1.484, 6.989 ] }, { "color": "green", "color_rgb": [ 177, 217, 67 ], "radius": 9...
24
12
196
196
5
[ "blue", "purple", "red", "yellow", "green" ]
[ 13, 15, 29 ]
[ { "color": "blue", "color_rgb": [ 7, 73, 228 ], "radius": 8, "initial_position": [ 101.52, 9.15 ], "initial_velocity": [ 6.079, -1.226 ] }, { "color": "purple", "color_rgb": [ 150, 51, 215 ], "radius": 7,...
24
12
196
196
5
[ "red", "green", "green", "blue", "pink" ]
[ 26, 30, 23 ]
[ { "color": "red", "color_rgb": [ 247, 65, 19 ], "radius": 11, "initial_position": [ 68.62, 173.36 ], "initial_velocity": [ -2.215, -3.824 ] }, { "color": "green", "color_rgb": [ 173, 237, 62 ], "radius": ...
24
12
196
196
3
[ "green", "cyan", "pink" ]
[ 14, 24, 8 ]
[ { "color": "green", "color_rgb": [ 178, 240, 53 ], "radius": 8, "initial_position": [ 22.34, 111.94 ], "initial_velocity": [ -4.174, 1.204 ] }, { "color": "cyan", "color_rgb": [ 12, 189, 216 ], "radius": ...
24
12
196
196
5
[ "pink", "orange", "green", "green", "blue" ]
[ 10, 19, 27 ]
[ { "color": "pink", "color_rgb": [ 242, 37, 208 ], "radius": 11, "initial_position": [ 48.99, 51.04 ], "initial_velocity": [ 0.121, -5.97 ] }, { "color": "orange", "color_rgb": [ 211, 128, 65 ], "radius": ...
24
12
196
196
4
[ "blue", "red", "yellow", "cyan" ]
[ 10, 25, 17 ]
[ { "color": "blue", "color_rgb": [ 54, 41, 237 ], "radius": 9, "initial_position": [ 183.58, 137.98 ], "initial_velocity": [ 0.557, 6.152 ] }, { "color": "red", "color_rgb": [ 250, 29, 81 ], "radius": 7, ...
24
12
196
196
3
[ "blue", "red", "green" ]
[ 23, 20, 30 ]
[ { "color": "blue", "color_rgb": [ 50, 38, 229 ], "radius": 11, "initial_position": [ 157.37, 70.22 ], "initial_velocity": [ 3.092, 4.639 ] }, { "color": "red", "color_rgb": [ 253, 87, 37 ], "radius": 9, ...
24
12
196
196
4
[ "green", "cyan", "purple", "red" ]
[ 18, 29, 27 ]
[ { "color": "green", "color_rgb": [ 50, 224, 56 ], "radius": 10, "initial_position": [ 52.78, 46.68 ], "initial_velocity": [ 4.686, 5.706 ] }, { "color": "cyan", "color_rgb": [ 7, 220, 253 ], "radius": 9, ...
24
12
196
196
5
[ "blue", "pink", "red", "yellow", "green" ]
[ 14, 32, 31 ]
[ { "color": "blue", "color_rgb": [ 6, 67, 210 ], "radius": 11, "initial_position": [ 31.35, 76.67 ], "initial_velocity": [ 2.535, 4.011 ] }, { "color": "pink", "color_rgb": [ 208, 1, 215 ], "radius": 12, ...
24
12
196
196
3
[ "green", "purple", "red" ]
[ 28, 10, 27 ]
[ { "color": "green", "color_rgb": [ 126, 254, 62 ], "radius": 9, "initial_position": [ 18.74, 185.31 ], "initial_velocity": [ -7.081, -2.327 ] }, { "color": "purple", "color_rgb": [ 81, 43, 236 ], "radius"...
24
12
196
196
4
[ "green", "blue", "pink", "orange" ]
[ 31, 30, 15 ]
[ { "color": "green", "color_rgb": [ 23, 255, 116 ], "radius": 11, "initial_position": [ 127.78, 134.39 ], "initial_velocity": [ 5.734, -0.098 ] }, { "color": "blue", "color_rgb": [ 29, 29, 236 ], "radius":...
24
12
196
196
4
[ "blue", "pink", "orange", "green" ]
[ 23, 18, 27 ]
[ { "color": "blue", "color_rgb": [ 58, 98, 233 ], "radius": 10, "initial_position": [ 147.4, 60.66 ], "initial_velocity": [ 6.055, -3.034 ] }, { "color": "pink", "color_rgb": [ 215, 35, 155 ], "radius": 12...
24
12
196
196
4
[ "blue", "purple", "orange", "green" ]
[ 32, 8, 23 ]
[ { "color": "blue", "color_rgb": [ 49, 120, 226 ], "radius": 12, "initial_position": [ 45.83, 98.91 ], "initial_velocity": [ 2.251, 4.241 ] }, { "color": "purple", "color_rgb": [ 167, 47, 218 ], "radius": ...
24
12
196
196
4
[ "pink", "green", "green", "purple" ]
[ 32, 8, 10 ]
[ { "color": "pink", "color_rgb": [ 255, 43, 121 ], "radius": 12, "initial_position": [ 23.3, 66.79 ], "initial_velocity": [ 6.409, 3.766 ] }, { "color": "green", "color_rgb": [ 195, 241, 10 ], "radius": 11...
24
12
196
196
3
[ "orange", "green", "purple" ]
[ 31, 17, 15 ]
[ { "color": "orange", "color_rgb": [ 222, 103, 60 ], "radius": 10, "initial_position": [ 75.98, 50.25 ], "initial_velocity": [ -6.437, -4.346 ] }, { "color": "green", "color_rgb": [ 61, 253, 61 ], "radius"...
24
12
196
196
5
[ "pink", "yellow", "green", "cyan", "purple" ]
[ 24, 32, 9 ]
[ { "color": "pink", "color_rgb": [ 214, 25, 94 ], "radius": 8, "initial_position": [ 21.13, 120.37 ], "initial_velocity": [ 3.433, -4.786 ] }, { "color": "yellow", "color_rgb": [ 216, 168, 56 ], "radius": ...
24
12
196
196
5
[ "green", "blue", "pink", "red", "green" ]
[ 25, 29, 30 ]
[ { "color": "green", "color_rgb": [ 10, 224, 67 ], "radius": 10, "initial_position": [ 100.46, 62.31 ], "initial_velocity": [ -5.805, 2.675 ] }, { "color": "blue", "color_rgb": [ 18, 110, 247 ], "radius": ...
24
12
196
196
4
[ "cyan", "purple", "red", "green" ]
[ 16, 10, 29 ]
[ { "color": "cyan", "color_rgb": [ 58, 199, 215 ], "radius": 10, "initial_position": [ 128.54, 120.22 ], "initial_velocity": [ -2.78, -7.398 ] }, { "color": "purple", "color_rgb": [ 148, 78, 253 ], "radius...
24
12
196
196
3
[ "blue", "pink", "green" ]
[ 22, 9, 27 ]
[ { "color": "blue", "color_rgb": [ 23, 136, 235 ], "radius": 11, "initial_position": [ 161.5, 138.85 ], "initial_velocity": [ 2.403, -5.395 ] }, { "color": "pink", "color_rgb": [ 254, 69, 174 ], "radius": ...
24
12
196
196
4
[ "green", "blue", "pink", "orange" ]
[ 26, 23, 20 ]
[ { "color": "green", "color_rgb": [ 40, 219, 112 ], "radius": 8, "initial_position": [ 65.99, 181.74 ], "initial_velocity": [ -6.723, 1.807 ] }, { "color": "blue", "color_rgb": [ 26, 121, 217 ], "radius": ...
24
12
196
196
5
[ "green", "green", "blue", "pink", "orange" ]
[ 9, 23, 12 ]
[ { "color": "green", "color_rgb": [ 121, 234, 7 ], "radius": 9, "initial_position": [ 144.46, 121.99 ], "initial_velocity": [ 4.619, 1.366 ] }, { "color": "green", "color_rgb": [ 56, 224, 146 ], "radius": ...
24
12
196
196
5
[ "purple", "red", "green", "green", "blue" ]
[ 19, 15, 21 ]
[ { "color": "purple", "color_rgb": [ 185, 43, 236 ], "radius": 10, "initial_position": [ 50.73, 30.11 ], "initial_velocity": [ -2.544, 6.373 ] }, { "color": "red", "color_rgb": [ 241, 71, 82 ], "radius": 1...
24
12
196
196
5
[ "cyan", "blue", "pink", "orange", "green" ]
[ 24, 17, 13 ]
[ { "color": "cyan", "color_rgb": [ 64, 249, 218 ], "radius": 11, "initial_position": [ 57.73, 182.42 ], "initial_velocity": [ 4.781, 0.975 ] }, { "color": "blue", "color_rgb": [ 12, 26, 230 ], "radius": 11...
24
12
196
196
3
[ "pink", "green", "blue" ]
[ 8, 13, 18 ]
[ { "color": "pink", "color_rgb": [ 210, 43, 154 ], "radius": 9, "initial_position": [ 129.4, 128.12 ], "initial_velocity": [ -6.185, -0.961 ] }, { "color": "green", "color_rgb": [ 133, 238, 12 ], "radius":...
24
12
196
196
4
[ "yellow", "cyan", "blue", "red" ]
[ 8, 12, 27 ]
[ { "color": "yellow", "color_rgb": [ 236, 252, 19 ], "radius": 8, "initial_position": [ 127.57, 131.18 ], "initial_velocity": [ 0.072, -7.732 ] }, { "color": "cyan", "color_rgb": [ 31, 205, 211 ], "radius"...
24
12
196
196
4
[ "pink", "orange", "green", "blue" ]
[ 23, 12, 27 ]
[ { "color": "pink", "color_rgb": [ 235, 53, 217 ], "radius": 9, "initial_position": [ 130.47, 137.32 ], "initial_velocity": [ -1.56, 4.021 ] }, { "color": "orange", "color_rgb": [ 224, 158, 59 ], "radius":...
24
12
196
196
3
[ "purple", "orange", "green" ]
[ 12, 12, 19 ]
[ { "color": "purple", "color_rgb": [ 194, 52, 246 ], "radius": 10, "initial_position": [ 52.92, 68.86 ], "initial_velocity": [ -4.068, 3.358 ] }, { "color": "orange", "color_rgb": [ 216, 102, 2 ], "radius"...
24
12
196
196
5
[ "green", "blue", "pink", "orange", "green" ]
[ 19, 19, 13 ]
[ { "color": "green", "color_rgb": [ 47, 227, 179 ], "radius": 8, "initial_position": [ 101.26, 158.68 ], "initial_velocity": [ -4.973, -2.325 ] }, { "color": "blue", "color_rgb": [ 6, 100, 242 ], "radius":...
24
12
196
196
3
[ "pink", "green", "cyan" ]
[ 8, 9, 17 ]
[ { "color": "pink", "color_rgb": [ 231, 62, 186 ], "radius": 12, "initial_position": [ 170.77, 18.15 ], "initial_velocity": [ 3.062, 3.089 ] }, { "color": "green", "color_rgb": [ 149, 215, 62 ], "radius": ...
24
12
196
196
5
[ "blue", "red", "yellow", "green", "cyan" ]
[ 16, 20, 31 ]
[ { "color": "blue", "color_rgb": [ 97, 75, 239 ], "radius": 7, "initial_position": [ 13.67, 115.24 ], "initial_velocity": [ 1.033, 6.258 ] }, { "color": "red", "color_rgb": [ 238, 56, 98 ], "radius": 11, ...
24
12
196
196
3
[ "green", "purple", "yellow" ]
[ 26, 12, 18 ]
[ { "color": "green", "color_rgb": [ 55, 231, 131 ], "radius": 7, "initial_position": [ 172.99, 118.1 ], "initial_velocity": [ -5.777, -0.111 ] }, { "color": "purple", "color_rgb": [ 129, 72, 228 ], "radius...
24
12
196
196
5
[ "red", "yellow", "green", "blue", "purple" ]
[ 26, 27, 27 ]
[ { "color": "red", "color_rgb": [ 220, 63, 31 ], "radius": 10, "initial_position": [ 48.31, 182.51 ], "initial_velocity": [ 5.227, -2.105 ] }, { "color": "yellow", "color_rgb": [ 234, 249, 18 ], "radius": ...
24
12
196
196
5
[ "green", "cyan", "purple", "pink", "orange" ]
[ 30, 9, 31 ]
[ { "color": "green", "color_rgb": [ 145, 250, 75 ], "radius": 10, "initial_position": [ 120.72, 64.12 ], "initial_velocity": [ 0.083, 5.37 ] }, { "color": "cyan", "color_rgb": [ 13, 241, 241 ], "radius": 9...
24
12
196
196
4
[ "purple", "pink", "green", "cyan" ]
[ 30, 17, 28 ]
[ { "color": "purple", "color_rgb": [ 159, 38, 239 ], "radius": 8, "initial_position": [ 142.87, 167.11 ], "initial_velocity": [ -0.46, -4.888 ] }, { "color": "pink", "color_rgb": [ 229, 26, 80 ], "radius":...
24
12
196
196
5
[ "red", "green", "cyan", "blue", "pink" ]
[ 27, 17, 17 ]
[ { "color": "red", "color_rgb": [ 220, 102, 66 ], "radius": 12, "initial_position": [ 91.62, 94.23 ], "initial_velocity": [ 2.011, -7.247 ] }, { "color": "green", "color_rgb": [ 102, 213, 5 ], "radius": 9,...
24
12
196
196
5
[ "blue", "purple", "red", "green", "green" ]
[ 24, 15, 22 ]
[ { "color": "blue", "color_rgb": [ 76, 171, 254 ], "radius": 8, "initial_position": [ 118.81, 75.06 ], "initial_velocity": [ 1.482, -5.269 ] }, { "color": "purple", "color_rgb": [ 169, 56, 225 ], "radius":...
24
12
196
196
4
[ "blue", "pink", "red", "green" ]
[ 30, 25, 12 ]
[ { "color": "blue", "color_rgb": [ 24, 115, 234 ], "radius": 7, "initial_position": [ 38.38, 94.51 ], "initial_velocity": [ 2.15, 5.292 ] }, { "color": "pink", "color_rgb": [ 194, 32, 212 ], "radius": 11, ...
24
12
196
196
4
[ "green", "green", "blue", "pink" ]
[ 9, 28, 15 ]
[ { "color": "green", "color_rgb": [ 150, 217, 17 ], "radius": 12, "initial_position": [ 130.42, 130.49 ], "initial_velocity": [ 4.782, 4.62 ] }, { "color": "green", "color_rgb": [ 51, 238, 170 ], "radius":...
24
12
196
196
5
[ "blue", "purple", "pink", "yellow", "green" ]
[ 27, 18, 23 ]
[ { "color": "blue", "color_rgb": [ 64, 137, 245 ], "radius": 8, "initial_position": [ 139.6, 11.54 ], "initial_velocity": [ 5.009, -3.585 ] }, { "color": "purple", "color_rgb": [ 198, 51, 251 ], "radius": ...
24
12
196
196
4
[ "green", "blue", "pink", "orange" ]
[ 28, 29, 8 ]
[ { "color": "green", "color_rgb": [ 40, 242, 107 ], "radius": 7, "initial_position": [ 101.37, 83.14 ], "initial_velocity": [ 4.786, 4.81 ] }, { "color": "blue", "color_rgb": [ 42, 55, 233 ], "radius": 11,...
24
12
196
196
5
[ "green", "cyan", "blue", "pink", "orange" ]
[ 29, 21, 12 ]
[ { "color": "green", "color_rgb": [ 33, 223, 11 ], "radius": 9, "initial_position": [ 154.84, 61.07 ], "initial_velocity": [ 6.06, -4.14 ] }, { "color": "cyan", "color_rgb": [ 28, 228, 250 ], "radius": 11,...
24
12
196
196
4
[ "blue", "pink", "orange", "green" ]
[ 26, 14, 14 ]
[ { "color": "blue", "color_rgb": [ 50, 152, 211 ], "radius": 12, "initial_position": [ 72.26, 69.38 ], "initial_velocity": [ 2.595, -3.241 ] }, { "color": "pink", "color_rgb": [ 196, 15, 232 ], "radius": 1...
24
12
196
196
5
[ "red", "yellow", "green", "cyan", "purple" ]
[ 11, 27, 14 ]
[ { "color": "red", "color_rgb": [ 254, 60, 73 ], "radius": 10, "initial_position": [ 90.85, 86.52 ], "initial_velocity": [ 6.234, 2.322 ] }, { "color": "yellow", "color_rgb": [ 202, 216, 8 ], "radius": 8, ...
24
12
196
196
3
[ "green", "blue", "pink" ]
[ 12, 16, 10 ]
[ { "color": "green", "color_rgb": [ 106, 235, 20 ], "radius": 12, "initial_position": [ 136.19, 19.87 ], "initial_velocity": [ -0.404, 5.302 ] }, { "color": "blue", "color_rgb": [ 46, 114, 250 ], "radius":...
24
12
196
196
4
[ "blue", "pink", "orange", "green" ]
[ 19, 27, 8 ]
[ { "color": "blue", "color_rgb": [ 55, 142, 217 ], "radius": 7, "initial_position": [ 48.16, 76.28 ], "initial_velocity": [ -5.581, 0.821 ] }, { "color": "pink", "color_rgb": [ 206, 52, 223 ], "radius": 11...
24
12
196
196
5
[ "purple", "red", "yellow", "green", "cyan" ]
[ 27, 9, 23 ]
[ { "color": "purple", "color_rgb": [ 140, 65, 214 ], "radius": 11, "initial_position": [ 106.4, 96.22 ], "initial_velocity": [ -2.437, -5.622 ] }, { "color": "red", "color_rgb": [ 216, 50, 78 ], "radius": ...
24
12
196
196
3
[ "blue", "red", "green" ]
[ 31, 17, 30 ]
[ { "color": "blue", "color_rgb": [ 54, 54, 211 ], "radius": 7, "initial_position": [ 101.55, 185.08 ], "initial_velocity": [ -0.101, -4.719 ] }, { "color": "red", "color_rgb": [ 228, 72, 108 ], "radius": 1...
24
12
196
196
4
[ "red", "yellow", "green", "blue" ]
[ 28, 30, 22 ]
[ { "color": "red", "color_rgb": [ 222, 42, 72 ], "radius": 11, "initial_position": [ 23.56, 61.66 ], "initial_velocity": [ -2.553, 3.518 ] }, { "color": "yellow", "color_rgb": [ 221, 201, 69 ], "radius": 1...
24
12
196
196
5
[ "cyan", "purple", "pink", "orange", "green" ]
[ 14, 10, 28 ]
[ { "color": "cyan", "color_rgb": [ 24, 210, 223 ], "radius": 11, "initial_position": [ 100.07, 180.16 ], "initial_velocity": [ -5.874, -2.687 ] }, { "color": "purple", "color_rgb": [ 80, 28, 224 ], "radius...
24
12
196
196
5
[ "pink", "orange", "green", "green", "blue" ]
[ 12, 10, 28 ]
[ { "color": "pink", "color_rgb": [ 246, 45, 233 ], "radius": 7, "initial_position": [ 59.57, 14.82 ], "initial_velocity": [ -6.488, -4.498 ] }, { "color": "orange", "color_rgb": [ 238, 132, 50 ], "radius":...
24
12
196
196
3
[ "pink", "green", "blue" ]
[ 9, 17, 16 ]
[ { "color": "pink", "color_rgb": [ 249, 18, 118 ], "radius": 11, "initial_position": [ 147.56, 113.88 ], "initial_velocity": [ 4.579, -2.416 ] }, { "color": "green", "color_rgb": [ 137, 231, 65 ], "radius"...
24
12
196
196
4
[ "yellow", "green", "blue", "pink" ]
[ 28, 10, 16 ]
[ { "color": "yellow", "color_rgb": [ 251, 244, 51 ], "radius": 10, "initial_position": [ 155, 62.32 ], "initial_velocity": [ -6.567, 1.516 ] }, { "color": "green", "color_rgb": [ 12, 245, 121 ], "radius": ...
24
12
196
196
4
[ "green", "blue", "pink", "orange" ]
[ 25, 18, 9 ]
[ { "color": "green", "color_rgb": [ 112, 223, 64 ], "radius": 7, "initial_position": [ 40.13, 163.55 ], "initial_velocity": [ 5.912, 4.501 ] }, { "color": "blue", "color_rgb": [ 72, 156, 230 ], "radius": 1...
24
12
196
196
5
[ "pink", "red", "green", "green", "blue" ]
[ 11, 19, 16 ]
[ { "color": "pink", "color_rgb": [ 243, 53, 224 ], "radius": 9, "initial_position": [ 47.46, 31.32 ], "initial_velocity": [ 0.134, -5.499 ] }, { "color": "red", "color_rgb": [ 244, 56, 18 ], "radius": 9, ...
24
12
196
196
3
[ "blue", "red", "green" ]
[ 30, 27, 25 ]
[ { "color": "blue", "color_rgb": [ 40, 25, 250 ], "radius": 12, "initial_position": [ 28.64, 99.15 ], "initial_velocity": [ 1.524, 5.374 ] }, { "color": "red", "color_rgb": [ 219, 54, 82 ], "radius": 7, ...
24
12
196
196
4
[ "pink", "green", "green", "purple" ]
[ 9, 18, 30 ]
[ { "color": "pink", "color_rgb": [ 224, 64, 128 ], "radius": 9, "initial_position": [ 30.86, 91.64 ], "initial_velocity": [ 5.054, 6.017 ] }, { "color": "green", "color_rgb": [ 216, 254, 64 ], "radius": 8,...
24
12
196
196
3
[ "blue", "red", "green" ]
[ 8, 31, 14 ]
[ { "color": "blue", "color_rgb": [ 70, 91, 229 ], "radius": 12, "initial_position": [ 98.47, 138.38 ], "initial_velocity": [ 5.288, 2.759 ] }, { "color": "red", "color_rgb": [ 211, 42, 17 ], "radius": 7, ...
24
12
196
196
3
[ "pink", "green", "cyan" ]
[ 26, 29, 16 ]
[ { "color": "pink", "color_rgb": [ 231, 69, 199 ], "radius": 12, "initial_position": [ 32.28, 72.31 ], "initial_velocity": [ 4.408, 2.275 ] }, { "color": "green", "color_rgb": [ 162, 228, 49 ], "radius": 7...
24
12
196
196
4
[ "blue", "purple", "red", "green" ]
[ 15, 9, 28 ]
[ { "color": "blue", "color_rgb": [ 6, 125, 216 ], "radius": 8, "initial_position": [ 143.01, 67.69 ], "initial_velocity": [ 2.186, 6.012 ] }, { "color": "purple", "color_rgb": [ 189, 50, 240 ], "radius": 9...
24
12
196
196
4
[ "pink", "green", "green", "blue" ]
[ 12, 23, 17 ]
[ { "color": "pink", "color_rgb": [ 213, 8, 97 ], "radius": 10, "initial_position": [ 135.4, 98.39 ], "initial_velocity": [ 3.537, -3.477 ] }, { "color": "green", "color_rgb": [ 177, 212, 1 ], "radius": 10,...
24
12
196
196
4
[ "yellow", "green", "blue", "pink" ]
[ 25, 30, 15 ]
[ { "color": "yellow", "color_rgb": [ 246, 192, 67 ], "radius": 11, "initial_position": [ 99.04, 125.51 ], "initial_velocity": [ 5.47, 4.48 ] }, { "color": "green", "color_rgb": [ 14, 213, 147 ], "radius": ...
24
12
196
196
3
[ "yellow", "green", "pink" ]
[ 23, 27, 29 ]
[ { "color": "yellow", "color_rgb": [ 248, 220, 38 ], "radius": 11, "initial_position": [ 149.97, 14.03 ], "initial_velocity": [ -4.307, 0.096 ] }, { "color": "green", "color_rgb": [ 0, 254, 135 ], "radius"...
24
12
196
196
3
[ "red", "green", "purple" ]
[ 24, 30, 15 ]
[ { "color": "red", "color_rgb": [ 232, 49, 3 ], "radius": 11, "initial_position": [ 36.19, 117.23 ], "initial_velocity": [ 5.838, -0.042 ] }, { "color": "green", "color_rgb": [ 18, 223, 59 ], "radius": 8, ...
24
12
196
196
3
[ "purple", "orange", "green" ]
[ 9, 17, 18 ]
[ { "color": "purple", "color_rgb": [ 60, 26, 230 ], "radius": 12, "initial_position": [ 86.54, 133.11 ], "initial_velocity": [ -3.933, -5.091 ] }, { "color": "orange", "color_rgb": [ 235, 96, 16 ], "radius...
24
12
196
196
4
[ "purple", "pink", "yellow", "cyan" ]
[ 9, 22, 31 ]
[ { "color": "purple", "color_rgb": [ 84, 28, 238 ], "radius": 8, "initial_position": [ 105.95, 155.81 ], "initial_velocity": [ 2.955, 2.7 ] }, { "color": "pink", "color_rgb": [ 231, 3, 86 ], "radius": 12, ...
24
12
196
196
3
[ "green", "cyan", "pink" ]
[ 20, 11, 24 ]
[ { "color": "green", "color_rgb": [ 182, 223, 47 ], "radius": 10, "initial_position": [ 178.46, 177.35 ], "initial_velocity": [ -4.916, -3.493 ] }, { "color": "cyan", "color_rgb": [ 73, 241, 253 ], "radius...
24
12
196
196
3
[ "pink", "green", "blue" ]
[ 8, 10, 9 ]
[ { "color": "pink", "color_rgb": [ 242, 2, 234 ], "radius": 8, "initial_position": [ 116.73, 72.88 ], "initial_velocity": [ -1.959, 5.728 ] }, { "color": "green", "color_rgb": [ 176, 210, 8 ], "radius": 8,...
24
12
196
196
4
[ "red", "green", "green", "purple" ]
[ 21, 14, 17 ]
[ { "color": "red", "color_rgb": [ 240, 36, 77 ], "radius": 10, "initial_position": [ 58.85, 47.92 ], "initial_velocity": [ 5.96, 1.398 ] }, { "color": "green", "color_rgb": [ 178, 241, 31 ], "radius": 7, ...
24
12
196
196
4
[ "red", "yellow", "cyan", "purple" ]
[ 10, 26, 32 ]
[ { "color": "red", "color_rgb": [ 235, 16, 45 ], "radius": 10, "initial_position": [ 154.15, 35.27 ], "initial_velocity": [ 6.948, 1.05 ] }, { "color": "yellow", "color_rgb": [ 219, 213, 26 ], "radius": 8,...
24
12
196
196
3
[ "pink", "yellow", "cyan" ]
[ 25, 29, 14 ]
[ { "color": "pink", "color_rgb": [ 203, 50, 234 ], "radius": 8, "initial_position": [ 53.19, 125.72 ], "initial_velocity": [ -5.829, -2.419 ] }, { "color": "yellow", "color_rgb": [ 218, 225, 19 ], "radius"...
24
12
196
196
3
[ "blue", "pink", "green" ]
[ 21, 16, 29 ]
[ { "color": "blue", "color_rgb": [ 57, 115, 230 ], "radius": 9, "initial_position": [ 155.72, 112.37 ], "initial_velocity": [ 1.704, -6.142 ] }, { "color": "pink", "color_rgb": [ 253, 68, 124 ], "radius": ...
24
12
196
196
5
[ "purple", "red", "yellow", "green", "blue" ]
[ 11, 21, 24 ]
[ { "color": "purple", "color_rgb": [ 198, 70, 245 ], "radius": 8, "initial_position": [ 75.97, 45.68 ], "initial_velocity": [ -7.286, -0.249 ] }, { "color": "red", "color_rgb": [ 239, 48, 67 ], "radius": 9...
24
12
196
196
3
[ "blue", "red", "green" ]
[ 13, 20, 27 ]
[ { "color": "blue", "color_rgb": [ 43, 85, 252 ], "radius": 10, "initial_position": [ 48.78, 42.45 ], "initial_velocity": [ 1.789, -4.35 ] }, { "color": "red", "color_rgb": [ 247, 59, 72 ], "radius": 9, ...
24
12
196
196
5
[ "pink", "red", "yellow", "green", "blue" ]
[ 10, 32, 11 ]
[ { "color": "pink", "color_rgb": [ 197, 62, 218 ], "radius": 11, "initial_position": [ 179.63, 141.16 ], "initial_velocity": [ 6.14, -2.481 ] }, { "color": "red", "color_rgb": [ 255, 24, 32 ], "radius": 12...
24
12
196
196
4
[ "pink", "yellow", "green", "blue" ]
[ 26, 19, 12 ]
[ { "color": "pink", "color_rgb": [ 246, 43, 226 ], "radius": 7, "initial_position": [ 78.01, 39.69 ], "initial_velocity": [ 0.832, -4.324 ] }, { "color": "yellow", "color_rgb": [ 222, 186, 42 ], "radius": ...
24
12
196
196
3
[ "orange", "green", "blue" ]
[ 9, 25, 17 ]
[ { "color": "orange", "color_rgb": [ 247, 90, 23 ], "radius": 7, "initial_position": [ 19.04, 185.19 ], "initial_velocity": [ 3.589, 2.702 ] }, { "color": "green", "color_rgb": [ 55, 214, 97 ], "radius": 1...
24
12
196
196
4
[ "red", "green", "blue", "pink" ]
[ 10, 25, 30 ]
[ { "color": "red", "color_rgb": [ 254, 61, 13 ], "radius": 10, "initial_position": [ 62.68, 170.17 ], "initial_velocity": [ -4.524, -2.696 ] }, { "color": "green", "color_rgb": [ 44, 253, 51 ], "radius": 8...
24
12
196
196
5
[ "blue", "pink", "red", "green", "green" ]
[ 14, 12, 18 ]
[ { "color": "blue", "color_rgb": [ 62, 75, 252 ], "radius": 11, "initial_position": [ 86.44, 81.28 ], "initial_velocity": [ -3.697, -2.233 ] }, { "color": "pink", "color_rgb": [ 214, 40, 156 ], "radius": 7...
24
12
196
196
4
[ "green", "blue", "pink", "yellow" ]
[ 9, 27, 19 ]
[ { "color": "green", "color_rgb": [ 63, 251, 88 ], "radius": 8, "initial_position": [ 169.66, 168.66 ], "initial_velocity": [ 1.878, -6.852 ] }, { "color": "blue", "color_rgb": [ 22, 72, 212 ], "radius": 1...
24
12
196
196
5
[ "green", "blue", "pink", "orange", "green" ]
[ 11, 31, 24 ]
[ { "color": "green", "color_rgb": [ 11, 210, 104 ], "radius": 9, "initial_position": [ 63.46, 81.46 ], "initial_velocity": [ -6.752, 1.897 ] }, { "color": "blue", "color_rgb": [ 57, 75, 242 ], "radius": 12...
24
12
196
196
4
[ "blue", "pink", "yellow", "green" ]
[ 12, 27, 29 ]
[ { "color": "blue", "color_rgb": [ 44, 58, 251 ], "radius": 8, "initial_position": [ 103.82, 34.83 ], "initial_velocity": [ 4.309, -0.392 ] }, { "color": "pink", "color_rgb": [ 243, 70, 174 ], "radius": 12...
24
12
196
196
5
[ "yellow", "green", "blue", "purple", "pink" ]
[ 15, 18, 22 ]
[ { "color": "yellow", "color_rgb": [ 234, 234, 8 ], "radius": 7, "initial_position": [ 142.62, 167.59 ], "initial_velocity": [ -5.662, -4.677 ] }, { "color": "green", "color_rgb": [ 58, 219, 101 ], "radius...
24
12
196
196
4
[ "red", "green", "cyan", "purple" ]
[ 27, 26, 10 ]
[ { "color": "red", "color_rgb": [ 247, 37, 72 ], "radius": 7, "initial_position": [ 72.67, 111.87 ], "initial_velocity": [ 0.484, 6.374 ] }, { "color": "green", "color_rgb": [ 137, 219, 65 ], "radius": 11,...
24
12
196
196
5
[ "red", "yellow", "green", "blue", "purple" ]
[ 14, 11, 10 ]
[ { "color": "red", "color_rgb": [ 244, 48, 87 ], "radius": 9, "initial_position": [ 105.87, 147.86 ], "initial_velocity": [ 1.512, -4.986 ] }, { "color": "yellow", "color_rgb": [ 195, 211, 49 ], "radius": ...
24
12
196
196
4
[ "cyan", "purple", "orange", "green" ]
[ 21, 25, 23 ]
[ { "color": "cyan", "color_rgb": [ 29, 221, 251 ], "radius": 12, "initial_position": [ 166.93, 181.78 ], "initial_velocity": [ 1.962, 4.483 ] }, { "color": "purple", "color_rgb": [ 169, 16, 215 ], "radius"...
24
12
196
196
5
[ "orange", "green", "cyan", "blue", "pink" ]
[ 26, 18, 17 ]
[ { "color": "orange", "color_rgb": [ 253, 148, 44 ], "radius": 10, "initial_position": [ 30.5, 75.42 ], "initial_velocity": [ -7.338, -0.285 ] }, { "color": "green", "color_rgb": [ 55, 216, 6 ], "radius": ...
24
12
196
196
4
[ "pink", "orange", "green", "blue" ]
[ 26, 27, 32 ]
[ { "color": "pink", "color_rgb": [ 236, 57, 236 ], "radius": 8, "initial_position": [ 84.85, 120.56 ], "initial_velocity": [ -5.8, 0.898 ] }, { "color": "orange", "color_rgb": [ 246, 151, 42 ], "radius": 8...
24
12
196
196
4
[ "blue", "purple", "orange", "green" ]
[ 9, 31, 15 ]
[ { "color": "blue", "color_rgb": [ 56, 129, 239 ], "radius": 11, "initial_position": [ 108.52, 174.28 ], "initial_velocity": [ -6.236, -4.085 ] }, { "color": "purple", "color_rgb": [ 175, 53, 219 ], "radiu...
24
12
196
196
4
[ "green", "blue", "red", "yellow" ]
[ 27, 30, 15 ]
[ { "color": "green", "color_rgb": [ 74, 245, 165 ], "radius": 11, "initial_position": [ 35.68, 23.89 ], "initial_velocity": [ 6.657, 4.064 ] }, { "color": "blue", "color_rgb": [ 2, 37, 216 ], "radius": 9, ...
24
12
196
196
4
[ "blue", "pink", "yellow", "green" ]
[ 25, 16, 22 ]
[ { "color": "blue", "color_rgb": [ 34, 20, 231 ], "radius": 11, "initial_position": [ 134.03, 49.83 ], "initial_velocity": [ -5.989, -2.316 ] }, { "color": "pink", "color_rgb": [ 211, 64, 162 ], "radius": ...
24
12
196
196
4
[ "purple", "red", "green", "cyan" ]
[ 12, 25, 11 ]
[ { "color": "purple", "color_rgb": [ 173, 64, 227 ], "radius": 11, "initial_position": [ 11.32, 42.52 ], "initial_velocity": [ -4.974, -3.631 ] }, { "color": "red", "color_rgb": [ 213, 38, 73 ], "radius": ...
24
12
196
196
End of preview. Expand in Data Studio

Bouncing Balls

A synthetic dataset of 3,000 videos, each showing 3–5 smaller, differently colored balls bouncing around a square.

Dataset summary

  • Videos: 3,000 MP4 clips
  • Balls per video: 3, 4, or 5
  • Total ball instances: 12,087
  • Ball radius: 7–12 pixels
  • Resolution: 196 × 196 pixels
  • Duration: 24 frames at 12 fps (2 seconds per clip)
  • Motion: straight-line movement, wall bounces, and elastic ball-to-ball collisions
  • Parquet: 10 shards with 300 videos per shard
  • WebDataset: 9 train shards (2,700 videos) and 3 validation shards (300 videos)
  • Generation seed: 42
  • Raw MP4 size: approximately 26.3 MiB
  • Parquet size: approximately 26.8 MiB
  • WebDataset size: approximately 31.5 MiB
  • Complete dataset size: approximately 86.8 MiB

Ball colors are sampled in HSV space to keep them bright and saturated. Hues are spaced within each video to make the balls visually distinct. Initial positions are sampled without overlap.

Folder structure

.
├── data/                              # Parquet version (all 3,000 videos)
│   ├── train-00000-of-00010.parquet
│   ├── ...
│   └── train-00009-of-00010.parquet
├── videos/                            # Original MP4 files
│   ├── 000000.mp4
│   ├── ...
│   └── 002999.mp4
├── wds/                               # WebDataset version
│   ├── train/                         # 2,700 videos: 000000–002699
│   │   ├── bouncing-balls-train-000000.tar
│   │   ├── ...
│   │   └── bouncing-balls-train-000008.tar
│   └── val/                           # 300 videos: 002700–002999
│       ├── bouncing-balls-val-000000.tar
│       ├── ...
│       └── bouncing-balls-val-000002.tar
├── metadata.jsonl                     # One metadata record per raw MP4
└── scripts/
    ├── generate_bouncing_balls.py
    ├── shard_bouncing_balls.py        # Parquet sharding
    ├── shard_bouncing_balls_wds.py    # WebDataset sharding
    └── requirements.txt

The Parquet shards are self-contained: MP4 bytes and metadata are embedded together. The original MP4 files are also included under videos/ for direct use. metadata.jsonl contains one record per raw video, keyed by file_name.

WebDataset shards

The wds/ directory contains uncompressed WebDataset .tar archives:

Split Tar files Videos Videos per shard Video keys
train 9 2,700 300 000000–002699
val 3 300 100 002700–002999

Each tar member is named <key>.mp4, for example 000000.mp4. Metadata is not duplicated inside the tar files; use metadata.jsonl or the Parquet version for the ball annotations.

For a VideoSAUR-style configuration, the shard patterns are:

dataset.train_shards=/path/to/bouncing-balls/wds/train/bouncing-balls-train-{000000..000008}.tar
dataset.val_shards=/path/to/bouncing-balls/wds/val/bouncing-balls-val-{000000..000002}.tar

With the Python webdataset package:

import webdataset as wds

train = wds.WebDataset(
    "wds/train/bouncing-balls-train-{000000..000008}.tar"
)
val = wds.WebDataset(
    "wds/val/bouncing-balls-val-{000000..000002}.tar"
)

Columns

Column Description
video The MP4 video clip, stored as embedded bytes in Parquet
num_balls Number of balls in the clip (3, 4, or 5)
colors Color names for the balls
background_rgb Background color as an RGB triplet
balls Per-ball color, RGB, radius, initial position, and initial velocity
num_frames Number of frames (24)
fps Frames per second (12)
width Frame width (196)
height Frame height (196)

Each entry in balls has:

color: string
color_rgb: [int, int, int]
radius: int
initial_position: [x, y]
initial_velocity: [vx, vy]

Usage

from datasets import load_dataset

ds = load_dataset("jimchen2/bouncing-balls", split="train")
print(ds)
print(ds[0]["num_balls"])
print(ds[0]["balls"])

Decoding videos with datasets may require torchcodec.

Reproduce

pip install -r scripts/requirements.txt

# Generate the raw videos and metadata
python scripts/generate_bouncing_balls.py \
  --count 3000 \
  --output bouncing-balls

# Create Parquet shards
python scripts/shard_bouncing_balls.py \
  --source bouncing-balls \
  --output sharded \
  --shards 10

# Create WebDataset train/val tar shards
python scripts/shard_bouncing_balls_wds.py \
  --source bouncing-balls \
  --output bouncing-balls/wds

License

MIT. The videos are synthetically generated and may be used for experimentation, education, and model development.

Downloads last month
73