Eclipse/FDT freezes while building workspace

If you’re dealing with very big projects with lots of classes in Eclipse/FDT it might happen sometimes that Eclipse gets stuck while building the workspace. Even killing the Eclipse process and starting it up again won’t help, because with “Build Automatically” enabled it starts building right after launching and probably gets stuck again. This little solution will get you up and running again in a few seconds…

  1. shutdown Eclipse
  2. goto the workspace folder in your filesystem
  3. rename the project-folder which caused the problem
  4. startup Eclipse (now it won’t start building, because it doesn’t find the project)
  5. disable the automatic building process (untick Project > “Build Automatically”)
  6. close Eclipse
  7. undo renaming the project-folder
  8. startup Eclipse
  9. build project manually (select project, Project > Build Project)
  10. after that you can enable the automatic building again

 

Playbook Development with FDT and ANT

I just put up a sample FDT project on github which gets you started with BlackBerry Playbook development with FDT. I comes with an ANT build.xml which pretty much does all the work for you.

https://github.com/formatlos/hello-playbook-with-fdt
Read more »

AS3 Circle Gradient

According to my previous post about the AS3 Circle Color Spectrum I wanted to implement the circle gradient in pixel bender as well, so there you go. You can specify up to 4 colors and control the appearance with the corresponding ratio.

the parameters for the shader

  • center for passing in the x and y
  • innerRadius and outerRadius for controling the size of the circle
  • rotation (0-360) to change the starting angle
  • color1, color2, color3, color4 in the format RGBA (1.0, 1.0, 1.0, 1.0 = 0xffffffff)
  • ratios an array of color distribution ratio

Play with the filter…
Download Circle Gradient filter & pixel bender source

AS3 Circle Color Spectrum

Just a few days ago I released my HSB Color Wheel interface. All the graphics used in there are drawn with the AS3 drawing API including the circle color spectrum and the circle gradient. This performs very well but just out of curiosity I wondered how hard it would be to generate the color spectrum in pixel bender … and well it’s not that complicated, actually it’s easier than doing it in AS3 because pixel bender is made for dealing with colors and pixels.

I implemented a few parameter to control the shader

  • center for passing in the x and y
  • innerRadius and outerRadius for controling the size of the circle
  • rotation (0-360) to change the angle where the red color starts
  • ratio (0.0-1.0) for controling the space used for 1 color spectrum, e.g. a value of 0.5 would use 180 degrees for displaying 1 spectrum and you would end up with 2 spectrums in your circle

is it just me or does the circle in the middle seem to rotate slightly … scary … anyway

Play with the filter…
Download Circle Color Spectrum filter & pixel bender source

next up:
AS3 Circle Gradient

HSB Color Wheel

I just did some interface experiments because I always wanted to have some kind of circle color picker … the HSB Color Wheel is what I came up with. I implemented some settings to change the appearance slightly. I plan to release the AS3 code here if anyone is interested and as soon as I have the time to clean it up a little bit.

Source

You can download the source files of the HSB Color Wheel Demo here:
http://blog.formatlos.de/wp-content/uploads/2010/03/hsbcolorwheel.zip
I didn’t clean up the code, but should be straightforward. Have fun playing with it and post or email me a link if you use it somewhere.

Some Examples

 

Read more »

« Older Entries

About

Martin Rädlinger is an Interactive Developer & Designer. He specializes in interactive coding predominantly with ActionScript, but every new challenge is welcome. If you like his work feel free to get in touch with him. At the moment he's available for freelance work.

Contact

Martin Rädlinger
mail: mr [at] formatlos.de
web: www.formatlos.de
xing: Martin Rädlinger
linkedin: Martin Rädlinger
skype: martinraedlinger