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

Suggestion: add animated background with procedural tree growing #11

Open
GypsyDangerous opened this issue Oct 28, 2019 · 8 comments
Open
Assignees
Labels
help wanted Extra attention is needed

Comments

@GypsyDangerous
Copy link
Member

GypsyDangerous commented Oct 28, 2019

I really like the live backgrounds on pages like alca.tv or https://www.ernst-schmidt.com/ and I think it would be really cool to add a live background to this site that generates a forest out of procedural fractal trees.

@shiffman
Copy link
Member

Sounds lovely to me!

@GypsyDangerous GypsyDangerous self-assigned this Oct 29, 2019
@GypsyDangerous
Copy link
Member Author

GypsyDangerous commented Oct 29, 2019

here is what i have so far https://gypsydangerous.github.io/teamtrees/

@GypsyDangerous
Copy link
Member Author

GypsyDangerous commented Oct 30, 2019

@AlcaDesign how did you do yours?

@mikakruschel
Copy link
Contributor

mikakruschel commented Oct 30, 2019

Hey @GypsyDangerous, I don't really know how I could make a pull request to your version, so I just created a gist. What I basically changed is:

  1. display the canvas in the background, because the 'backgroundImage' was slowing down the website
  2. restart drawing on resizing the window (like @AlcaDesign does on his website)

@GypsyDangerous
Copy link
Member Author

Hey @mikakruschel thanks for the suggestions, I have added them to mine, in the future you can PR to here

@AlcaDesign
Copy link
Member

AlcaDesign commented Nov 1, 2019

@GypsyDangerous What you see on my site background is just points moving around an evolving noise/flow field based on Perlin Noise Flow Field by Danny Sheefmahn

As far as making the canvas appear in the background, it's just positioned by CSS using z-index.

#header canvas {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: -1;
}

https://alca.tv/css/style.css

@GypsyDangerous
Copy link
Member Author

Thanks!

@GypsyDangerous
Copy link
Member Author

I think i have the mechanics down, now I just need help with the design

@GypsyDangerous GypsyDangerous added the help wanted Extra attention is needed label Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants