#########
19.05.2012

The article and applet on how to rasterize a triangle is finally finished - check it out!


30.03.2012

Added a little C# tool 'HeaderIncludeTool'.
It parses C source files in order to build a header include dependeny tree. Might be useful if you want to find a cycle in your include hierarchy. Can run as wizard-like GUI application as well as console app. Of course, source is available...
Curious? Check it out here!


22.12.2011

Finally I finished the article about testing if a point is inside a given triangle featuring two different algorithms: One algorithm uses the so-called perp-Dot-Product to check the point againt the three edges of the triangle. The second one uses barycentric coordinates for triangle representation and evaluates the final equations using Cramer's Rule.
Check out article, applet and source!

I wish all my visitors Merry Christmans and a Happy New Year!


22.09.2011

Added a short article about the rotation of a point around the x-, y- and z-axis. Check it out here! Enjoy!


09.08.2011

After my beloved Nokia 3200 finally broke down after 7 years of permanent use (having only the second battery which has been still been in perfect quality), I had to get a new one and came up with a Nokia C2-01. Yes it's not a smartphone (of whcih I am NOT a fan of), but a simple-to-use old-school mobile phone and I am completely satisfied with it.
Nevertheless, I use this of an occasion to continue with J2ME coding. I remembered that I had a lot of fun coding the three games for my phone back in 2k4. The C2-01 has more processing power and also supports a newer MIDP/CDLC version so I decided to code even better games. I know it will take some of my limited time, but hey.... it's fun!
As first project (to set up my development environment and refresh my knowledge about midlets), I just hacked a small midlet to read the properties (like size of the screen, supported MIDP version etc.) of my mobile phone. Well, I think it's quite useful so.... here it is!


26.06.2011

Two updates:
First I fixed some bugs in my SearchStr tool (which I personally use quite often) and also improved the commandline arguments. Go and get version 1.1!
Second the final version of my StoneBreak game is released. More levels, more special effects, less bugs, designed for different resolutions, a level editor for offline gaming and ... for everything the source code is available! Awesome? Right! Check it out now!


22.04.2011

Ops, the durations without any updates grow and grow... Sorry for that! You know, spare time is short and valuable. But finally I started a new game that I always wanted to code myself - a little breakout clone which I called Stonebreak. I chose Java as language to make use of the Graphics2D class - and although it's not finished yet, it looks quite nice and makes fun. Go and check out the first version yourself!


14.12.2010

After some time I was really motivated and had fun to code a cool graphics algorithm again. Well, the choice was made and the result is my implementation of the famous Bresenham algorithm for rasterising lines, circles and ellipses. I hope you like it and learn something from the applet and my code - so go check it out.
Moreover, I did some little changes (e.g. deleted some old links) and I noticed that nobody leaves a message in my guestbook - so if you like my site, articles and/or sources, drop me some lines. I would really like it. Keep on coding!
By the way, this reminds me of something: in the last time several visitors pointed me to several broken links on my site - thanks a lot to those and I am always pleased to get informed about non-working files on my site!


13.10.2010

Finally I finished a piece of code and the belonging article at which I have worked really some time. At the time I developed my Online Calculator I though about other approaches how to parse and evaluate mathematical expressions. While I stuck at that time at the recursive (and easiest) approach, I have implemented now other algorithms. The result is the article describing the a) recursive approach b) postfix and stack approach and finally c) syntax tree creation from infix notation. Have fun while reading!


17.09.2010

Hi folks, today I publish a little commandline (which I coded for myself) to search for strings in files or directories. Turned out to be quite handy sometimes. Of course the C source is also available. Check it out!


31.07.2010

Coded my first crackme (finally). Nothing special - quite easy, but I think some beginners will definitely like it. Check it out here!


18.07.2010

First of all, I fixed a lot of broken links. Many zip files were stored on another server (a free one) than the actual site, but this one was closed down - now everything should work now.

Second, a guy named Gergely found a bug in my polygon filling implementation - look at this screenshot. The problem were horizontal lines - in that case the endpoints were not correctly handled. Fixed that problem - thanks for the hint.


08.06.2010

Finally I managed to update my study site with information about my diploma thesis... although I finished my thesis nearly one and a half year ago! Shame on me! Good things come to those who wait ;-)


14.04.2010

Probably some of you have heard about the so-called Birthday Paradox or Birthday Problem. I personally find it quite interesting (with a surprising result) and decided to summarize my own notes and thoughts. I do not only present the probablity calculation, but also tried to give some logical notes. In fact, it is quite difficult to explain this problem to others cause there is very similar question (with a different solution) with which it is easy to get mixed up.

So I hope you like it - click here to get to the Birthday Paradox Article.


07.03.2010

So folks, I found some time for coding and implemented the 14-15 Puzzle as a Java applet. Of course, you can play it online yourself, but I think more interesting is the automatic solver which solves a puzzle instance in front of your eyes step-by-step! Moreover, you can generate random puzzles using two different algortihms and check if they are solvable or not. Curiuos? Check it out here including my notes about the theory of the 14-15 puzzle.

