JS-beginner-projects icon indicating copy to clipboard operation
JS-beginner-projects copied to clipboard

ImageData Julia Fractal

Open jD2R opened this issue 2 years ago • 2 comments

I'd like to make a demo on how to make a Julia Fractal with JS's ImageData functionality. Would that be considered enough to be a full project?

Here's a screenshot of what it looks like in another programming environment, I would just have to port it to vanilla HTML/CSS/JS.

image

Update: here's a working version - https://codepen.io/jd2r/pen/PoXdjmp

jD2R avatar Oct 02 '23 21:10 jD2R

@jD2R Why should someone use this?

Git21221 avatar Oct 03 '23 03:10 Git21221

I understand that it's not your average HTML/CSS/JS web app, but I think it has several important features that could argue for its addition to this list.

  • Completing this project is a good introduction to the Canvas API.
  • Completing this project is a good introduction to lower-level pixel manipulation.
  • It serves as a good introduction to working with mathematical concepts; translating an algorithm to JS.
  • For what I'm concerned, this is a pretty good flex of your problem-solving skills as well. There's a lot of moving pieces here that might not look as straightforward as other projects, so keeping track of them (while it's not difficult) requires a good set of skills.

That being said, if you were intending this repo to house only standard web apps, I'll happily close this and open another one that is more related to the theme.

jD2R avatar Oct 03 '23 10:10 jD2R