Datasets:
Add 3,000 bouncing-ball videos in 10 Parquet shards
Browse filesFiles changed (11)
- README.mdAdded+77
- data/train-00000-of-00010.parquetAdded+3
- data/train-00001-of-00010.parquetAdded+3
- data/train-00002-of-00010.parquetAdded+3
- data/train-00003-of-00010.parquetAdded+3
- data/train-00004-of-00010.parquetAdded+3
- data/train-00005-of-00010.parquetAdded+3
- data/train-00006-of-00010.parquetAdded+3
- data/train-00007-of-00010.parquetAdded+3
- data/train-00008-of-00010.parquetAdded+3
- data/train-00009-of-00010.parquetAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677---license: mitpretty_name: Bouncing Ballstask_categories: - video-classificationtags: - synthetic - video - bouncing-balls - physics - colorfulsize_categories: - 1K<n<10Kconfigs: - config_name: default data_files: - split: train path: data/train-*.parquet---
# Bouncing Balls
A simple synthetic dataset of **3,000 videos** featuring a single brightly colored ball bouncing inside a square.
## Dataset summary
- **Videos:** 3,000 MP4 clips, stored as embedded bytes in Parquet- **Shards:** 10 train shards, with 300 videos per shard- **Resolution:** 64 × 64 pixels- **Duration:** 24 frames at 12 fps (2 seconds per clip)- **Variation:** ball color, radius, initial position, horizontal/vertical velocity, and dark background color- **Generation seed:** 42
Each video contains one ball moving at constant velocity and bouncing off the four walls. Colors are sampled in HSV space to keep them bright and saturated.
## Files
```textdata/ train-00000-of-00010.parquet ... train-00009-of-00010.parquet```
Every shard is self-contained: video bytes and metadata are stored together, so there are no external video paths to resolve.
## Columns
| Column | Description ||---|---|| `video` | The MP4 video clip, stored as embedded bytes || `color` | Approximate color name || `color_rgb` | Ball color as an RGB triplet || `background_rgb` | Background color as an RGB triplet || `radius` | Ball radius in pixels || `velocity_x` | Initial horizontal velocity in pixels/frame || `velocity_y` | Initial vertical velocity in pixels/frame || `num_frames` | Number of frames (24) || `fps` | Frames per second (12) || `width` | Frame width (64) || `height` | Frame height (64) |
## Usage
```pythonfrom datasets import load_dataset
ds = load_dataset("jimchen2/bouncing-balls", split="train")print(ds)print(ds[0])```
Decoding videos with `datasets` may require `torchcodec`.
## License
MIT. The videos are synthetically generated and may be used for experimentation, education, and model development.123version https://git-lfs.github.com/spec/v1oid sha256:6688a3ecbe860ac3a4b14cc521a63e4ecc6599851e07e53fa2c5243503d1b1e1size 965983123version https://git-lfs.github.com/spec/v1oid sha256:c1cf1aaf69a67986c0656f6377e575cb1a1656fe8fb3bf1111d69d5a29ac467fsize 960779123version https://git-lfs.github.com/spec/v1oid sha256:c6c4628a0285dc839f48db7a74647b20778ba7363af8f2ae7c616da3eddea103size 991311123version https://git-lfs.github.com/spec/v1oid sha256:763887874c9480518300eca307e80ddfe45975d82ef31ba68ebdf91bdbd655e6size 972002123version https://git-lfs.github.com/spec/v1oid sha256:b64e5c01732dce92e62edef349a0427b9628cd27d420537a2166334c3c9d4dc8size 972635123version https://git-lfs.github.com/spec/v1oid sha256:5e58ef8f8fc52c7dbddfc190a3dc815afbc9e9cfc69d03965213d8523e7487bfsize 969715123version https://git-lfs.github.com/spec/v1oid sha256:d8c62bc0b649c4e819fa96646bac86dfa85ae13891586740d253514e556fe6d2size 972376123version https://git-lfs.github.com/spec/v1oid sha256:1ee5903f1ebc98eb31ad3bf462787c3f0114bf7c9c58cb5d2e1ed07a516148dbsize 960857123version https://git-lfs.github.com/spec/v1oid sha256:0a6056ea7ac0a5442acfe75b6cbaace9360082f249af1cc2a48b381b5f92ad9bsize 963689123version https://git-lfs.github.com/spec/v1oid sha256:f298ef53be02cd62404a6c07afacf85406178cb4eef7423c7e9dd14349665861size 974392README.mdAdded+77
data/train-00000-of-00010.parquetAdded+3
data/train-00001-of-00010.parquetAdded+3
data/train-00002-of-00010.parquetAdded+3
data/train-00003-of-00010.parquetAdded+3
data/train-00004-of-00010.parquetAdded+3
data/train-00005-of-00010.parquetAdded+3
data/train-00006-of-00010.parquetAdded+3
data/train-00007-of-00010.parquetAdded+3
data/train-00008-of-00010.parquetAdded+3
data/train-00009-of-00010.parquetAdded+3