A few usefull classes for JUCE


#1

I collected up some code I’ve written / ported to juce over the years and put them into a module named Gin. Some I’ve posted before as individual files, but I thought it would be better to have them all in a juce module. All code ported to juce was originally BSD license or similar, credits are in the files. This adds a few useful classes such as:

  • BMPImageFormat - Load and Save Windows Bitmaps. 8, 24, 32 bit, uncompressed reading supported. Write 32 bit.
  • ColourPropertyComponent - Colour picker for PropertyComponent
  • Ellipse - Determine if point is on ellipse. Find point at angle on ellipse.
  • FilePropertyComponent - File chooser for PropertyComponent
  • FileSystemWathcer - Get notified when files in directory change
  • ImageEffects - Sepia, Vignette, Soften, Sharpen, Invert, Contrast, Hue, Saturation, etc. Works on ARGB formatted images only.
  • Integrator - Calculate integrals
  • LeastSquaresRegression - Fits a curve to data points
  • LinearRegression - Fits a line to data points
  • MapViewer - Displays a map. Shows map tiles noly, you will need to extend it to draw paths, markers, etc.
  • OpenStreetMaps - Fetch tiles from various OSM servers
  • SharedMemory - Share a memory block between processes
  • Spline - A smooth curve from a set of discrete points
  • PerlinNoise - Natural looking noise

DirectoryContentsList
#2

Some screenshots from the demo app:

image

image

image


#3

great stuff, thanks!