Logo by AGUS - Contribute your own Logo!


it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Support us via Flattr FLATTR Link
Welcome, Guest. Please login or register. September 15, 2019, 03:35:56 PM

Login with username, password and session length

The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!

Pages: [1]   Go Down
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Line of code to deStrobe the colors for the canvas display  (Read 192 times)
0 Members and 2 Guests are viewing this topic.
Forums Freshman
Posts: 18

« on: November 20, 2017, 04:01:22 PM »

The canvas updates are very rave-style and I get hypervelocity space travel from them. Can you please add a maths function on the end of the pixel render chain, that way is same to a radar phosphorescent display physics so it should be cool. Am I the only one who finds the current radar scope confusing to have on the screen?

canvasPixel[x,y].rgb.previous = canvasPixel[x,y].rgb.current //keep the more blocky resolution previous pixel

Coroutine to crossfade/transition every pixel in 2/4/20 steps for the next 3 seconds to the new color, using a timer:

for (i=0 to i<10)
//var tenStepCrossFadeVariable = (i/10)/10.0;
canvasPixel[x,y].rgb.dreamFxFade = Math.Lerp( canvasPixel[x,y].rgb.previous , canvasPixel[x,y].rgb.current , i/10)

//You could add another line to simulate a fake sparkle:

if i<5

var DiamantinePostProcess = Math.Floor (Random(1/10000.0)/10000.0)

Pixel[x,y] = Pixel[x,y] +DiamantinePostProcess;
« Last Edit: November 23, 2017, 12:30:25 PM by monstercolorfun » Logged
Pages: [1]   Go Down
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Dark canvas Mandelbulb3D Gallery bib 0 468 Last post January 12, 2011, 11:16:26 PM
by bib
How do i put colors on this 3d shadertoy code? 3D Fractal Generation Mrz00m 1 684 Last post September 04, 2014, 01:08:29 PM
by cKleinhuis
canvas channel Images Showcase (Rate My Fractal) thom 1 374 Last post March 17, 2016, 06:25:21 PM
by cKleinhuis
How to convert MB3D parameter code to people can read like flame code? Mandelbulb 3d fengda2870 4 350 Last post December 30, 2016, 03:32:42 PM
by lycium
Mandelbrot on canvas Format, Printing & Post Production FractalStefan 14 1101 Last post August 18, 2017, 09:01:41 PM
by Svarvsven

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.787 seconds with 29 queries. (Pretty URLs adds 0.006s, 2q)