Mr.reCoder advised me of some really nasty mistake. The readme.txt file I have been including in every download archive on my site for several years - well it contains a nasty spelling error *shame on me* : Of course, the URL to my site is www.sunshine2k.de and NOT www.sunhine2k.de (not the missing 's')! I am too lazy to correct this in every zip archive, but I have corrected it for future releases. Please keep that in mind or better - bookmark my site #########


14.10.2009

Andreas B?hm found a bug in my polygon convexity source code which classified a concave polygon as convex. Below is a screenshot with the wrong behaviour and the fixed version:

######### #########

I have corrected the pseudocode in my article about polygon convexity and also updated the applet source about polygon filling. Thanks for the hint and also for providing me with the bugfix!


09.10.2009

So, finally I release now my first applet written in JavaFX ever. It allows to calculate resistor/electronic color codes to resistance values and the other way round. In fact it took me quite long to dive into JavaFX and to write the user interface - that's why the 'GUI' is written in JavaFX, but the calculation logic is coded as normal Java classes. I think the result is quite nice so check out the applet including source here in the Java section.


20.09.2009

For personal needs and interest, I delved into the structure of bootsectors of hard and USB drives. As I was also motivated to code something in C again, the result is a simple tool providing the most important information of a FAT/FAT32/NTFS bootsector and also allowing the dump the bootsector to file for further investigation with a hexeditor. Maybe it's a good starting point for some disk-info utility. Check it out here.


06.07.2009

I added a little commandline tool that allows you to change to display settings by giving commandline arguments. That allows you for example to change the display mode from a .bat file. It is kept quite simple as it was coded solely for my personal needs, but maybe someone else needs it - or wants to extend it. It can be found here.


22.05.2009

I 'hacked' this tiny app very quickly for personal needs. I wanted my music files sorted after file creation / modification date and none of the media players I use provided this functionality. This tool just parses a directory (with/without subdirectories) for music files and writes them to a *.m3u file (ready to be loaded with e.g. Winamp) sorted after modification date (from oldest to newest). That's it - maybe you are searching for exactly this tool. If not, as the source is easy, feel free to take it as a starting point to generate your own playlists by implementing your own sorting criterias. <Look here>


01.03.2009

Added a new part to my polygon algorithm serie - the implementation of Kong's Algorithm for polygon triangulation. Again, you find there a short explanation of this algorithm, the applet for playing around and of course the corresponding source code. Check it out here!

Thanks go to Mr.reCoder for correcting a bug in my Self-deleting Excecutable in MASM. Now it works also with long pathnames including spaces by using the GetShortPathName function which was unknown to me till now :-)


15.12.2008

Finally I release the complete source of my Online Calculator as a little present... Merry Christmas to all of you! I hope you find the source interesting, especially the recursive parsing process and my autocomplete feature. If you like it, use it or parts of it, please give my some credits and link to my site!


17.09.2008

Released my 'AviToYuv' tool which converts avi files to planar 4:2:0 YUV files using the Video for Windows API. I coded it during my diploma thesis for having more videos to test my modified H.264 encoder - the standard sequences were too boring...


05.09.2008

I fixed two small parsing bugs in my Online Calculator - I hope it works now always correct #########
Moreover, I added additionally an autocomplete feature I coded some time ago just for fun.


02.09.2008

As you can see, I changed my site layout a bit - I hope everything is now clearly arranged but I'm still not completely happy. More modifications to come, I have also coded already two useful tools concerning .yuv files which need just a some comments and bug-fixing before releasing - but time is valuable resource for the time being because my diploma thesis has of course priority. But stay tuned!


02.07.2008

I finished coding my online calculator - finally :-) If you also have never a hand calculator at your fingertips when you need one and are tired using the standard Win/Linux calculators for evaluating mathematical expressions then be sure to check it out:

######### Online Calculator


28.05.2008

Finally, the study thesis paper about my HyperTransport-Monitoring-Core is available for download in the study section or directly <here>.


19.05.2008

Long time I did not solve any crackme - no time & no interest. But while looking around on crackmes.de I found a special, 'different' crackme. No .exe but a .gadget file - a crackme in form of a Windows Vista Sidebar Gadget. Find out more about it <here>.


13.05.2008

While looking around my site, I found a bug in my Cohen-Sutherland-Applet which resulted in an endless loop. Fixed it - there was just missing a simple 'else'.

I came across Welzl's algorithm for calculating a smallest enclosing disk in expected linear execution time while I learned for my oral exam and found it quite interesting. Although it's quite simple, I was fascinated why this really works and so I did my own implementation of it which was harder than expected. <here>


26.04.2008

So a little site update...
* The coding section has now a table of contents.
* Updates on my study page concerning my study thesis.
* Removed dead links in the links section.


04.03.2008

A few days ago I started learning for my last oral exam - this time about computer graphics. Again I have to deal with B?zier curves and so I came across the de Casteljau Algorithm again which uses the recursive relation of Bernstein polynomials which in fact bases on Pascal's rule. None of my books contains the proof of this formula so I did it myself and decided to publish it here on my site. It's really short and simple but perhaps somebody is interested in.
-> Articles -> Math & Theory or directly <here>
I did not code for month - damn I have no time! Too much to do for my studies and real life has priority in my spare time. But somewhen in future this hopefully will change and there'll be more updates :-)


