Skip to content

addMorphing Shapes#3249

Merged
LaurelineP merged 2 commits into
zero-to-mastery:masterfrom
Aviral02git:Morphing-Shapes-Aviral02git
Oct 31, 2025
Merged

addMorphing Shapes#3249
LaurelineP merged 2 commits into
zero-to-mastery:masterfrom
Aviral02git:Morphing-Shapes-Aviral02git

Conversation

@Aviral02git
Copy link
Copy Markdown
Contributor

Description:

Morphing Shapes is a mesmerizing CSS animation that showcases a shape continuously transforming through various geometric forms while rotating and scaling. Combined with an animated gradient background, this creates a hypnotic visual experience that demonstrates the power of modern CSS animations.

Key Features:

Seamless shape morphing from circle to organic forms to square
Continuous 360-degree rotation animation
Dynamic scaling effects for added depth
Animated gradient background that shifts colours
Smooth transitions between all shape states
3D perspective for enhanced visual appeal
Pure CSS - zero JavaScript required
Performance-optimised with GPU acceleration

Visual Effects:

Shape Transformations: Circle → Organic Blob → Square → Organic Blob → Circle
Rotation: Complete 360° rotation synchronised with morphing
Scaling: Dynamic size changes (0.9x to 1.1x) for breathing effect
Background: Multi-colour gradient animation (Orange, Pink, Blue, Teal)
Shadow: Realistic 3D shadow for depth perception
Perspective: 3D transform context for a professional look

Color Palette:

Shape Gradient: Purple to Deep Purple (#667eea → #764ba2)
Background Colours: Sunset Orange, Magenta Pink, Sky Blue, Mint Teal
Shadow: Semi-transparent black for realistic depth

###Technical Details:

Technologies Used: HTML5, CSS3
Animation Type: Dual CSS Keyframes (morph + gradientShift)
Browser Support: All modern browsers with CSS3 support
Performance: Hardware-accelerated with transform and GPU properties
Animation Duration: 6s for shape morph, 15s for background gradient
Transform Properties: rotate, scale, border-radius
3D Effects: CSS perspective property

Files Structure
morphing-shapes/
├── index.html
├── styles.css
└── meta.json
Usage
Perfect for:

Creative portfolio hero sections
Loading screens with style
Modern landing pages
Art and design showcases
Music visualizer interfaces
Brand identity animations
Abstract background elements
UI/UX design presentations

Animation Breakdown
Shape Morphing Sequence (6s cycle):

0% & 100%: Perfect circle, no rotation, normal scale
25%: Organic blob shape, 90° rotation, 1.1x scale
50%: Perfect square, 180° rotation, 0.9x scale
75%: Inverted organic blob, 270° rotation, 1.1x scale

Background Animation:

Continuous gradient position shift creating a flowing color effect
15-second cycle for smooth, subtle background movement
400% background size for extensive color travel

Hacktoberfest Contribution
This animation is proudly submitted as part of the Animation Nation collection for Hacktoberfest!

Hacktoberfest Requirements Met:

Original, creative CSS animation implementation
Complete, production-ready code
Follows Animation Nation repository structure and guidelines
Includes required meta.json configuration
Well-documented with clean, readable code
Demonstrates advanced CSS animation techniques
Adds significant value to the project
No plagiarism, spam, or low-quality content

Requesting Hacktoberfest Acceptance: This PR delivers a sophisticated animation that showcases advanced CSS techniques including complex border-radius morphing, synchronized multi-property animations, 3D transforms, and dynamic gradient animations. The code is production-ready, well-optimized, and demonstrates professional-level CSS animation skills. This contribution fully meets and exceeds Hacktoberfest quality standards while adding a unique and visually stunning piece to the Animation Nation collection.

Preview
Watch as a shape seamlessly transforms through multiple geometric forms - from a perfect circle to organic blob shapes to a sharp square - all while rotating a full 360 degrees. The shape scales dynamically, creating a breathing effect, while a vibrant multi-color gradient background flows continuously behind it. The combination creates a hypnotic, modern visual experience.
Customization
Easy to customize:

Shape Size: Adjust .shape width/height (currently 200px)
Colors: Modify gradient colors in .shape background
Animation Speed: Change animation-duration (6s for morph, 15s for background)
Rotation: Adjust rotate values in @Keyframes morph
Morphing Shapes: Customize border-radius values for different organic forms
Background Colors: Update gradient stops in body background
Scale Range: Modify scale() values for more/less size variation
Shadow: Adjust box-shadow for different depth effects

Advanced CSS Techniques Used

Complex border-radius: Custom values for organic blob shapes
Multi-property animations: Simultaneous transform, rotation, and scaling
Gradient animation: Background-position animation for colour flow
3D perspective: CSS perspective for enhanced depth
Transform chaining: Multiple transform functions combined
Easing functions: ease-in-out for smooth, natural motion

@github-actions
Copy link
Copy Markdown

Aloha @Aviral02git 🙌 - Thanks for your contribution!

🎉 Your submission meets all pre-review requirements!
It’s now awaiting final validation from a maintainer.

Happy Coding! 🚀

Copy link
Copy Markdown
Contributor

@LaurelineP LaurelineP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aloha @Aviral02git

Complementary feedback

Your foldername contains a space, please remove it ( use camelCase art name or separate with hyphens or underscore)

  • Please remove the space contained in your folder name

@github-actions
Copy link
Copy Markdown

Aloha @Aviral02git 🙌 - Thanks for your contribution!

🎉 Your submission meets all pre-review requirements!
It’s now awaiting final validation from a maintainer.

Happy Coding! 🚀

@LaurelineP LaurelineP merged commit 8e18fa0 into zero-to-mastery:master Oct 31, 2025
3 checks passed
@github-actions github-actions Bot removed the Awaiting Maintainer Validation PR awaits maintainer approval label Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants