Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ASCII Effect #683

Open
LucaArgentieri opened this issue Feb 14, 2025 · 1 comment
Open

Implement ASCII Effect #683

LucaArgentieri opened this issue Feb 14, 2025 · 1 comment
Labels
feature request New feature request

Comments

@LucaArgentieri
Copy link

Is your feature request related to a problem?

I have implemented the Ascii effect of threejs but it is heavy in some cases and not compatible with other postprocessing effects because of its operation.

Describe the solution you'd like

I tried this Ascii library and it seems to work quite well, certainly can be improved but is a good starting point for including it in the postprocessing library.

composer = new EffectComposer(renderer);
composer.addPass(new RenderPass(scene, camera));


const asciiEffect = new ASCII({
 fontSize: 40,
 cellSize: 10,
 invert: false,
 color: true,
 characters: ` .:,'-^=*+?!|0#X%WM@`
});

composer.addPass(new EffectPass(camera, new GlitchEffect()));
composer.addPass(new EffectPass(camera, asciiEffect));

@LucaArgentieri LucaArgentieri added the feature request New feature request label Feb 14, 2025
@vanruesc
Copy link
Member

Hi, that's a nice effect!

Feel free to send a PR for v6 as a starting point. I'll help with the refactoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants