"use strict";(self.webpackChunkspeice_io=self.webpackChunkspeice_io||[]).push([["6862"],{78378:function(e,t,n){n.r(t),n.d(t,{assets:function(){returnl},contentTitle:function(){returns},default:function(){returnu},frontMatter:function(){returno},metadata:function(){returni},toc:function(){returnc}});vari=n(36613),r=n(85893),a=n(50065);leto={slug:"2024/11/playing-with-fire-log-density",title:"Playing with fire: Tone mapping and color",date:newDate("2024-12-16T21:32:00.000Z"),authors:["bspeice"],tags:[]},s=void0,l={authorsImageUrls:[void0]},c=[];functionp(e){lett={code:"code",p:"p",...(0,a.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.p,{children:["So far, our ",(0,r.jsx)(t.code,{children:"plot()"})," function has been fairly simple: map a fractal flame coordinate to a specific pixel,\nand color in that pixel. This works well for simple function systems (like Sierpinski's Gasket),\nbut more complex systems (like the reference parameters) produce grainy images."]}),"\n",(0,r.jsx)(t.p,{children:"In this post, we'll refine the image quality and add color to really make things shine."})]})}functionu(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};returnt?(0,r.jsx)(t,{...e,children:(0,r.jsx)(p,{...e})}):p(e)}},50065:function(e,t,n){n.d(t,{Z:function(){returns},a:function(){returno}});vari=n(67294);letr={},a=i.createContext(r);functiono(e){lett=i.useContext(a);returni.useMemo(function(){return"function"==typeofe?e(t):{...t,...e}},[t,e])}functions(e){lett;returnt=e.disableParentContext?"function"==typeofe.components?e.components(r):e.components||r:o(e.components),i.createElement(a.Provider,{value:t},e.children)}},36613:function(e){e.exports=JSON.parse('{"permalink":"/2024/11/playing-with-fire-log-density","source":"@site/blog/2024-11-15-playing-with-fire/3-log-density/index.mdx","title":"Playing with fire: Tone mapping and color","description":"So far, our plot() function has been fairly simple: map a fractal flame coordinate to a specific pixel,","date":"2024-12-16T21:32:00.000Z","tags":[],"readingTime":6.245,"hasTruncateMarker":true,"authors":[{"name":"Bradlee Speice","socials":{"github":"https://github.com/bspeice"},"key":"bspeice","page":null}],"frontMatter":{"slug":"2024/11/playing-with-fire-log-density","title":"Playing with fire: Tone mapping and color","date":"2024-12-16T21:32:00.000Z","authors":["bspeice"],"tags":[]},"unlisted":false,"lastUpdatedAt":1734402605000,"nextItem":{"title":"Playing with fire: Transforms and variations","permalink":"/2024/11/playing-with-fire-transforms"}}')}}]);