24.12.2007

Ok, so after my Cohen-Sutherland-Algorithm applet, it was not that big step to come across the Sutherland-Hodgman-Algorithm for clipping a polygon against a rectange. So here now some notes, my implementation as an applet and its source. If it should be useful for you, take it as a Christmas present :-). Check it out here!

So Merry Christmas and a happy new year 2008!
C u next year again!
Sunshine


12.12.2007

Accidentally I found a little bug in my 'convexity helper applet' belonging to my article about polygon convexity - in some cases the paiting did not match the calculation. Nevertheless it's fixed and updated.
Furthermore after having much to do and less time, I felt like coding again something... The result is my own implementation of the Cohen-Sutherland-Algorithm for clipping lines against a rectangle - of course with some notes, the applet and its source. Have fun and check it our here.
Also I just realized that many urls on my link-site are down (again) so that's definitely something I have to fix soon...


31.10.2007

My own try of coding a messagebox api hook - crashes or doesn't work in most cases :-( But perhaps you find it interesting nervertheless - it's completely written in C. Check it here.


25.10.2007

Just some very little changes on Links, Personal and Study pages. Nothing really worth to mention.


11.10.2007

While rummaging in my harddisks and old CDs, I found a backup directory with lots of my old sites. Just for fun I made some screenshots and put them in my misc-section :-) Perhaps some of you visited my site in those days and they possibly recognize some layout... anyway, have fun and have a look here.


05.10.2007

Released my fancy Skyscraper quest solver - a quite slow but fine working backtracking approach to automatically solve the quests. You find it on the same page as the applet, that means here :-)


01.10.2007

Coded a nice little applet about a game I called Skyscrapers. It's similar to sudoku just with other rules. It's really worth to check it out. Of course Java sources are available as always. Have fun, stay cool & check it out!


12.09.2007

Added two articles in the java section with a nice applet: the first one on how to check if a polygon is convex, the other one on how to fill a polygon with a scanline algorithm. Check it out!


04.09.2007

Added my own proof that a Bernstein Polynomial has just one maximum, at t = i/n. You find it here in my new section 'Math & Theory Articles'.

Due to some requests I publish the old dirty C source of this little library. Some functions can still be useful for people who code PE tools in C.
But note that this source is from the beginning of 2003 and really badly coded. I found this source after long searching on an old CD and I'm not sure if this is not outdated - the source is almost uncommented and looks like garbage. Get it from the PEStuff Library Page.


08.08.2007

Updated my notes on B?zier Curves: added applets about the Bernstein Form of a B?zier Curve, the De Casteljau Algorithm and about Degree Elevation of a curve. Go here to check it out!


29.07.2007

The first two applets in my 'Understanding Bezier curves' - Approach published. Find them in the Java section.


04.07.2007

A stupid bug in the 'Hexen hexen' applet fixed which caused sometimes that cards could not be moved to the grid and so you were not be able to solve the game. Should work now....


27.06.2007

I found a small card game from my childhood called 'Hexen hexen' and made an applet out of it. Because it's not that easy to solve and I wanted all possible solutions I also coded a nice solver using backtracking. So check it out! Now!
< Go here >
#########


21.06.2007

Made a slightly improvement in my huffman compression, so sometimes the compressed file is now a few bytes smaller. Available as Version 1.1 in the C section.
I also coded a lame gui wrapper in C# cause a commandline tool is not that user-friendly ;-) Therefore a put the whole huffman algorithm in a dll file which the gui simply calls. You find it in the .Net section.


11.06.2007

I coded a micro tool for myself but perhaps somebody else will find it useful too. It adds an item to the popup menu in windows explorer (when you rightclick a folder for example) to allow a you to open a console (dosbox) in the current directory. That's pretty useful for me! In fact this feature just needs 3 registry keys to be enabled, but cause I forget these keys always when I need them after formatting my harddrive, here is the little lame tool... Look in the C section.
Also made some minor changes in the link section, especially a lot of the RCE links were corrupted and added some new ones.


04.06.2007

Finally my implementation of the huffman compression algorithm works and can be found in the C section :-). That the console version... I don't know if I'll code a GUI version for it. Let' see...


21.05.2007

######### Solution for bOne's KeyMe#1 added. See Articles section.


25.04.2007

Made two minor changes in Brainfuck Studio. But I noticed that I don't feel like improving it no longer so this little project is frozen for some time. Therefor I decided to release the source of the new version as it is. Perhaps someone finds it useful.
Also found out that my bigfm tool has more bugs than I thought; actually it doesn't work for me anymore. So don't regard it as a real tool but more than a code example how to download a website and parse it in C.
Don't know what I'll do next, but something will come into my mind for sure....


23.02.2007

Released the first version of Sunshine's Brainfuck Studio; a simple development environment for Brainfuck written in C#. Check it out here!


09.02.2007

######### Solution for Devoney's Crackme 2.0 added. See Articles section.


01.02.2007

Just some minor site changes in several sections and added the .NET section.



              ######### News archive
#########