top of page

Hey there! Thanks for visiting my website. I just wanted to inform you that your browser might warn you about possibly malicious content if you try to download my software. This is just because you're downloading executable files. I promise there is no harmful code in any of the published applications. Also, this site does use cookies. If you continue to use this site, you accept the use of them.

 

Since it's understandable that you might not want to run any executable without knowing what it does, I developed TESM.TESM stands for ThrownException's Security Manager. Using a Security Manager is an already known mechanic in Java, but there is only one default one and it's static. TESM is a dynamic Security manager, with a whitelist, a blacklist, a default option and user interaction. Any code ever written eventually uses certain core methods that come with the installation of Java. These methods all consult the set Security Manager to get permission for doing certain things. Web applications won't get permission from the default Security Manager to access files for example. TESM will grant or deny permission based on a configuration file that can be found in the same folder as the executed .jar file. To set TESM as your security manager, drop the two files provided below in any .jar and run the .jar using a command line interface with:"java -Djava.security.manager=TESM -jar [name of file].jar"You can find the necessary files here.

All my code is licensed under the Creative Commons BY-NC-ND license.

For more information, click the icon at the bottom of the page.

  • Writer's pictureThrownException

Simple Fractal Drawer

This application uses JSON files to (recursively) draw shapes!

This image has been made by defining a triangle that places itself 3 times at 50% the size in the corners of the original triangle. This creates a loop which will turn into the Sierpinski Triangle.


Features in JSON files: - Canvas options: Set a background color. - Shapes: Contains multiple shape objects. - Each shape has an anchor and the ability to always be drawn - Each shape has a set of primitive, simple polylines and arcs to construct the shape - The basic shapes have color and width options.

- Each shape has a set of references to other shapes in case more iterations are allowed

- The references have location, rotation, color adjust and scale options.

- Basic Concept: Construct self-similar fractals or other shapes with repeating patterns by referencing to other shape objects from within a shape object.


Features in the application: - Set canvas size

- Set scale (after drawing) - Set number of iterations - Save a template file

- Draw (with or without browsing) specified json file

- Save fractal or repeating shape as png Links: The .jar file. Sierpinski Triangle JSON (Coloured)

(Try creating the Koch Snowflake!) But eeehm.... this is everything BUT simple Yeah I know, the name might be misleading. If you've never seen JSON before, it might take you some time to get used to the syntax. I called it simple, because it only draws self-similar fractals, there are way more complex fractals like the Mandelbrot Set.


9 views0 comments

Recent Posts

See All

ScratchScreen

This application will make your entire screen go black. Simply start dragging on a black area to start scratching away the black overlay. The more you scratch away, the bigger the scratch area is goin

bottom of page