This repository has been archived by the owner on Jun 17, 2021. It is now read-only.
Better animation (particles!) for random project-name generation #264
Labels
good first issue
Good for newcomers
involves design
Deals with visual stuff
upcoming feature
New feature or request
When creating a new project, there's a "sparkles" button that will generate a new, random project name:
I don't love what I did here, for a few reasons:
I have a way more fun idea: particle generation!
When you click on the sparkles, it should emit a handful of particles in random directions. This is how Medium's "Clap" icon works:
I don't really like the Medium particles, because they feel really dull and lifeless. This example has way more fun particles (albeit far too many for what I want here):
With these examples in mind, what I'm imagining is:
constants.js
)The component we'd be changing is
HoverableIconButton
inProjectName.js
. In fact we could deleteHoverableIconButton
and replace it with a newParticleButton
, maybe?Probably the first step is to create a storybook (or docz, if we've migrated) and figure out what the props should be. It would be good to control things like density, duration, gravity, etc.
There are libraries that can help, but I think it's probably best to do this manually, so we have 100% control over it. Although I'm happy to be proven wrong, if folks wanna show me what's possible with particle libraries :D
This is a really fun issue and I may tackle it myself if/when I find the time. But it's also a great first issue for newcomers. Just please be aware that I might request quite a few changes, since I have something pretty specific in mind.
The text was updated successfully, but these errors were encountered: