Skip to content

labhansh2/gradients

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradient

TO DO

  • simple linear gradient

  • polish linear

  • multi color interploation

  • impl addressing

  • impl easing

  • bug: [height - 1, width - 1] pixel is wrong

  • handle negative vector ops - idk why i used u32

  • modularize to add more

  • more gradients

    • Shape Based
    • radial
    • conical
    • diamond
    • square
    • Function Based
    • Sin
    • Spiral
    • Polynomial
    • Noise Based
    • Random
    • Perlin
      • look up what octaves are
      • add octaves
      • fix overflow
        • the number of octaves should be less than log base 2 (grid_size.0) becuase a pixel cannot be smaller than 1 by 1
      • random gradient vectors for octaves
    • Simplex
    • Fractal
    • Vorley
    • Procedural
  • better error handling

  • cache color for t

  • random gradient vectors in perlin using coordinate hash

  • seeding in perlin

  • frequency and seeding for random noisec

  • gradient mix

  • add more interploation methods in ColorLine

  • add quantization of colors

IDEAS

  • can stream gradient by yeilding for web server
  • impl a randomizer
  • randomized color lines?
  • filters?
  • own image encoder?

About

A gradient image generation engine from scratch with multiple generation techniques.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages