Skip to content

Migrate Plasma effect to Graphics Example#3191

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

Migrate Plasma effect to Graphics Example#3191
vogella wants to merge 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>
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