# bilibili/danmakuflamemaster

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/bilibili-danmakuflamemaster).**

9,608 stars · 2,111 forks · Java · Apache-2.0

## Links

- GitHub: https://github.com/bilibili/DanmakuFlameMaster
- Homepage: http://app.bilibili.com/
- awesome-repositories: https://awesome-repositories.com/repository/bilibili-danmakuflamemaster.md

## Description

DanmakuFlameMaster is a high-performance rendering engine for displaying scrolling bullet comments on Android devices. It functions as a graphic engine that manages the lifecycle of on-screen comments, from parsing raw data to final visual display.

The project is distinguished by its use of hardware-accelerated surface views and multi-core parallel processing to maintain smooth frame rates during high-volume content delivery. It employs a pre-caching layout engine to calculate text dimensions and motion paths before they are displayed on the screen.

The system includes a rule-based visibility filter for real-time content moderation and a dedicated parser for converting XML formatted comment data into memory-efficient objects.

## Tags

### Content Management & Publishing

- [Bullet Comment Rendering](https://awesome-repositories.com/f/content-management-publishing/content-aggregation-curation/comment-systems/bullet-comment-rendering.md) — Provides a high-performance rendering engine for displaying scrolling bullet comments on Android devices. ([source](https://github.com/bilibili/danmakuflamemaster#readme))
- [Comment Moderation Filters](https://awesome-repositories.com/f/content-management-publishing/comment-moderation-filters.md) — Provides a rule-based visibility filter to prevent specific content from appearing on the screen in real-time.
- [Comment Visibility Filters](https://awesome-repositories.com/f/content-management-publishing/comment-visibility-filters.md) — Provides a rule-based system for filtering and blocking specific comments from appearing on the screen.
- [Comment Visibility Controls](https://awesome-repositories.com/f/content-management-publishing/content-aggregation-curation/comment-visibility-controls.md) — Implements a system to filter and block specific comments from appearing on screen based on custom rules. ([source](https://github.com/bilibili/danmakuflamemaster#readme))
- [Real-Time Content Filtering](https://awesome-repositories.com/f/content-management-publishing/real-time-content-filtering.md) — Manages the visibility of live comments by blocking or filtering content based on real-time custom rules.

### Graphics & Multimedia

- [Danmaku Rendering](https://awesome-repositories.com/f/graphics-multimedia/android-media-rendering-frameworks/danmaku-rendering.md) — Enables the display of scrolling bullet comments over video content on Android with custom fonts and motion paths.
- [Graphics Engines and Rendering](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering.md) — Utilizes multi-core processing and pre-caching to act as a graphic engine for high-volume visual content.
- [Overlay Rendering Engines](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/post-processing-pipelines/multi-pass-rendering-pipelines/real-time-rendering-engines/overlay-rendering-engines.md) — Functions as a high-performance overlay engine for rendering synchronized scrolling text on Android.
- [Hardware-Accelerated Rendering](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/rendering/engines/graphics-pipeline-architectures/hardware-accelerated-rendering.md) — Bypasses the standard Android view hierarchy by drawing directly to a hardware-accelerated SurfaceView.

### Scientific & Mathematical Computing

- [Parallel Processing](https://awesome-repositories.com/f/scientific-mathematical-computing/high-performance-execution-environments/high-performance-and-parallel-computing/parallel-processing.md) — Utilizes multi-core parallel processing to distribute comment layout and coordinate calculations for high frame rates.

### Software Engineering & Architecture

- [High-Performance Rendering](https://awesome-repositories.com/f/software-engineering-architecture/high-performance-rendering.md) — Employs multi-core processing and pre-caching to maintain smooth frame rates during high-volume rendering. ([source](https://github.com/bilibili/danmakuflamemaster#readme))

### User Interface & Experience

- [High-Volume Data Rendering](https://awesome-repositories.com/f/user-interface-experience/high-volume-data-rendering.md) — Ensures smooth visual performance when rendering a large number of simultaneous on-screen comments.
- [Layout Dimension Caching](https://awesome-repositories.com/f/user-interface-experience/scroll-interaction-handlers/scroll-state-controllers/scroll-to-index-mappers/layout-dimension-caching.md) — Pre-calculates and caches text dimensions and motion paths to minimize computation during active animations.
- [Trajectory-Based Motion](https://awesome-repositories.com/f/user-interface-experience/text-animations/coordinate-based-text-animation/trajectory-based-motion.md) — Implements a mathematical trajectory system to simulate smooth scrolling movement of bullet comments across the screen.
