Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.77 KB

README.md

File metadata and controls

40 lines (31 loc) · 1.77 KB

Morphing Geometric Shapes with SDF in Fragment Shaders GLSL and Rendering in Jetpack Compose

An example of smooth morphing animation between geometric shapes using Signed Distance Functions (SDF) and GLSL for graphical rendering. This implementation demonstrates how to leverage fragment shaders for dynamic visual effects.

Preview

Morphing Animation

Morphing Animation

Application Screenshot

Screenshot 1 Screenshot 2 Screenshot 3

Features

  • Smooth transitions between geometric shapes
  • Real-time rendering with GLSL
  • Integration with Jetpack Compose for UI presentation
  • Choose both inner and outer colors for shapes
  • Easily switch to a grayscale palette for focused visualization
  • Select from a variety of pre-defined shapes for your morphing animations

License

Copyright 2025 Denis

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.