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

18 the matrix easter egg #25

Merged
merged 8 commits into from
Oct 7, 2022
Merged

Conversation

fudgemasterultra
Copy link
Collaborator

Adding in matrix effect easter egg.
Have event listener on window that captures key presses. if at some point "neo" is typed in it will start the matrix. Had to add global css because they aren't in place on the jsx until the classes are needed later on, and svelte trying to save me from myself would get rid of that unused css for me.

Code should produce an array of to the screen width/13 arrays filled up till screen height/13.
--
A class was created in matrixChar
to signfy characters, and strength we can use to lower intensity of characters
--
Two functions created one addMatrix to randomly decide if it should add a Character
One moveMatrix that checks the array and removes strength 1 characters, and adds another character ahead of strength 5 character.
@todo will probably want to find a more efficent way to add children to div. May instead of adding a p element for each item in array may add a new carriadge and once we get to a character wrap that in a span with css properties.
added keyframes, and css selectors for it. made a z index of -1 to push behind elements.
added easter egg to start matrix downpoor
@fudgemasterultra fudgemasterultra linked an issue Oct 6, 2022 that may be closed by this pull request
@netlify
Copy link

netlify bot commented Oct 6, 2022

Deploy Preview for tricitiesdev ready!

Name Link
🔨 Latest commit 6b14edf
🔍 Latest deploy log https://app.netlify.com/sites/tricitiesdev/deploys/634050217d4d42000838da87
😎 Deploy Preview https://deploy-preview-25--tricitiesdev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@mackenly
Copy link
Member

mackenly commented Oct 6, 2022

Should we standardize the backgrounds? The logo is currently a JPG (no transparency), so we could convert it to a transparent PNG or to an SVG. Alternatively, we could set the background color of the links to black and not let the matrix show through.

I personally like the look of the matrix effect showing through, but either way I think both the logo and buttons should match. That's of course a stylistic opinion and probably needs discussion.

image

@fudgemasterultra
Copy link
Collaborator Author

I wonder if @jeffrainey has a svg logo with a transparent background?

@jeffrainey
Copy link
Contributor

@fudgemasterultra @mackenly Good call! I will get this in later tonight. I can commit it into this branch.

@RyannosaurusRex
Copy link
Member

After looking at the preview, I personally kinda like the buttons and logo solid. Kings makes it pop a little more. Personal preference, though.

speed it up a little
@fudgemasterultra
Copy link
Collaborator Author

So I made it run a little faster, and I think it looks pretty nice now. So before I merge it in. Are we going no transparent, or not? Luckily it really isn't that big of a deal, because most people will never see it.

@RyannosaurusRex
Copy link
Member

@fudgemasterultra Went to merge this but has some conflicts in the imports. Can you fix those up and then I'll merge it in. Thanks!

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.

"The Matrix" easter egg
4 participants