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

PNG - generating programmatically #1010

Closed
ppkn opened this issue Aug 26, 2024 · 4 comments
Closed

PNG - generating programmatically #1010

ppkn opened this issue Aug 26, 2024 · 4 comments
Assignees

Comments

@ppkn
Copy link

ppkn commented Aug 26, 2024

In 4.8 when discussing adding image textures to a particle system, you mention generating a png.

You can create these textures in numerous ways: you can indeed make them programmatically within p5.js (I include an example on the book’s website)

However, I was unable to locate an example of programmatically making a png 😦

Maybe we could add a hyperlink to an example?

@ppkn
Copy link
Author

ppkn commented Aug 28, 2024

I eventually found it at https://editor.p5js.org/codingtrain/sketches/NS4rB1Yx-

@shiffman shiffman self-assigned this Sep 24, 2024
@shiffman
Copy link
Member

shiffman commented Oct 8, 2024

Thanks for reporting this! I need to think about how to best include this on the website, I don't really have a place for extra examples. Maybe I can just adjust the text for the website to include a link to the sketch. @jasongao97 for some reason I've forgotten how to do this, is it just a matter of two different callout boxes one with web-only and one with pdf-only?

@shiffman
Copy link
Member

Ok, I've incorporated this in Notion, maybe not the best solution, but it will do! Will check on the next build!

Screenshot 2024-10-21 at 7 18 53 PM

@shiffman
Copy link
Member

This is now incorporated in the website!

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

No branches or pull requests

2 participants