├── .env.example ├── .gas-snapshot ├── .github └── workflows │ └── tests.yml ├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── REGISTERED_COLORMAPS.md ├── assets ├── CMRmap.svg ├── GnuPlotPaletteGenerator.svg ├── Wistia.svg ├── autumn.svg ├── base-chain.svg ├── binary.svg ├── bone.svg ├── cool.svg ├── copper.svg ├── farcaster.svg ├── gist_rainbow.svg ├── gist_stern.svg ├── gray.svg ├── hot.svg ├── hsv.svg ├── jet.svg ├── spring.svg ├── summer.svg ├── terrain.svg ├── terrain_colormap.png └── winter.svg ├── foundry.toml ├── generate_cmaps.py ├── remappings.txt ├── script ├── AddColormapsToRegistry.s.sol ├── DeployColormapRegistry.s.sol ├── DeployGnuPlotPaletteGenerator.s.sol └── PrintColormap.s.sol ├── src ├── ColormapRegistry.sol ├── GnuPlotPaletteGenerator.sol ├── interfaces │ ├── IColormapRegistry.sol │ ├── ICreate2Factory.sol │ └── IPaletteGenerator.sol └── utils │ └── Constants.sol └── test ├── Benchmark.t.sol ├── ColormapRegistry.t.sol ├── GnuPlotPaletteGenerator.t.sol └── utils └── BaseTest.sol /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/.env.example -------------------------------------------------------------------------------- /.gas-snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/.gas-snapshot -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/README.md -------------------------------------------------------------------------------- /REGISTERED_COLORMAPS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/REGISTERED_COLORMAPS.md -------------------------------------------------------------------------------- /assets/CMRmap.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/CMRmap.svg -------------------------------------------------------------------------------- /assets/GnuPlotPaletteGenerator.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/GnuPlotPaletteGenerator.svg -------------------------------------------------------------------------------- /assets/Wistia.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/Wistia.svg -------------------------------------------------------------------------------- /assets/autumn.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/autumn.svg -------------------------------------------------------------------------------- /assets/base-chain.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/base-chain.svg -------------------------------------------------------------------------------- /assets/binary.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/binary.svg -------------------------------------------------------------------------------- /assets/bone.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/bone.svg -------------------------------------------------------------------------------- /assets/cool.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/cool.svg -------------------------------------------------------------------------------- /assets/copper.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/copper.svg -------------------------------------------------------------------------------- /assets/farcaster.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/farcaster.svg -------------------------------------------------------------------------------- /assets/gist_rainbow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/gist_rainbow.svg -------------------------------------------------------------------------------- /assets/gist_stern.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/gist_stern.svg -------------------------------------------------------------------------------- /assets/gray.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/gray.svg -------------------------------------------------------------------------------- /assets/hot.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/hot.svg -------------------------------------------------------------------------------- /assets/hsv.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/hsv.svg -------------------------------------------------------------------------------- /assets/jet.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/jet.svg -------------------------------------------------------------------------------- /assets/spring.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/spring.svg -------------------------------------------------------------------------------- /assets/summer.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/summer.svg -------------------------------------------------------------------------------- /assets/terrain.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/terrain.svg -------------------------------------------------------------------------------- /assets/terrain_colormap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/terrain_colormap.png -------------------------------------------------------------------------------- /assets/winter.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/assets/winter.svg -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/foundry.toml -------------------------------------------------------------------------------- /generate_cmaps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/generate_cmaps.py -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/remappings.txt -------------------------------------------------------------------------------- /script/AddColormapsToRegistry.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/script/AddColormapsToRegistry.s.sol -------------------------------------------------------------------------------- /script/DeployColormapRegistry.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/script/DeployColormapRegistry.s.sol -------------------------------------------------------------------------------- /script/DeployGnuPlotPaletteGenerator.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/script/DeployGnuPlotPaletteGenerator.s.sol -------------------------------------------------------------------------------- /script/PrintColormap.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/script/PrintColormap.s.sol -------------------------------------------------------------------------------- /src/ColormapRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/src/ColormapRegistry.sol -------------------------------------------------------------------------------- /src/GnuPlotPaletteGenerator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/src/GnuPlotPaletteGenerator.sol -------------------------------------------------------------------------------- /src/interfaces/IColormapRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/src/interfaces/IColormapRegistry.sol -------------------------------------------------------------------------------- /src/interfaces/ICreate2Factory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/src/interfaces/ICreate2Factory.sol -------------------------------------------------------------------------------- /src/interfaces/IPaletteGenerator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/src/interfaces/IPaletteGenerator.sol -------------------------------------------------------------------------------- /src/utils/Constants.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/src/utils/Constants.sol -------------------------------------------------------------------------------- /test/Benchmark.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/test/Benchmark.t.sol -------------------------------------------------------------------------------- /test/ColormapRegistry.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/test/ColormapRegistry.t.sol -------------------------------------------------------------------------------- /test/GnuPlotPaletteGenerator.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/test/GnuPlotPaletteGenerator.t.sol -------------------------------------------------------------------------------- /test/utils/BaseTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveoutofnine/colormap-registry/HEAD/test/utils/BaseTest.sol --------------------------------------------------------------------------------