CoolFace
Datasetpublic

nyuuzyou/animations

Dataset Card for Animations Dataset Dataset Summary This dataset contains 50,849 animations with their associated metadata and source images. Each animation consists of multiple frames composed of simple sketch-level drawings, text elements, and potentially embedded images. The dataset provides complete information about each animation, including frame components, source images, timing between frames, and canvas settings. This makes it suitable for various tasks… See the full description on the dataset page: https://huggingface.co/datasets/nyuuzyou/animations.

sourceHugging Faceotherupdated 8mo agoView on Hugging Face
3likes128downloads
Dataset Card

Dataset Card for Animations Dataset

Dataset Summary

This dataset contains 50,849 animations with their associated metadata and source images. Each animation consists of multiple frames composed of simple sketch-level drawings, text elements, and potentially embedded images. The dataset provides complete information about each animation, including frame components, source images, timing between frames, and canvas settings. This makes it suitable for various tasks such as animation analysis, generation, and modification.

Languages

The dataset is primarily monolingual:

  • English (en): Any text elements within animations are predominantly in English.

Dataset Structure

Data Files

The dataset is stored as Parquet files with ZSTD compression:

  • train-00000.parquet through train-00003.parquet
  • Total: 4 shards, ~4.2 GB compressed

Data Fields

Each row in the Parquet files contains the following columns:

ColumnTypeDescription
idstringUnique identifier (UUID) for the animation
settingsstringJSON object containing canvas configuration
dtimeslist[int64]Time delays between frames in milliseconds
frames_datastringJSON array describing each frame's elements
imageslist[binary]PNG images used in the animation (decoded bytes)
Settings Object

The settings JSON contains:

  • canvas_width, canvas_height: Dimensions of the animation canvas
  • fillcolor: Background color of the canvas (if specified)
  • default_font: Default font used for text elements
  • default_font_size: Default font size
Frames Data Structure

The frames_data JSON is an array of arrays, where each inner array represents a frame's elements:

  • type_for_loader: Element type (e.g., "text", "image")
  • data: Object containing element properties:
  • type: Element type
  • centerx, centery: Position coordinates on the canvas
  • text: Text content (for text elements)
  • font, size: Font properties
  • rotate_angle, angle: Rotation properties
  • strokeColor, fillColor, textColor: Color properties
  • src: Index into the images array (for image elements)
  • children_data: Array of child elements (if any)

Data Splits

SplitNumber of Examples
train50,849