Skip to content

Migrate Blob effect to Graphics Example#3190

Open
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:migrate-blob-effect
Open

Migrate Blob effect to Graphics Example#3190
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:migrate-blob-effect

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Apr 3, 2026

This PR migrates the Blob (metaball) effect from the SWT-OldSchoolEffect repository to the SWT Graphics Example.

Changes

  • Implemented BlobTab.java extending AnimatedGraphicsTab
  • Registered the new tab in GraphicsExample.java
  • Added descriptive strings to examples_graphics.properties

Effect Description

The Blob effect is an animated metaball simulation where 20 blobs move randomly across the screen and blend together when overlapping, creating smooth organic shapes using a grayscale palette.

Checklist

  • No Color disposal (Colors don't need disposal in modern SWT)
  • Uses simple new Color(r, g, b) constructor (no Color used — effect uses indexed palette)
  • Images disposed properly in dispose() override
  • No compiler errors or warnings (mvn clean verify -Dnative=gtk.linux.x86_64 -DskipTests passes)
  • $NON-NLS-1$ markers on all string keys
  • EPL-2.0 header with original author credit
  • Category = "Misc"
  • Localized strings in examples_graphics.properties

Contributes to #3189

This PR migrates the Blob (metaball) effect from SWT-OldSchoolEffect
to the SWT Graphics Example.

Changes:
- Implemented BlobTab.java extending AnimatedGraphicsTab
- Registered the new tab in GraphicsExample.java
- Added descriptive strings to examples_graphics.properties

Contributes to eclipse-platform#3189

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Test Results

  170 files  ±0    170 suites  ±0   25m 1s ⏱️ - 2m 46s
4 679 tests ±0  4 658 ✅ ±0   21 💤 ±0  0 ❌ ±0 
6 592 runs  ±0  6 437 ✅ ±0  155 💤 ±0  0 ❌ ±0 

Results for commit cdc5b06. ± Comparison against base commit d820f7e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant