HI version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
93% Positive
Analyzed from 390 words in the discussion.
Trending Topics
#https#noise#nice#demos#canvas#more#gradient#while#perlin#gradients

Discussion (11 Comments)Read Original on HackerNews
Recently I did some work to add software gradient enhancements to my canvas library. Because these run on the CPU rather than GPU they're computationally intense, but still worth the effort just to see what can be done with different spreads (pad, repeat, reflect, transparent) and noise engine operations inserted while calculating stuff like gradient color selection, and pixel positioning.
Linear gradient demo test - https://scrawl-v8.rikweb.org.uk/demo/canvas-003.html
We used Perlin noise for demos of our Golang/BubbleTea terminal Glyph heatmap widget and then later with our Picture widget.
Live WASM demos of the Golang terminal programs:
https://nimblemarkets.github.io/ntcharts/demos/heatmap-perli...
https://nimblemarkets.github.io/ntcharts/demos/heatpicture-p... Press 't' to switch between glyph/image modes
I am a complete newbie, so I might be asking about something obvious -- does anyone know how some of these would relate to plotting random Polya vector fields ?
For example, one can take a sum of complex rational functions of the form
where (r_i,p_i) are complex numbers drawn from some random point process, say a generalized Poisson one.One needs to plot the conjugate of sum_i f_i(z).
EDIT: so many lovely pages pointed to in the comments ! Let me convey collective thanks to all, rather than clutter this page with individual thanks.
@ttctciyf you are marked dead. Not sure why.