Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Friday, July 17, 2009

What the C*lor!

When doing web design you have to figure out the best color, e.g. for the page background. Using a WYSIWYG editor this would be no problem. But I personally don’t like them. So I have to either first design the page in another app like InkScape and then use the same color, or I have to commit myself to trial and error — this is painful!

This is where ”What the C*lor!” jumps in.

“What the C*lor” let’s you adjust the text, background and border color of any element, specified by a CSS selector. It uses jQuery and Farbtastic.

How to use:

Since “What the C*lor” is a bookmarklet, you only need to bookmark the following link — simply drag it into your bookmarks bar:

What the C*lor!

Type the selector for the element you want to style into the selector box (It uses jQuery to find the element, so you can also use selectors like :odd. Then you can use the color wheel to adjust the colors of the element. When you found the right color, copy the color from the text field below the color wheel. I hope you can find it useful.

Tuesday, April 28, 2009

Inversion 1.3

I have updated Inversion to version 1.3. What has changed with this version is that you can export as text, png and tiff. (Find it under File > Export) I hope you can find this update useful. BTW the exported images show what you can see in the window.

Chagelog:

  • Added exporting options (text, png and tiff)

Download:

Inversion 1.3,dmg
Source.zip

System requirements

  • Mac OS X 10.5 or later
  • 1.5 MB free disk space

Example for exported png:

Export sample

Example for exported txt:

Given objects:
Cirle - r: 12.000000, center: point( 50.000000 | 30.000000 )
Cirle - r: 12.000000, center: point( 50.000000 | 20.000000 )
Cirle - r: 12.000000, center: point( 34.538287 | 28.296654 )

Solutions:
Cirle - r: 20.826605, center: point( 42.726146 | 25.000000 )
Cirle - r: -3.173395, center: point( 42.726146 | 25.000000 )
Cirle - r: -6.363027, center: point( 52.602972 | 25.000000 )
Cirle - r: 7.369658, center: point( 31.286805 | 25.000000 )
Cirle - r: 4.118702, center: point( 43.815119 | 15.115115 )
Cirle - r: -3.322336, center: point( 41.847730 | 32.973607 )
Cirle - r: -4.984636, center: point( 49.145481 | 36.963126 )
Cirle - r: 2.065743, center: point( 40.065832 | 20.042218 )

Friday, October 10, 2008

DBS 1.1.1

I've found a bug in DBS so I fixed it.

Download:

DBSBeta1.1.1.zip

Changelog:

  • Fixed a bug where DBSI->match returned errors.

Sunday, October 5, 2008

DBS Beta 1.1

I've updated DBS to Beta 1.1. Main change is the ability to define DBS by xml.

Download:

DBSBeta1.1.zip

Changelog:

  • Added ability to define by XML
  • Changed DBSIFileUpload to hide the variables of the upload settings file and made them to constants
  • Added DBS_ALLOW_FREE_EVAL_USE for security in DBSTFromString

Saturday, September 27, 2008

DBS Beta 1.0

DBS is something like a "Database Content Management System" or like the Browse menu under phpMyAdmin. It's a little extensible PHP framework to help you create easy to use admin pages for your homepage very easily. You get a nice UI based on jQuery and AJAX. Watch my screencast for more details. It's free and licensed under GNU GPL.

System Requirements

  • PHP 5 or up
  • MySQL 4 or up
  • CGI (for uploads)

Download

DBSBeta1.0.zip

Screencast



or watch full size (1280x800): http://www.screencast.com/t/unOG68Ap

Sunday, September 21, 2008

Inversion 1.2

I've updated Inversion to version 1.2.

Download

Inversion1.2.dmg

Download source

Inversion1.2source.zip (Xcode Project)

System requirements:

  • Mac OS 10.5 Leopard (Universal)
  • 1.8 MB of free disk space

Changes

  • Added help
  • Added new menu items
  • Changed "Shapes" to "Objects"
  • Now licensed under GNU GPL

Monday, September 8, 2008

Inversion

Inversion Icon

I had to make an app that solves the problem of Apollonius about half a year ago, so I'm publishing it here in case someone needs it.

Now for those of you who don't know what the problem of Apollonius is: It's about geometry, or more precisely Euclidean plain geometry. The task is to construct all circles (or lines) that are tangent to ("touch") three circles (or a point / line).

Now this may sound easy, but try to do this with three points, which is the most easy one (as much as I remember). You'll soon find out it isn't that easy. But if you use something called "inversion" (not the app), it's very easy. Inversion is sometimes also called "mirroring in a circle" (at least in German), which explains the concept very well (google for it if you want).

This is my first app (other than web apps), so don't expect too much of it. But still it's fun to play around. It's free and I'll give you the source code if you want (I'm not good at choosing copyleft licenses, so I'd appreciate advise).

Download:

Inversion1.1.dmg

How to use:

Add shapes with the plus button on the bottom left of the window. You can change the properties of the shapes using the inspector. If you have 3 shapes, the solution of the problem of Apollonius will be drawn in red.

System requirements:

  • Mac OS 10.5 Leopard (Universal)
  • 1 MB of free disk space

Screenshot: