tag:blogger.com,1999:blog-6885067460687713893.post2777632565535860147..comments2024-03-28T05:50:40.310+01:00Comments on Harmonic Code: Pushing pixels with PixelWriterHan Solohttp://www.blogger.com/profile/12574196875988408685noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-6885067460687713893.post-61668065280093873722016-06-29T16:28:18.794+02:002016-06-29T16:28:18.794+02:00Hi there,
Unfortunately not of this example but yo...Hi there,<br />Unfortunately not of this example but you will find the code also in my Medusa library on github, just search for the Helper.java class which contains the random pixel generator (https://github.com/HanSolo/Medusa)Han Solohttps://www.blogger.com/profile/12574196875988408685noreply@blogger.comtag:blogger.com,1999:blog-6885067460687713893.post-75837210297836517372016-06-29T16:20:58.477+02:002016-06-29T16:20:58.477+02:00OMG I love this, I'm still new to javafx so th...OMG I love this, I'm still new to javafx so the part where you write the image to a canvas or some other layout is the part that I'm not seeing do you have a full github implementation of the random pixel generator code?Mileshttps://www.blogger.com/profile/04136001384431931666noreply@blogger.comtag:blogger.com,1999:blog-6885067460687713893.post-23962811689547551732013-02-03T06:14:28.245+01:002013-02-03T06:14:28.245+01:00Hi Chellsie,
You could find the implementation of ...Hi Chellsie,<br />You could find the implementation of the "ConicalGradient" in the sources of the JFXtras project (http://jfxtras.org). The source is hosted on github and the code you are looking for should be in the utils package.<br />Cheers,<br />GerritHan Solohttps://www.blogger.com/profile/12574196875988408685noreply@blogger.comtag:blogger.com,1999:blog-6885067460687713893.post-51009684398422589062013-02-03T05:01:37.972+01:002013-02-03T05:01:37.972+01:00Good evening, this is exactly what I have been sea...Good evening, this is exactly what I have been searching the net for, for 'bout a week now (nearly!) Say, you would not happen to have a complete example available, would you? I tried to re-create this, but keep getting an artifact (Red) at 90 degrees. Thanks again!Anonymoushttps://www.blogger.com/profile/15047782190331889255noreply@blogger.comtag:blogger.com,1999:blog-6885067460687713893.post-77313641201615630882012-09-10T22:29:31.045+02:002012-09-10T22:29:31.045+02:00Done. The new routines plotted the patterns rotate...Done. The new routines plotted the patterns rotated 180 degrees from the original, I've just applied a simple top/bottom flip to fix this, cheaper than a rotation.Anonymoushttps://www.blogger.com/profile/11346614604796957674noreply@blogger.comtag:blogger.com,1999:blog-6885067460687713893.post-56487823654184214352012-09-10T11:56:39.891+02:002012-09-10T11:56:39.891+02:00Hi Mark,
I suggest to check it in and wait for the...Hi Mark,<br />I suggest to check it in and wait for the users response...because the painting usually happens only once or twice the time should be hopefully acceptable.<br />Cheers,<br />GerritHan Solohttps://www.blogger.com/profile/12574196875988408685noreply@blogger.comtag:blogger.com,1999:blog-6885067460687713893.post-81680944302880728802012-09-10T11:52:01.536+02:002012-09-10T11:52:01.536+02:00Unfortunately pixel poking the HTML5 canvas is rea...Unfortunately pixel poking the HTML5 canvas is really slow in JavaScript. I'm optimising the loops as best I can at the expense of some readability. It should be just about acceptable from what I have so far.Anonymoushttps://www.blogger.com/profile/11346614604796957674noreply@blogger.comtag:blogger.com,1999:blog-6885067460687713893.post-50166153859625500512012-09-08T19:51:39.028+02:002012-09-08T19:51:39.028+02:00Nice, that was also on my list, so thx for adding ...Nice, that was also on my list, so thx for adding it before me... :)<br />Cheers,<br />GerritHan Solohttps://www.blogger.com/profile/12574196875988408685noreply@blogger.comtag:blogger.com,1999:blog-6885067460687713893.post-74973474921563920642012-09-08T19:30:45.776+02:002012-09-08T19:30:45.776+02:00Great, I have adapted this to the JavaScript libra...Great, I have adapted this to the JavaScript library. I added circular plotting, and inner limit (to plot rings) and some anti-aliasing to the edges. Much better than the rotated line version :)Anonymoushttps://www.blogger.com/profile/11346614604796957674noreply@blogger.com