Skip to content

Migrate Plasma effect to Graphics Example#3191

Merged
vogella merged 1 commit intoeclipse-platform:masterfrom
vogella:migrate-plasma-effect
Apr 7, 2026
Merged

Migrate Plasma effect to Graphics Example#3191
vogella merged 1 commit intoeclipse-platform:masterfrom
vogella:migrate-plasma-effect

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Apr 3, 2026

This PR migrates the Plasma effect from the SWT-OldSchoolEffect repository to the SWT Graphics Example.

Changes

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

Effect Description

The Plasma effect is an animated color plasma using precomputed sine tables and a cycling RGB palette. It produces continuously morphing, colorful patterns reminiscent of classic demo scene effects.

Checklist

  • No Color disposal (Colors don't need disposal in modern SWT)
  • Uses simple Color constructor (no Color used — effect uses direct RGB pixel values)
  • 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 Plasma effect from SWT-OldSchoolEffect
to the SWT Graphics Example.

Changes:
- Implemented PlasmaTab.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>
@vogella vogella force-pushed the migrate-plasma-effect branch from 3c36a9b to 5659fbf Compare April 6, 2026 19:25
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

Test Results

  170 files  ±0    170 suites  ±0   28m 24s ⏱️ + 3m 15s
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 5659fbf. ± Comparison against base commit df91187.

@vogella vogella merged commit 9e86574 into eclipse-platform:master Apr 7, 2026
24 checks passed
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