Skip to content

Simple SwiftUI MeshGradient editor

License

Notifications You must be signed in to change notification settings

insidegui/MeshBuddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MeshBuddy

A simple SwiftUI MeshGradient editor with the following features:

  • Setup mesh gradient with custom width, height, and canvas (image) size
  • Document-based app with undo/redo support for all operations
  • Edit individual points of the mesh gradient interactivelly
  • Set colors for individual points of the mesh, or distribute a color palette across the points
  • Drag and drop color palettes from Pastel
  • Randomize mesh with perlin noise or pseudo-random generator
  • Image export
  • Swift code generation

Known Limitations:

  • The canvas will always fit to the size of the window, so if the canvas size is very large and the window is small, the control points can be difficult to manipulate (workaround: use a smaller canvas size and change it before exporting an image)
  • Randomization features could be better, the results are not very interesting right now

Requires macOS 15 (Sequoia)

screenshot