polycasso-commit Mailing List for polycasso (Page 2)
Brought to you by:
dbrosius
You can subscribe to this list here.
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(115) |
Dec
(92) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2010 |
Jan
(6) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
(1) |
Oct
(4) |
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(13) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <dbr...@us...> - 2010-09-29 04:05:26
|
Revision: 225
http://polycasso.svn.sourceforge.net/polycasso/?rev=225&view=rev
Author: dbrosius
Date: 2010-09-29 04:05:19 +0000 (Wed, 29 Sep 2010)
Log Message:
-----------
start adding genetic settings
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java
trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java
trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
Added Paths:
-----------
trunk/polycasso/src/com/mebigfatguy/polycasso/DoubleDocument.java
Added: trunk/polycasso/src/com/mebigfatguy/polycasso/DoubleDocument.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/DoubleDocument.java (rev 0)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/DoubleDocument.java 2010-09-29 04:05:19 UTC (rev 225)
@@ -0,0 +1,59 @@
+/*
+ * polycasso - Cubism Artwork generator
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
+ * Inspired by work by Roger Alsing
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and limitations
+ * under the License.
+ */
+package com.mebigfatguy.polycasso;
+
+import java.awt.Toolkit;
+
+import javax.swing.text.AttributeSet;
+import javax.swing.text.BadLocationException;
+import javax.swing.text.PlainDocument;
+
+/**
+ * a Document model class for text components to only allow
+ * integer values
+ */
+public class DoubleDocument extends PlainDocument {
+
+ private static final long serialVersionUID = -6755728406523769124L;
+
+ /**
+ * intercepts string insertions to make sure that the values to be put into
+ * a text component is only a positive double value
+ *
+ * @param pos where the text is being inserted
+ * @param insertStr the new text that was typed
+ * @param atts the attributes for the text (unused)
+ */
+ @Override
+ public void insertString(int pos, String insertStr, AttributeSet atts) throws BadLocationException {
+ StringBuilder text = new StringBuilder(getText(0, getLength()));
+ try {
+ text.insert(pos, insertStr);
+ double value = Double.parseDouble(text.toString());
+ if (value < 0) {
+ Toolkit.getDefaultToolkit().beep();
+ } else {
+ super.insertString(pos, insertStr, atts);
+ }
+ } catch (Exception e) {
+ Toolkit.getDefaultToolkit().beep();
+ }
+ }
+
+}
Property changes on: trunk/polycasso/src/com/mebigfatguy/polycasso/DoubleDocument.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java 2010-06-09 06:11:13 UTC (rev 224)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java 2010-09-29 04:05:19 UTC (rev 225)
@@ -26,7 +26,7 @@
/**
* a Document model class for text components to only allow
- * integer values
+ * positive integer values
*/
public class IntegerDocument extends PlainDocument {
@@ -45,8 +45,12 @@
StringBuilder text = new StringBuilder(getText(0, getLength()));
try {
text.insert(pos, insertStr);
- Integer.parseInt(text.toString());
- super.insertString(pos, insertStr, atts);
+ int value = Integer.parseInt(text.toString());
+ if (value < 0) {
+ Toolkit.getDefaultToolkit().beep();
+ } else {
+ super.insertString(pos, insertStr, atts);
+ }
} catch (Exception e) {
Toolkit.getDefaultToolkit().beep();
}
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2010-06-09 06:11:13 UTC (rev 224)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2010-09-29 04:05:19 UTC (rev 225)
@@ -50,6 +50,13 @@
Settings("pc.settings"),
About("pc.about"),
AboutPolycasso("pc.aboutpolycasso"),
+ GeneticsOptions("pc.geneticsoptions"),
+ GenerationSize("pc.generationsize"),
+ EliteSize("pc.elitesize"),
+ UseAnnealing("pc.useannealing"),
+ StartTemperature("pc.starttemperature"),
+ CoolingRate("pc.coolingrate"),
+ ImageOptions("pc.imageoptions"),
MaxImageSize("pc.maximagesize"),
Width("pc.width"),
Height("pc.height"),
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java 2010-06-09 06:11:13 UTC (rev 224)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java 2010-09-29 04:05:19 UTC (rev 225)
@@ -26,9 +26,14 @@
* Polycasso runs
*/
public class Settings implements Cloneable, Serializable {
-
- private static final long serialVersionUID = -8827208887550245450L;
+ private static final long serialVersionUID = 8021543124907733235L;
+
+ private int generationSize;
+ private int eliteSize;
+ private boolean useAnnealing;
+ private double startTemperature;
+ private double coolingRate;
private Dimension maxImageSize;
private int numCompetingImages;
private int maxPolygons;
@@ -40,6 +45,11 @@
* constructs a settings object with rational defaults
*/
public Settings() {
+ generationSize = 50;
+ eliteSize = 10;
+ useAnnealing = true;
+ startTemperature = 20;
+ coolingRate = 0.1;
maxImageSize = new Dimension(800, 600);
maxPolygons = 100;
numCompetingImages = 20;
@@ -62,7 +72,58 @@
}
}
+
+ public void setGenerationSize(int generationSz) {
+ generationSize = generationSz;
+ }
+
+ public int getGenerationSize() {
+ return generationSize;
+ }
+
+ public void setEliteSize(int eliteSz) {
+ eliteSize = eliteSz;
+ }
+
+ public int getEliteSize() {
+ return eliteSize;
+ }
+
/**
+ * sets whether to use simulated annealing
+ *
+ * @param annealing whether to use annealing
+ */
+ public void setUseAnnealing(boolean annealing) {
+ useAnnealing = annealing;
+ }
+
+ /**
+ * gets whether to use simulating annealing
+ *
+ * @return whether to use simulating annealing
+ */
+ public boolean isUseAnnealing() {
+ return useAnnealing;
+ }
+
+ public void setStartTemperature(double startTemp) {
+ startTemperature = startTemp;
+ }
+
+ public double getStartTemperature() {
+ return startTemperature;
+ }
+
+ public void setCoolingRate(double coolRate) {
+ coolingRate = coolRate;
+ }
+
+ public double getCoolingRate() {
+ return coolingRate;
+ }
+
+ /**
* sets the maximum image size
*
* @param imageSize the image size
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java 2010-06-09 06:11:13 UTC (rev 224)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java 2010-09-29 04:05:19 UTC (rev 225)
@@ -30,6 +30,7 @@
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JButton;
+import javax.swing.JCheckBox;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
@@ -52,6 +53,11 @@
private JButton resetButton;
private JButton okButton;
private JButton cancelButton;
+ private JTextField generationSizeField;
+ private JTextField eliteSizeField;
+ private JCheckBox useAnnealingButton;
+ private JTextField startTemperatureField;
+ private JTextField coolingRateField;
private JTextField widthField;
private JTextField heightField;
private JTextField maxPolygonField;
@@ -59,8 +65,10 @@
private JTextField maxPolygonPointsField;
private JTextField maxPtMoveField;
private JTextField maxColorChangeField;
+ private SelectAllFocuser focuser;
private boolean isOK;
+
/**
* constructs the dialog using the passed in settings to set default values
*
@@ -99,7 +107,16 @@
Container cp = getContentPane();
cp.setLayout(new BorderLayout(4, 4));
- cp.add(createOptionsPanel(), BorderLayout.CENTER);
+ focuser = new SelectAllFocuser();
+
+ JPanel centerPanel = new JPanel();
+ centerPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
+ centerPanel.setLayout(new BoxLayout(centerPanel, BoxLayout.Y_AXIS));
+ centerPanel.add(createGeneticsPanel());
+ centerPanel.add(Box.createVerticalStrut(10));
+ centerPanel.add(createOptionsPanel());
+
+ cp.add(centerPanel, BorderLayout.CENTER);
cp.add(createControlPanel(), BorderLayout.SOUTH);
pack();
}
@@ -110,10 +127,9 @@
* @return the options panel
*/
private JPanel createOptionsPanel() {
-
- SelectAllFocuser focuser = new SelectAllFocuser();
JPanel optPanel = new JPanel();
- optPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
+ optPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder(PolycassoBundle.getString(PolycassoBundle.Key.ImageOptions)),
+ BorderFactory.createEmptyBorder(10, 10, 10, 10)));
optPanel.setLayout(new FormLayout("pref, 3dlu, 100px, 5dlu, pref, 3dlu, 100px", "pref, 1dlu, pref, 15dlu, pref, 1dlu, pref, 1dlu, pref, 1dlu, pref, 1dlu, pref"));
CellConstraints cc = new CellConstraints();
@@ -181,7 +197,66 @@
return optPanel;
}
+ private JPanel createGeneticsPanel() {
+
+ JPanel geneticsPanel = new JPanel();
+ geneticsPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder(PolycassoBundle.getString(PolycassoBundle.Key.GeneticsOptions)),
+ BorderFactory.createEmptyBorder(10, 10, 10, 10)));
+
+ geneticsPanel.setLayout(new FormLayout("6dlu, pref, 3dlu, 100px, 3dlu", "pref, 1dlu, pref, 1dlu, pref, 1dlu, pref, 1dlu, pref, 1dlu, pref, 1dlu, pref"));
+ CellConstraints cc = new CellConstraints();
+
+ JLabel generationSizeLabel = new JLabel(PolycassoBundle.getString(PolycassoBundle.Key.GenerationSize));
+ geneticsPanel.add(generationSizeLabel, cc.xyw(1, 1, 2));
+
+ generationSizeField = new JTextField(4);
+ generationSizeField.setDocument(new IntegerDocument());
+ generationSizeLabel.setLabelFor(generationSizeField);
+ geneticsPanel.add(generationSizeField, cc.xy(4, 1));
+ generationSizeField.addFocusListener(focuser);
+
+ JLabel eliteSizeLabel = new JLabel(PolycassoBundle.getString(PolycassoBundle.Key.EliteSize));
+ geneticsPanel.add(eliteSizeLabel, cc.xyw(1, 3, 2));
+
+ eliteSizeField = new JTextField(4);
+ eliteSizeField.setDocument(new IntegerDocument());
+ eliteSizeLabel.setLabelFor(eliteSizeField);
+ geneticsPanel.add(eliteSizeField, cc.xy(4, 3));
+ eliteSizeField.addFocusListener(focuser);
+
+ useAnnealingButton = new JCheckBox(PolycassoBundle.getString(PolycassoBundle.Key.UseAnnealing));
+ geneticsPanel.add(useAnnealingButton, cc.xyw(1, 5, 5));
+
+ JLabel startTemperatureLabel = new JLabel(PolycassoBundle.getString(PolycassoBundle.Key.StartTemperature));
+ geneticsPanel.add(startTemperatureLabel, cc.xy(2, 7));
+
+ startTemperatureField = new JTextField(4);
+ startTemperatureField.setDocument(new DoubleDocument());
+ startTemperatureLabel.setLabelFor(startTemperatureField);
+ geneticsPanel.add(startTemperatureField, cc.xy(4, 7));
+ startTemperatureField.addFocusListener(focuser);
+
+ JLabel coolingRateLabel = new JLabel(PolycassoBundle.getString(PolycassoBundle.Key.CoolingRate));
+ geneticsPanel.add(coolingRateLabel, cc.xy(2, 9));
+
+ coolingRateField = new JTextField(4);
+ coolingRateField.setDocument(new DoubleDocument());
+ coolingRateLabel.setLabelFor(coolingRateField);
+ geneticsPanel.add(coolingRateField, cc.xy(4, 9));
+ coolingRateField.addFocusListener(focuser);
+
+ return geneticsPanel;
+ }
+
private void populateValues() {
+ generationSizeField.setText(String.valueOf(dlgSettings.getGenerationSize()));
+ eliteSizeField.setText(String.valueOf(dlgSettings.getEliteSize()));
+ boolean enable = dlgSettings.isUseAnnealing();
+ useAnnealingButton.setSelected(enable);
+ startTemperatureField.setEnabled(enable);
+ startTemperatureField.setText(String.valueOf(dlgSettings.getStartTemperature()));
+ coolingRateField.setEnabled(enable);
+ coolingRateField.setText(String.valueOf(dlgSettings.getCoolingRate()));
widthField.setText(String.valueOf(dlgSettings.getMaxImageSize().width));
heightField.setText(String.valueOf(dlgSettings.getMaxImageSize().height));
maxPolygonField.setText(String.valueOf(dlgSettings.getMaxPolygons()));
@@ -189,7 +264,6 @@
maxPolygonPointsField.setText(String.valueOf(dlgSettings.getMaxPoints()));
maxPtMoveField.setText(String.valueOf(dlgSettings.getMaxPtMovement()));
maxColorChangeField.setText(String.valueOf(dlgSettings.getMaxColorChange()));
-
}
/**
@@ -221,6 +295,16 @@
* sets up all the control listeners for the dialog
*/
private void initListeners() {
+
+ useAnnealingButton.addActionListener(new ActionListener() {
+ @Override
+ public void actionPerformed(ActionEvent ae) {
+ boolean enable = useAnnealingButton.isSelected();
+ startTemperatureField.setEnabled(enable);
+ coolingRateField.setEnabled(enable);
+ }
+ });
+
resetButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent ae) {
@@ -286,7 +370,19 @@
* @return whether the settings are valid
*/
private boolean validateSettings() {
- if (dlgSettings.getMaxImageSize().width < 10) {
+ if (dlgSettings.getGenerationSize() < 10) {
+ generationSizeField.setText("10");
+ generationSizeField.requestFocus();
+ } else if (dlgSettings.getEliteSize() < 2) {
+ eliteSizeField.setText("2");
+ eliteSizeField.requestFocus();
+ } else if (dlgSettings.getStartTemperature() > 255) {
+ startTemperatureField.setText("255.0");
+ startTemperatureField.requestFocus();
+ } else if (dlgSettings.getCoolingRate() > 40) {
+ coolingRateField.setText("40.0");
+ coolingRateField.requestFocus();
+ } else if (dlgSettings.getMaxImageSize().width < 10) {
widthField.setText("10");
widthField.requestFocus();
} else if (dlgSettings.getMaxImageSize().height < 10) {
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2010-06-09 06:11:13 UTC (rev 224)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2010-09-29 04:05:19 UTC (rev 225)
@@ -37,6 +37,13 @@
pc.settings = Settings
pc.about = About
pc.aboutpolycasso = About Polycasso
+pc.geneticsoptions = Genetics Options
+pc.generationsize = Generation Size
+pc.elitesize = Elite Size
+pc.useannealing = Use Annealing
+pc.starttemperature = Annealing Starting Temperature
+pc.coolingrate = Annealing cooling rate
+pc.imageoptions = Image Options
pc.maximagesize = Maximum Image Size
pc.width = Width
pc.height = Height
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-06-09 06:11:19
|
Revision: 224
http://polycasso.svn.sourceforge.net/polycasso/?rev=224&view=rev
Author: dbrosius
Date: 2010-06-09 06:11:13 +0000 (Wed, 09 Jun 2010)
Log Message:
-----------
warnings
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java 2010-06-07 02:57:53 UTC (rev 223)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java 2010-06-09 06:11:13 UTC (rev 224)
@@ -27,6 +27,7 @@
* A portable network graphics file
*/
PNG(".png", PolycassoBundle.Key.PNGDescription) {
+ @Override
public Saver getSaver() {
return new PNGSaver();
}
@@ -35,6 +36,7 @@
* a scalable vector graphics file
*/
SVG(".svg", PolycassoBundle.Key.SVGDescription) {
+ @Override
public Saver getSaver() {
return new SVGSaver();
}
@@ -43,6 +45,7 @@
* a java file
*/
Java(".java", PolycassoBundle.Key.JAVADescription) {
+ @Override
public Saver getSaver() {
return new JavaSaver();
}
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java 2010-06-07 02:57:53 UTC (rev 223)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java 2010-06-09 06:11:13 UTC (rev 224)
@@ -313,12 +313,12 @@
}
}
- private void saveSettings(Settings settings) {
+ private void saveSettings(Settings s) {
ObjectOutputStream oos = null;
try {
File polyDir = getSettingsDirectory();
oos = new ObjectOutputStream(new BufferedOutputStream(new FileOutputStream(new File(polyDir, "settings.ser"))));
- oos.writeObject(settings);
+ oos.writeObject(s);
} catch (Exception e) {
} finally {
IOUtils.closeQuietly(oos);
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java 2010-06-07 02:57:53 UTC (rev 223)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java 2010-06-09 06:11:13 UTC (rev 224)
@@ -31,7 +31,7 @@
public class PainterPanel extends JPanel {
private static final long serialVersionUID = -4005448126783525299L;
- private Object lock = new Object();
+ private final Object lock = new Object();
private Image targetImage;
private Image bestImage;
@@ -66,6 +66,7 @@
*
* @param g the graphics object of the panel
*/
+ @Override
public void paintComponent(Graphics g) {
super.paintComponent(g);
synchronized(lock) {
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2010-06-07 02:57:53 UTC (rev 223)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2010-06-09 06:11:13 UTC (rev 224)
@@ -82,7 +82,7 @@
public String id() {
return id;
}
- };
+ }
private static ResourceBundle bundle = ResourceBundle.getBundle("com/mebigfatguy/polycasso/resource");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java 2010-06-07 02:57:53 UTC (rev 223)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java 2010-06-09 06:11:13 UTC (rev 224)
@@ -152,6 +152,7 @@
*
* @return a copy of the polygon data
*/
+ @Override
public Object clone() {
try {
PolygonData clone = (PolygonData)super.clone();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-06-07 02:58:01
|
Revision: 223
http://polycasso.svn.sourceforge.net/polycasso/?rev=223&view=rev
Author: dbrosius
Date: 2010-06-07 02:57:53 +0000 (Mon, 07 Jun 2010)
Log Message:
-----------
fat fingers
Modified Paths:
--------------
trunk/polycasso/htdocs/mbfg_menu.shtml
Modified: trunk/polycasso/htdocs/mbfg_menu.shtml
===================================================================
--- trunk/polycasso/htdocs/mbfg_menu.shtml 2010-06-07 02:34:29 UTC (rev 222)
+++ trunk/polycasso/htdocs/mbfg_menu.shtml 2010-06-07 02:57:53 UTC (rev 223)
@@ -12,7 +12,7 @@
<li><a href="http://schemalizer.sf.net">Schemalizer</a></li>
<li><a href="http://tomailer.sf.net">ToMailer</a></li>
<li><a href="http://jd4a.sf.net">JavaDoc for Android</a></li>
- <il><a href="http://damus.sf.net">Damus</a></il>
+ <li><a href="http://damus.sf.net">Damus</a></li>
<li><a href="http://www.heartofgoldfarm.com">Heart of Gold Farm</a></li>
</ul>
</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-06-07 02:34:35
|
Revision: 222
http://polycasso.svn.sourceforge.net/polycasso/?rev=222&view=rev
Author: dbrosius
Date: 2010-06-07 02:34:29 +0000 (Mon, 07 Jun 2010)
Log Message:
-----------
more projects
Modified Paths:
--------------
trunk/polycasso/htdocs/mbfg_menu.shtml
Modified: trunk/polycasso/htdocs/mbfg_menu.shtml
===================================================================
--- trunk/polycasso/htdocs/mbfg_menu.shtml 2010-01-02 02:49:33 UTC (rev 221)
+++ trunk/polycasso/htdocs/mbfg_menu.shtml 2010-06-07 02:34:29 UTC (rev 222)
@@ -10,7 +10,9 @@
<li><a href="http://pixelle.sf.net">Pixelle</a></li>
<li><a href="http://polycasso.sf.net">Polycasso</a></li>
<li><a href="http://schemalizer.sf.net">Schemalizer</a></li>
- <li><a href="http://tomailer.sf.net">ToMailer</a></li>
+ <li><a href="http://tomailer.sf.net">ToMailer</a></li>
+ <li><a href="http://jd4a.sf.net">JavaDoc for Android</a></li>
+ <il><a href="http://damus.sf.net">Damus</a></il>
<li><a href="http://www.heartofgoldfarm.com">Heart of Gold Farm</a></li>
</ul>
</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-02 02:49:40
|
Revision: 221
http://polycasso.svn.sourceforge.net/polycasso/?rev=221&view=rev
Author: dbrosius
Date: 2010-01-02 02:49:33 +0000 (Sat, 02 Jan 2010)
Log Message:
-----------
use exit on close for generated java class
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template 2010-01-01 04:47:53 UTC (rev 220)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template 2010-01-02 02:49:33 UTC (rev 221)
@@ -109,6 +109,8 @@
});
timer.setRepeats(true);
timer.start();
+
+ setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
};
frame.setSize({1}, {2} + 20);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-01 04:48:03
|
Revision: 220
http://polycasso.svn.sourceforge.net/polycasso/?rev=220&view=rev
Author: dbrosius
Date: 2010-01-01 04:47:53 +0000 (Fri, 01 Jan 2010)
Log Message:
-----------
draw the image polygon by polygon with a delay
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java 2010-01-01 04:20:23 UTC (rev 219)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java 2010-01-01 04:47:53 UTC (rev 220)
@@ -37,7 +37,7 @@
public class JavaSaver implements Saver {
private static final String EXTENSION = ".java";
- private static final String TABS = "\t\t\t\t\t\t";
+ private static final String TABS = "\t\t\t\t\t";
/**
* saves the polygon data as a java file that opens a JFrame and draws the polygons
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template 2010-01-01 04:20:23 UTC (rev 219)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template 2010-01-01 04:47:53 UTC (rev 220)
@@ -22,31 +22,49 @@
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Polygon;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JPanel;
+import javax.swing.Timer;
/**
* generates an image by laying semi-transparent polygons on top of each other.
* Class generated by Polycasso (http://polycasso.sourceforge.net)
*/
public class {0} {
-
+ private static final int DEFAULT_DELAY = 500;
+
public static void main(String[] args) {
+ int inputDelay;
+ try {
+ inputDelay = Integer.parseInt(args[0]);
+ } catch (Exception e) {
+ inputDelay = DEFAULT_DELAY;
+ }
+
+ final int delay = inputDelay;
+
JFrame frame = new JFrame() {
+ private static final long serialVersionUID = 1L;
+
+ private Timer timer;
+ private int displayCount = 0;
+
+ private int[][][] polygonData = new int[][][]
+ {{3}
+ };
+
+ private int[][] colorData = new int[][]
+ {{4}
+ };
+
+ private float [] transparencyData = new float[]
+ {{5}
+ };
+
{
- final int[][][] polygonData = new int[][][]
- {{3}
- };
-
- final int[][] colorData = new int[][]
- {{4}
- };
-
- final float [] transparencyData = new float[]
- {{5}
- };
-
Container cp = getContentPane();
cp.add(new JPanel() {
private static final long serialVersionUID = 1L;
@@ -58,7 +76,12 @@
g2d.setColor(Color.BLACK);
g2d.fillRect(0, 0, {1}, {2});
- for (int i = 0; i < polygonData.length; i++) {
+ int limit;
+ synchronized(timer) {
+ limit = displayCount;
+ }
+
+ for (int i = 0; i < limit; i++) {
Polygon polygon = new Polygon(polygonData[i][0], polygonData[i][1], polygonData[i][0].length);
Color color = new Color(colorData[i][0], colorData[i][1], colorData[i][2]);
g2d.setColor(color);
@@ -69,6 +92,23 @@
}
});
pack();
+
+ timer = new Timer(delay, new ActionListener() {
+ @Override
+ public void actionPerformed(ActionEvent ae) {
+ synchronized(timer) {
+ if (displayCount < polygonData.length) {
+ displayCount++;
+ } else {
+ timer.stop();
+ }
+ repaint();
+ }
+
+ }
+ });
+ timer.setRepeats(true);
+ timer.start();
}
};
frame.setSize({1}, {2} + 20);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-01 04:20:30
|
Revision: 219
http://polycasso.svn.sourceforge.net/polycasso/?rev=219&view=rev
Author: dbrosius
Date: 2010-01-01 04:20:23 +0000 (Fri, 01 Jan 2010)
Log Message:
-----------
split the overwrite warning into two lines
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2010-01-01 04:18:52 UTC (rev 218)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2010-01-01 04:20:23 UTC (rev 219)
@@ -48,4 +48,4 @@
pc.enterurl = Enter URL (file or http) of image to use as a source
pc.badsetting = The setting specified was too small to properly function
pc.savefailure = Failed saving file: {0}
-pc.overwritewarning = The file {0} already exists, do you wish to overwrite it?
+pc.overwritewarning = The file {0} already exists,\ndo you wish to overwrite it?
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties 2010-01-01 04:18:52 UTC (rev 218)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties 2010-01-01 04:20:23 UTC (rev 219)
@@ -48,4 +48,4 @@
pc.enterurl = Geben Sie die URL (Datei-oder http) des Bildes als Quelle verwenden
pc.badsetting = Die Einstellung angegeben wurde zu klein, um die einwandfreie Funktion
pc.savefailure = Fehler beim Speichern der Datei: {0}
-pc.overwritewarning = Die Datei (0) existiert bereits, m\xF6chten Sie sie \xFCberschreiben?
+pc.overwritewarning = Die Datei (0) existiert bereits,\nm\xF6chten Sie sie \xFCberschreiben?
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-01 04:19:02
|
Revision: 218
http://polycasso.svn.sourceforge.net/polycasso/?rev=218&view=rev
Author: dbrosius
Date: 2010-01-01 04:18:52 +0000 (Fri, 01 Jan 2010)
Log Message:
-----------
split the data out from the code to draw it
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java 2010-01-01 01:19:31 UTC (rev 217)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java 2010-01-01 04:18:52 UTC (rev 218)
@@ -69,52 +69,18 @@
templateStream = getClass().getResourceAsStream("/com/mebigfatguy/polycasso/JavaSaver.template");
String template = IOUtils.toString(templateStream);
- StringWriter insert = new StringWriter();
- PrintWriter polyWriter = new PrintWriter(insert);
- for (PolygonData pd : data) {
- polyWriter.print(TABS);
- polyWriter.println("poly.reset();");
- Polygon poly = pd.getPolygon();
-
- for (int p = 0; p < poly.npoints; p++) {
- polyWriter.print(TABS);
- polyWriter.print("poly.addPoint(");
- polyWriter.print(poly.xpoints[p]);
- polyWriter.print(", ");
- polyWriter.print(poly.ypoints[p]);
- polyWriter.println(");");
- }
- Color c = pd.getColor();
- polyWriter.print(TABS);
- polyWriter.print("color = new Color(");
- polyWriter.print(c.getRed());
- polyWriter.print(", ");
- polyWriter.print(c.getGreen());
- polyWriter.print(", ");
- polyWriter.print(c.getBlue());
- polyWriter.println(");");
-
- polyWriter.print(TABS);
- polyWriter.println("g2d.setColor(color);");
-
- polyWriter.print(TABS);
- polyWriter.print("composite = AlphaComposite.getInstance(AlphaComposite.SRC_OVER, ");
- polyWriter.print(pd.getAlpha());
- polyWriter.println("f);");
-
- polyWriter.print(TABS);
- polyWriter.println("g2d.setComposite(composite);");
-
- polyWriter.print(TABS);
- polyWriter.println("g2d.fillPolygon(poly);");
- }
- polyWriter.flush();
+ String polygonData = getPolygonData(data);
+ String colorData = getColorData(data);
+ String transparencyData = getTransparencyData(data);
+
/* All the curly braces confuses MessageFormat, so just do it manually */
template = template.replaceAll("\\{0\\}", className);
template = template.replaceAll("\\{1\\}", String.valueOf(imageSize.width));
template = template.replaceAll("\\{2\\}", String.valueOf(imageSize.height));
- template = template.replaceAll("\\{3\\}", insert.toString());
+ template = template.replaceAll("\\{3\\}", polygonData);
+ template = template.replaceAll("\\{4\\}", colorData);
+ template = template.replaceAll("\\{5\\}", transparencyData);
pw.println(template);
@@ -123,8 +89,105 @@
} finally {
IOUtils.closeQuietly(templateStream);
IOUtils.closeQuietly(pw);
+ }
+ }
+
+ private String getPolygonData(PolygonData[] data) {
+ StringWriter sw = new StringWriter();
+ PrintWriter pw = new PrintWriter(sw);
+
+ String outerComma = "";
+ String innerComma;
+ for (int i = 0; i < data.length; i++) {
+
+ PolygonData pd = data[i];
+
+ pw.println(outerComma);
+ pw.print(TABS);
+ pw.println("{");
+
+ /* Xs */
+ pw.print(TABS);
+ pw.print("\t{");
+
+ innerComma = "";
+ Polygon poly = pd.getPolygon();
+ for (int j = 0; j < poly.npoints; j++) {
+ pw.print(innerComma);
+ pw.print(poly.xpoints[j]);
+ innerComma = ",";
+ }
+
+ pw.println("},");
+
+ /* Ys */
+ pw.print(TABS);
+ pw.print("\t{");
+
+ innerComma = "";
+ poly = pd.getPolygon();
+ for (int j = 0; j < poly.npoints; j++) {
+ pw.print(innerComma);
+ pw.print(poly.ypoints[j]);
+ innerComma = ",";
+ }
+
+ pw.println("}");
+
+ pw.print(TABS);
+ pw.print("}");
+ outerComma = ",";
}
+ pw.flush();
+ return sw.toString();
}
+
+ private String getColorData(PolygonData[] data) {
+ StringWriter sw = new StringWriter();
+ PrintWriter pw = new PrintWriter(sw);
+
+ String comma = "";
+ for (int i = 0; i < data.length; i++) {
+
+ PolygonData pd = data[i];
+
+ pw.println(comma);
+ pw.print(TABS);
+ pw.print("{");
+
+ Color color = pd.getColor();
+ pw.print(color.getRed());
+ pw.print(",");
+ pw.print(color.getGreen());
+ pw.print(",");
+ pw.print(color.getBlue());
+ pw.print("}");
+ comma = ",";
+ }
+
+ pw.flush();
+ return sw.toString();
+ }
+
+ private String getTransparencyData(PolygonData[] data) {
+ StringWriter sw = new StringWriter();
+ PrintWriter pw = new PrintWriter(sw);
+ pw.println();
+ pw.print(TABS);
+ String comma = "";
+ for (int i = 0; i < data.length; i++) {
+
+ PolygonData pd = data[i];
+
+ pw.print(comma);
+ pw.print(pd.getAlpha());
+ pw.print("f");
+ comma = ",";
+ }
+
+ pw.flush();
+ return sw.toString();
+ }
}
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template 2010-01-01 01:19:31 UTC (rev 217)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template 2010-01-01 04:18:52 UTC (rev 218)
@@ -34,19 +34,38 @@
public static void main(String[] args) {
JFrame frame = new JFrame() {
- {
+ {
+ final int[][][] polygonData = new int[][][]
+ {{3}
+ };
+
+ final int[][] colorData = new int[][]
+ {{4}
+ };
+
+ final float [] transparencyData = new float[]
+ {{5}
+ };
+
Container cp = getContentPane();
cp.add(new JPanel() {
+ private static final long serialVersionUID = 1L;
+
@Override
public void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2d = (Graphics2D) g;
g2d.setColor(Color.BLACK);
- g2d.fillRect(0, 0, {1}, {2});
- Polygon poly = new Polygon();
- AlphaComposite composite;
- Color color;
-{3}
+ g2d.fillRect(0, 0, {1}, {2});
+
+ for (int i = 0; i < polygonData.length; i++) {
+ Polygon polygon = new Polygon(polygonData[i][0], polygonData[i][1], polygonData[i][0].length);
+ Color color = new Color(colorData[i][0], colorData[i][1], colorData[i][2]);
+ g2d.setColor(color);
+ AlphaComposite composite = AlphaComposite.getInstance(AlphaComposite.SRC_OVER, transparencyData[i]);
+ g2d.setComposite(composite);
+ g2d.fillPolygon(polygon);
+ }
}
});
pack();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-01 01:19:38
|
Revision: 217
http://polycasso.svn.sourceforge.net/polycasso/?rev=217&view=rev
Author: dbrosius
Date: 2010-01-01 01:19:31 +0000 (Fri, 01 Jan 2010)
Log Message:
-----------
(c) 2010
Modified Paths:
--------------
trunk/polycasso/build.xml
trunk/polycasso/src/com/mebigfatguy/polycasso/AboutDialog.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java
trunk/polycasso/src/com/mebigfatguy/polycasso/FileSelector.java
trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageCompleter.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedEvent.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedListener.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementType.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementTypeStats.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Improver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java
trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Polycasso.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java
trunk/polycasso/src/com/mebigfatguy/polycasso/RandomImageFinder.java
trunk/polycasso/src/com/mebigfatguy/polycasso/SVGSaver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Saver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java
trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java
trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java
trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties
Modified: trunk/polycasso/build.xml
===================================================================
--- trunk/polycasso/build.xml 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/build.xml 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,8 +1,8 @@
<!--
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/AboutDialog.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/AboutDialog.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/AboutDialog.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/FileSelector.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/FileSelector.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/FileSelector.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageCompleter.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageCompleter.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageCompleter.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedEvent.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedEvent.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedEvent.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedListener.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedListener.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedListener.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementType.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementType.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementType.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementTypeStats.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementTypeStats.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementTypeStats.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Improver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Improver.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Improver.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Polycasso.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Polycasso.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Polycasso.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/RandomImageFinder.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/RandomImageFinder.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/RandomImageFinder.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/SVGSaver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/SVGSaver.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/SVGSaver.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Saver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Saver.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Saver.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2010 MeBigFatGuy.com
- * Copyright 2010 Dave Brosius
+ * Copyright 2009-2010 MeBigFatGuy.com
+ * Copyright 2009-2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
#/*
# * polycasso - Cubism Artwork generator
-# * Copyright 2010 MeBigFatGuy.com
-# * Copyright 2010 Dave Brosius
+# * Copyright 2009-2010 MeBigFatGuy.com
+# * Copyright 2009-2010 Dave Brosius
# * Inspired by work by Roger Alsing
# *
# * Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties 2010-01-01 01:03:50 UTC (rev 216)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties 2010-01-01 01:19:31 UTC (rev 217)
@@ -1,7 +1,7 @@
#/*
# * polycasso - Cubism Artwork generator
-# * Copyright 2010 MeBigFatGuy.com
-# * Copyright 2010 Dave Brosius
+# * Copyright 2009-2010 MeBigFatGuy.com
+# * Copyright 2009-2010 Dave Brosius
# * Inspired by work by Roger Alsing
# *
# * Licensed under the Apache License, Version 2.0 (the "License");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-01 01:04:02
|
Revision: 216
http://polycasso.svn.sourceforge.net/polycasso/?rev=216&view=rev
Author: dbrosius
Date: 2010-01-01 01:03:50 +0000 (Fri, 01 Jan 2010)
Log Message:
-----------
(c) 2010
Modified Paths:
--------------
trunk/polycasso/build.xml
trunk/polycasso/src/com/mebigfatguy/polycasso/AboutDialog.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java
trunk/polycasso/src/com/mebigfatguy/polycasso/FileSelector.java
trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageCompleter.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedEvent.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedListener.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementType.java
trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementTypeStats.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Improver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java
trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template
trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Polycasso.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java
trunk/polycasso/src/com/mebigfatguy/polycasso/RandomImageFinder.java
trunk/polycasso/src/com/mebigfatguy/polycasso/SVGSaver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Saver.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java
trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java
trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java
trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties
Modified: trunk/polycasso/build.xml
===================================================================
--- trunk/polycasso/build.xml 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/build.xml 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,8 +1,8 @@
<!--
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -123,7 +123,7 @@
destdir="${javadoc.dir}"
windowtitle="polycasso api">
<doctitle><![CDATA[<h1>polycasso javadoc</h1>]]></doctitle>
- <bottom><![CDATA[<i>Copyright © 2009 MeBigFatGuy.com. All Rights Reserved.</i>]]></bottom>
+ <bottom><![CDATA[<i>Copyright © 2009-2010 MeBigFatGuy.com. All Rights Reserved.</i>]]></bottom>
</javadoc>
</target>
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/AboutDialog.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/AboutDialog.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/AboutDialog.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/FileSelector.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/FileSelector.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/FileSelector.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/FileType.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageCompleter.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageCompleter.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageCompleter.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedEvent.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedEvent.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedEvent.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedListener.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedListener.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGeneratedListener.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementType.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementType.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementType.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementTypeStats.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementTypeStats.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImprovementTypeStats.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Improver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Improver.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Improver.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/IntegerDocument.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/JavaSaver.template 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PainterPanel.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Polycasso.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Polycasso.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Polycasso.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/RandomImageFinder.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/RandomImageFinder.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/RandomImageFinder.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/SVGSaver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/SVGSaver.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/SVGSaver.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Saver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Saver.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Saver.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
/*
* polycasso - Cubism Artwork generator
- * Copyright 2009 MeBigFatGuy.com
- * Copyright 2009 Dave Brosius
+ * Copyright 2010 MeBigFatGuy.com
+ * Copyright 2010 Dave Brosius
* Inspired by work by Roger Alsing
*
* Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
#/*
# * polycasso - Cubism Artwork generator
-# * Copyright 2009 MeBigFatGuy.com
-# * Copyright 2009 Dave Brosius
+# * Copyright 2010 MeBigFatGuy.com
+# * Copyright 2010 Dave Brosius
# * Inspired by work by Roger Alsing
# *
# * Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties 2009-12-31 07:54:11 UTC (rev 215)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties 2010-01-01 01:03:50 UTC (rev 216)
@@ -1,7 +1,7 @@
#/*
# * polycasso - Cubism Artwork generator
-# * Copyright 2009 MeBigFatGuy.com
-# * Copyright 2009 Dave Brosius
+# * Copyright 2010 MeBigFatGuy.com
+# * Copyright 2010 Dave Brosius
# * Inspired by work by Roger Alsing
# *
# * Licensed under the Apache License, Version 2.0 (the "License");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-31 07:54:20
|
Revision: 215
http://polycasso.svn.sourceforge.net/polycasso/?rev=215&view=rev
Author: dbrosius
Date: 2009-12-31 07:54:11 +0000 (Thu, 31 Dec 2009)
Log Message:
-----------
add a reset settings button
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java
trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2009-12-31 07:46:18 UTC (rev 214)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2009-12-31 07:54:11 UTC (rev 215)
@@ -30,6 +30,7 @@
*/
enum Key {
Title("pc.title"),
+ Reset("pc.reset"),
OK("pc.ok"),
Cancel("pc.cancel"),
Info("pc.info"),
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java 2009-12-31 07:46:18 UTC (rev 214)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java 2009-12-31 07:54:11 UTC (rev 215)
@@ -49,6 +49,7 @@
private static final long serialVersionUID = 5044661806014080056L;
Settings dlgSettings;
+ private JButton resetButton;
private JButton okButton;
private JButton cancelButton;
private JTextField widthField;
@@ -124,7 +125,6 @@
widthField = new JTextField(4);
widthField.setDocument(new IntegerDocument());
widthLabel.setLabelFor(widthField);
- widthField.setText(String.valueOf(dlgSettings.getMaxImageSize().width));
optPanel.add(widthField, cc.xy(3, 3));
widthField.addFocusListener(focuser);
@@ -133,7 +133,6 @@
heightField = new JTextField(4);
heightField.setDocument(new IntegerDocument());
heightLabel.setLabelFor(heightField);
- heightField.setText(String.valueOf(dlgSettings.getMaxImageSize().height));
optPanel.add(heightField, cc.xy(7, 3));
heightField.addFocusListener(focuser);
@@ -142,7 +141,6 @@
maxPolygonField = new JTextField(4);
maxPolygonField.setDocument(new IntegerDocument());
maxPolyLabel.setLabelFor(maxPolygonField);
- maxPolygonField.setText(String.valueOf(dlgSettings.getMaxPolygons()));
optPanel.add(maxPolygonField, cc.xy(7, 5));
maxPolygonField.addFocusListener(focuser);
@@ -151,7 +149,6 @@
numCompetingImagesField = new JTextField(4);
numCompetingImagesField.setDocument(new IntegerDocument());
numCompetingImagesLabel.setLabelFor(numCompetingImagesField);
- numCompetingImagesField.setText(String.valueOf(dlgSettings.getNumCompetingImages()));
optPanel.add(numCompetingImagesField, cc.xy(7, 7));
numCompetingImagesField.addFocusListener(focuser);
@@ -160,7 +157,6 @@
maxPolygonPointsField = new JTextField(4);
maxPolygonPointsField.setDocument(new IntegerDocument());
maxPolyPointLabel.setLabelFor(maxPolygonPointsField);
- maxPolygonPointsField.setText(String.valueOf(dlgSettings.getMaxPoints()));
optPanel.add(maxPolygonPointsField, cc.xy(7, 9));
maxPolygonPointsField.addFocusListener(focuser);
@@ -169,7 +165,6 @@
maxPtMoveField = new JTextField(4);
maxPtMoveField.setDocument(new IntegerDocument());
maxPtMoveLabel.setLabelFor(maxPtMoveField);
- maxPtMoveField.setText(String.valueOf(dlgSettings.getMaxPtMovement()));
optPanel.add(maxPtMoveField, cc.xy(7, 11));
maxPtMoveField.addFocusListener(focuser);
@@ -178,13 +173,25 @@
maxColorChangeField = new JTextField(4);
maxColorChangeField.setDocument(new IntegerDocument());
maxColorChangeLabel.setLabelFor(maxColorChangeField);
- maxColorChangeField.setText(String.valueOf(dlgSettings.getMaxColorChange()));
optPanel.add(maxColorChangeField, cc.xy(7, 13));
maxColorChangeField.addFocusListener(focuser);
+ populateValues();
+
return optPanel;
}
+ private void populateValues() {
+ widthField.setText(String.valueOf(dlgSettings.getMaxImageSize().width));
+ heightField.setText(String.valueOf(dlgSettings.getMaxImageSize().height));
+ maxPolygonField.setText(String.valueOf(dlgSettings.getMaxPolygons()));
+ numCompetingImagesField.setText(String.valueOf(dlgSettings.getNumCompetingImages()));
+ maxPolygonPointsField.setText(String.valueOf(dlgSettings.getMaxPoints()));
+ maxPtMoveField.setText(String.valueOf(dlgSettings.getMaxPtMovement()));
+ maxColorChangeField.setText(String.valueOf(dlgSettings.getMaxColorChange()));
+
+ }
+
/**
* creates the control panel
*
@@ -194,11 +201,15 @@
JPanel ctrlPanel = new JPanel();
ctrlPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
ctrlPanel.setLayout(new BoxLayout(ctrlPanel, BoxLayout.X_AXIS));
- ctrlPanel.add(Box.createHorizontalGlue());
+ resetButton = new JButton(PolycassoBundle.getString(PolycassoBundle.Key.Reset));
okButton = new JButton(PolycassoBundle.getString(PolycassoBundle.Key.OK));
cancelButton = new JButton(PolycassoBundle.getString(PolycassoBundle.Key.Cancel));
+ ctrlPanel.add(Box.createHorizontalStrut(10));
+ ctrlPanel.add(resetButton);
+ ctrlPanel.add(Box.createHorizontalGlue());
+ ctrlPanel.add(Box.createHorizontalStrut(10));
ctrlPanel.add(okButton);
ctrlPanel.add(Box.createHorizontalStrut(10));
ctrlPanel.add(cancelButton);
@@ -210,6 +221,14 @@
* sets up all the control listeners for the dialog
*/
private void initListeners() {
+ resetButton.addActionListener(new ActionListener() {
+ @Override
+ public void actionPerformed(ActionEvent ae) {
+ dlgSettings = new Settings();
+ populateValues();
+ }
+ });
+
okButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent ae) {
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2009-12-31 07:46:18 UTC (rev 214)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2009-12-31 07:54:11 UTC (rev 215)
@@ -17,6 +17,7 @@
# * under the License.
# */
pc.title = Polycasso
+pc.reset = Reset
pc.ok = OK
pc.cancel = Cancel
pc.info = A cubism-style artwork generator that layers semi-transparent polygons \nvia a training feedback loop. Produces increasingly realistic work \nthrough hill climbing. For more info see\nhttp://polycasso.sourceforge.net
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties 2009-12-31 07:46:18 UTC (rev 214)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties 2009-12-31 07:54:11 UTC (rev 215)
@@ -17,6 +17,7 @@
# * under the License.
# */
pc.title = Polycasso
+pc.reset = Einrichten
pc.ok = OK
pc.cancel = Abbrechen
pc.info = Ein Kubismus-Stil Grafik-Generator, semi-transparente Schichten Polygone\nvia ein Ausbildungs-Feedback-Schleife. Erzeugt immer realistischer work\nthrough H\xFCgel klettern. F\xFCr weitere Informationen siehe\nhttp://polycasso.sourceforge.net
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-31 07:46:28
|
Revision: 214
http://polycasso.svn.sourceforge.net/polycasso/?rev=214&view=rev
Author: dbrosius
Date: 2009-12-31 07:46:18 +0000 (Thu, 31 Dec 2009)
Log Message:
-----------
save settings to disk
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java
trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java 2009-12-31 07:33:18 UTC (rev 213)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java 2009-12-31 07:46:18 UTC (rev 214)
@@ -26,8 +26,14 @@
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
+import java.io.BufferedInputStream;
+import java.io.BufferedOutputStream;
import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
import java.io.IOException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
import java.text.MessageFormat;
import javax.swing.ImageIcon;
@@ -37,6 +43,8 @@
import javax.swing.JMenuItem;
import javax.swing.JOptionPane;
+import org.apache.commons.io.IOUtils;
+
/**
* the main window for showing the image as it is being improved on.
*/
@@ -66,7 +74,7 @@
initMenus();
initListeners();
pack();
- settings = new Settings();
+ settings = loadSettings();
generator = null;
}
@@ -131,6 +139,7 @@
@Override
public void windowClosing(WindowEvent we) {
dispose();
+ saveSettings(settings);
System.exit(0);
}
});
@@ -199,6 +208,7 @@
if (generator != null)
generator.stopGenerating();
dispose();
+ saveSettings(settings);
System.exit(0);
}
});
@@ -289,4 +299,35 @@
completeImage.setEnabled(true);
saveAsMenu.setEnabled(true);
}
+
+ private Settings loadSettings() {
+ ObjectInputStream ois = null;
+ try {
+ File polyDir = getSettingsDirectory();
+ ois = new ObjectInputStream(new BufferedInputStream(new FileInputStream(new File(polyDir, "settings.ser"))));
+ return (Settings)ois.readObject();
+ } catch (Exception e) {
+ return new Settings();
+ } finally {
+ IOUtils.closeQuietly(ois);
+ }
+ }
+
+ private void saveSettings(Settings settings) {
+ ObjectOutputStream oos = null;
+ try {
+ File polyDir = getSettingsDirectory();
+ oos = new ObjectOutputStream(new BufferedOutputStream(new FileOutputStream(new File(polyDir, "settings.ser"))));
+ oos.writeObject(settings);
+ } catch (Exception e) {
+ } finally {
+ IOUtils.closeQuietly(oos);
+ }
+ }
+
+ private File getSettingsDirectory() {
+ File polyDir = new File(System.getProperty("user.home"), ".polycasso");
+ polyDir.mkdirs();
+ return polyDir;
+ }
}
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java 2009-12-31 07:33:18 UTC (rev 213)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java 2009-12-31 07:46:18 UTC (rev 214)
@@ -19,13 +19,16 @@
package com.mebigfatguy.polycasso;
import java.awt.Dimension;
+import java.io.Serializable;
/**
* a simple java bean holding settings that are used to control how
* Polycasso runs
*/
-public class Settings implements Cloneable {
+public class Settings implements Cloneable, Serializable {
+ private static final long serialVersionUID = -8827208887550245450L;
+
private Dimension maxImageSize;
private int numCompetingImages;
private int maxPolygons;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-31 07:33:27
|
Revision: 213
http://polycasso.svn.sourceforge.net/polycasso/?rev=213&view=rev
Author: dbrosius
Date: 2009-12-31 07:33:18 +0000 (Thu, 31 Dec 2009)
Log Message:
-----------
rotate images
Modified Paths:
--------------
trunk/polycasso/htdocs/index.shtml
Modified: trunk/polycasso/htdocs/index.shtml
===================================================================
--- trunk/polycasso/htdocs/index.shtml 2009-12-31 07:17:03 UTC (rev 212)
+++ trunk/polycasso/htdocs/index.shtml 2009-12-31 07:33:18 UTC (rev 213)
@@ -33,6 +33,7 @@
sample.width=svgs[idx].width;
sample.height=svgs[idx].height;
}
+ setTimeout('setSample()', 10000);
}
</script>
<link rel="stylesheet" type="text/css" href="mbfg.css" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-31 07:17:12
|
Revision: 212
http://polycasso.svn.sourceforge.net/polycasso/?rev=212&view=rev
Author: dbrosius
Date: 2009-12-31 07:17:03 +0000 (Thu, 31 Dec 2009)
Log Message:
-----------
more samples
Added Paths:
-----------
trunk/polycasso/htdocs/polylamp.svg
Added: trunk/polycasso/htdocs/polylamp.svg
===================================================================
--- trunk/polycasso/htdocs/polylamp.svg (rev 0)
+++ trunk/polycasso/htdocs/polylamp.svg 2009-12-31 07:17:03 UTC (rev 212)
@@ -0,0 +1,168 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="299px" height="400px" version="1.2">
+ <!-- generated by Polycasso (http://polycasso.sourceforge.net) -->
+ <rect x="0" y="0" width="299px" height="400px" fill="black"/>
+ <g comp-op="src-over">
+ <polygon fill="#efe949" fill-opacity="0.28274018" points="105,285 190,370 195,292 154,323 179,293 154,313 139,375"/>
+ <polygon fill="#b38b84" fill-opacity="0.16430855" points="203,1 163,109 203,134 203,173 127,77 162,36 205,83"/>
+ <polygon fill="#deb090" fill-opacity="0.35585356" points="67,350 3,350 5,367 18,371 16,380 21,389 10,400"/>
+ <polygon fill="#f813e6" fill-opacity="0.05126834" points="6,239 20,280 91,311 113,311 97,220 122,232 110,243"/>
+ <polygon fill="#7b96a9" fill-opacity="0.27467984" points="-26,65 139,325 91,337 60,340 -20,340"/>
+ <polygon fill="#bdfde8" fill-opacity="0.10859448" points="188,257 225,338 299,329 299,269 268,281 265,268 174,148"/>
+ <polygon fill="#ddb95e" fill-opacity="0.18782145" points="25,233 -34,220 -11,208 -50,293 -49,341 56,339"/>
+ <polygon fill="#d5bf98" fill-opacity="0.59474844" points="90,85 152,39 201,141 209,94 231,132 156,233 45,177"/>
+ <polygon fill="#cec2e0" fill-opacity="0.63436157" points="151,206 185,195 204,213 217,213 201,259"/>
+ <polygon fill="#c0b39e" fill-opacity="0.35236204" points="232,329 205,273 121,141 118,-11 276,95 325,173 341,315"/>
+ <polygon fill="#9f9a74" fill-opacity="0.67492366" points="252,210 66,243 64,159 95,39 191,39 237,123 162,382"/>
+ <polygon fill="#a08641" fill-opacity="0.18727899" points="50,228 58,228 66,228 110,253 83,153 47,132 47,121"/>
+ <polygon fill="#efffff" fill-opacity="0.8703692" points="130,135 172,226 134,231 143,194 144,169"/>
+ <polygon fill="#bda596" fill-opacity="0.53677976" points="0,400 299,400 299,0 0,0 0,0"/>
+ <polygon fill="#1c1916" fill-opacity="0.5262752" points="-12,360 45,369 56,364 65,358 52,379 59,356 6,356"/>
+ <polygon fill="#6df1f7" fill-opacity="0.025307655" points="49,61 2,89 9,155 52,254 -14,310 170,315 93,268"/>
+ <polygon fill="#bbf7ff" fill-opacity="0.021325052" points="334,34 317,11 329,-2 303,415 29,102 62,85 11,51"/>
+ <polygon fill="#0e0000" fill-opacity="0.43850172" points="102,384 194,312 217,322 217,318 220,355 220,359 185,386"/>
+ <polygon fill="#b03a58" fill-opacity="0.014166117" points="140,-7 220,45 290,104 226,163 152,163"/>
+ <polygon fill="#cbb8a8" fill-opacity="0.7518793" points="135,357 135,360 175,360 157,328 158,316 158,314 144,316"/>
+ <polygon fill="#a9ba39" fill-opacity="0.027458012" points="150,60 101,105 83,103 90,41"/>
+ <polygon fill="#060000" fill-opacity="0.30669618" points="100,318 25,327 0,328 3,400 21,394 87,393 123,392"/>
+ <polygon fill="#022099" fill-opacity="0.98281914" points="21,229 68,229 68,258 52,259 21,259 21,216"/>
+ <polygon fill="#ffffdb" fill-opacity="0.14605874" points="129,82 169,111 194,168 159,168 139,224 145,177 113,148"/>
+ <polygon fill="#a89171" fill-opacity="0.70228046" points="55,233 54,255 58,253 66,253 68,261 91,236"/>
+ <polygon fill="#fffffa" fill-opacity="0.15881395" points="214,291 162,341 128,341 128,355 160,355 189,363 221,363"/>
+ <polygon fill="#59b2d5" fill-opacity="0.016830683" points="133,128 148,123 169,144 180,144 181,87 170,86 153,86"/>
+ <polygon fill="#0bb1ed" fill-opacity="0.020857215" points="140,170 136,184 111,272 142,278 65,169"/>
+ <polygon fill="#ffac9c" fill-opacity="0.1037392" points="93,318 -9,332 16,337 13,352 16,345"/>
+ <polygon fill="#0cbe01" fill-opacity="0.022251487" points="-43,90 -32,15 195,6 248,6 313,-3 300,86 120,84"/>
+ <polygon fill="#b1a99f" fill-opacity="0.36951363" points="266,219 252,234 257,304 247,304 225,335 190,335 165,315"/>
+ <polygon fill="#b0ae73" fill-opacity="0.34542578" points="155,359 166,374 161,365 154,365 151,365 133,354 124,362"/>
+ <polygon fill="#fff6ff" fill-opacity="0.044283688" points="182,304 168,304 192,339 179,358 179,361 207,362 222,352"/>
+ <polygon fill="#74625a" fill-opacity="0.3167882" points="231,203 114,279 250,271 253,273 269,274 317,249 231,161"/>
+ <polygon fill="#807a53" fill-opacity="0.8785066" points="156,371 116,371 112,373 160,373 145,358 149,316 151,307"/>
+ <polygon fill="#161301" fill-opacity="0.4870363" points="186,229 112,229 110,283 138,324 163,314 182,300 192,279"/>
+ <polygon fill="#aa6722" fill-opacity="0.26026505" points="149,253 106,314 119,288 124,271 140,279 109,286 165,267"/>
+ <polygon fill="#382e21" fill-opacity="0.57288384" points="166,190 177,277 176,306 121,305 117,304 103,264 158,264"/>
+ <polygon fill="#ffefaf" fill-opacity="0.2141515" points="137,314 160,355 209,295 201,302 224,267 224,304 230,319"/>
+ <polygon fill="#354342" fill-opacity="0.16369528" points="237,139 233,113 226,100 205,68 209,115 219,100 219,139"/>
+ <polygon fill="#000aa1" fill-opacity="0.55666023" points="61,257 76,266 66,261 62,243 41,249 70,223"/>
+ <polygon fill="#faffa5" fill-opacity="0.067658186" points="139,281 154,298 162,275 172,342 187,314 115,262 129,281"/>
+ <polygon fill="#bdb162" fill-opacity="0.5362734" points="69,216 69,236 78,238 60,233 57,233 52,239 65,239"/>
+ <polygon fill="#070203" fill-opacity="0.09880149" points="145,228 111,249 127,282 115,289 143,234 97,250 104,227"/>
+ <polygon fill="#c5c38c" fill-opacity="0.28333747" points="230,146 252,165 187,168"/>
+ <polygon fill="#aaa37b" fill-opacity="0.3114378" points="233,290 226,205 181,202 187,259 174,259 180,262 159,250"/>
+ <polygon fill="#740e1d" fill-opacity="0.010451615" points="60,346 59,383 114,386 157,342 157,390 49,199"/>
+ <polygon fill="#ffcc45" fill-opacity="0.44528306" points="33,233 47,270 47,271 47,232"/>
+ <polygon fill="#eddbcc" fill-opacity="0.16309434" points="145,127 203,295 169,295 184,280 195,275 206,282"/>
+ <polygon fill="#c79f58" fill-opacity="0.14525062" points="62,40 92,40 85,75 69,145 228,179 279,125 192,40"/>
+ <polygon fill="#b8a296" fill-opacity="0.7066416" points="123,233 124,223 95,243"/>
+ <polygon fill="#ffe4ba" fill-opacity="0.08091611" points="123,393 102,363 138,320 126,303 116,350 69,350 50,386"/>
+ <polygon fill="#968a84" fill-opacity="0.70623696" points="105,181 134,228 116,225 116,223 111,254 98,301 33,153"/>
+ <polygon fill="#00001a" fill-opacity="0.2011652" points="219,122 225,127 232,140 240,149 301,135 277,95 201,48"/>
+ <polygon fill="#0000b5" fill-opacity="0.26807457" points="45,213 45,226 21,228 21,240 21,256 28,259 36,261"/>
+ <polygon fill="#9a8d61" fill-opacity="0.22238308" points="103,176 166,189 189,197 229,174 278,265 253,317 242,283"/>
+ <polygon fill="#8d7869" fill-opacity="0.55219734" points="45,151 66,170 31,145 37,169 58,169 41,261"/>
+ <polygon fill="#4236ad" fill-opacity="0.077304065" points="232,167 151,169 153,182 153,186 191,251 222,302"/>
+ <polygon fill="#8a3e31" fill-opacity="0.06815696" points="236,293 192,345 221,361 239,331 194,332 161,370 192,306"/>
+ <polygon fill="#ffe7d3" fill-opacity="0.09032005" points="81,91 211,282 220,183 218,106 261,226 -7,228 -55,198"/>
+ <polygon fill="#f4e7df" fill-opacity="0.049140036" points="-26,289 4,269 18,269 54,269 86,288 86,305 66,338"/>
+ <polygon fill="#f8e282" fill-opacity="0.0847891" points="-11,54 89,89 89,43 165,37 179,142 4,238 -11,173"/>
+ <polygon fill="#9b8665" fill-opacity="0.80236197" points="46,245 46,252 28,253 19,280 26,259 30,245"/>
+ <polygon fill="#5c545d" fill-opacity="0.10054904" points="103,184 110,181 122,169 65,168 82,193 82,257 32,157"/>
+ <polygon fill="#ffffd4" fill-opacity="0.1918537" points="204,313 210,313 222,327 197,325 128,312 132,316 143,330"/>
+ <polygon fill="#495a7f" fill-opacity="0.05527824" points="30,241 39,241 29,227 39,132 52,176 52,225 20,199"/>
+ <polygon fill="#596e83" fill-opacity="0.040872574" points="0,0 0,205 0,165 148,165 127,136 213,0 160,0"/>
+ <polygon fill="#ffd59d" fill-opacity="0.18660158" points="134,256 134,236 127,256"/>
+ <polygon fill="#715c4d" fill-opacity="0.41829532" points="287,319 186,310 165,319 152,315 163,328 167,391 251,463"/>
+ <polygon fill="#8c8b86" fill-opacity="0.18170363" points="176,333 222,147 274,96 246,73 279,79 302,80 302,305"/>
+ <polygon fill="#fc86d0" fill-opacity="0.027894795" points="65,297 129,305 163,365 128,365 118,356 110,351"/>
+ <polygon fill="#443100" fill-opacity="0.105544806" points="229,370 183,394 175,407 75,393 125,385 241,296 307,314"/>
+ <polygon fill="#cdad4a" fill-opacity="0.19702673" points="25,179 28,249 36,249 36,235 30,232 25,227"/>
+ <polygon fill="#bca57e" fill-opacity="0.09366089" points="86,3 184,98 172,166 244,166 223,136 204,53 221,19"/>
+ <polygon fill="#2e0000" fill-opacity="0.13368195" points="145,235 159,202 161,210 163,204 175,233 165,218 154,168"/>
+ <polygon fill="#c4595b" fill-opacity="0.028294623" points="188,144 99,19 73,97"/>
+ <polygon fill="#bcae8b" fill-opacity="0.077049196" points="165,382 148,368 193,372"/>
+ <polygon fill="#c0b298" fill-opacity="0.37302727" points="106,266 121,338 70,340 31,293 31,287 73,252 122,216"/>
+ <polygon fill="#a2978c" fill-opacity="0.49735856" points="63,319 89,331 106,331 138,322 90,274 90,262 25,258"/>
+ <polygon fill="#000009" fill-opacity="0.085145116" points="188,37 206,44 240,21 225,7 109,7 76,58 37,43"/>
+ <polygon fill="#ffb291" fill-opacity="0.069529355" points="41,372 42,363 41,357 76,397 108,397 128,347 122,344"/>
+ <polygon fill="#f02185" fill-opacity="0.008277118" points="182,99 165,36 49,8 16,41 82,67 33,164 30,240"/>
+ <polygon fill="#86acd6" fill-opacity="0.012789488" points="36,58 63,90 75,67 296,218 299,296 299,322 267,340"/>
+ <polygon fill="#403c7f" fill-opacity="0.11455989" points="46,168 46,187 111,199 104,190 133,219 145,169"/>
+ <polygon fill="#f0f1d2" fill-opacity="0.028457522" points="213,101 239,155 273,168 315,130 322,223 203,212 76,-14"/>
+ <polygon fill="#ddf686" fill-opacity="0.016383708" points="240,165 274,138 257,72 210,88 207,74 176,146"/>
+ <polygon fill="#000022" fill-opacity="0.037996173" points="85,72 85,130 79,130 52,151 40,133 49,133 28,141"/>
+ <polygon fill="#030004" fill-opacity="0.07664931" points="161,328 144,307 181,310 210,334 161,340 37,352 57,310"/>
+ <polygon fill="#4c3504" fill-opacity="0.24531603" points="114,207 114,188 126,205 137,289 136,267 135,195 114,195"/>
+ <polygon fill="#79633b" fill-opacity="0.8326387" points="180,198 154,188 137,187 143,184 128,197 132,227 128,207"/>
+ <polygon fill="#7a9a9f" fill-opacity="0.19628435" points="132,220 139,196 132,196"/>
+ <polygon fill="#cdddaf" fill-opacity="0.08180082" points="60,339 84,339 48,339 48,315 60,328"/>
+ <polygon fill="#ffec56" fill-opacity="0.052408814" points="29,239 43,239 64,248 64,253 50,243 -2,44 -4,16"/>
+ <polygon fill="#a18e94" fill-opacity="0.060640812" points="64,258 85,271 119,252 50,185 93,186 113,174 90,174"/>
+ <polygon fill="#11532d" fill-opacity="0.04930049" points="214,216 236,200 236,240 235,263 264,263 240,236 235,235"/>
+ <polygon fill="#000000" fill-opacity="0.052404642" points="87,262 59,223 76,243 65,260 45,259 32,258 32,298"/>
+ <polygon fill="#5647f5" fill-opacity="0.110081494" points="129,250 135,250 137,254"/>
+ <polygon fill="#6f22bb" fill-opacity="0.023110926" points="48,66 0,51 0,159 -16,206 18,206 -2,217 73,240"/>
+ <polygon fill="#8a7e71" fill-opacity="0.74116457" points="247,167 268,225 266,245 267,253 267,273 224,242"/>
+ <polygon fill="#caac67" fill-opacity="0.038117945" points="106,42 136,26 104,93 56,78 40,69 34,61 34,42"/>
+ <polygon fill="#89881c" fill-opacity="0.023447216" points="220,299 216,272 226,272 226,310 245,238 265,238 250,299"/>
+ <polygon fill="#fdffe3" fill-opacity="0.05591446" points="130,247 130,256 109,260 105,256 122,267 144,274"/>
+ <polygon fill="#776138" fill-opacity="0.5251816" points="133,334 109,335 111,359 124,359 136,363"/>
+ <polygon fill="#6893c4" fill-opacity="0.017254889" points="21,164 21,118 56,84 90,71 99,87 94,89 73,98"/>
+ <polygon fill="#000e05" fill-opacity="0.5587798" points="173,385 167,380 121,374 121,387 147,374 207,374"/>
+ <polygon fill="#ffff9c" fill-opacity="0.0500679" points="148,309 154,244 172,244 167,283 167,260 187,260"/>
+ <polygon fill="#ffff47" fill-opacity="0.04427743" points="110,167 118,122 111,124 91,71 69,132 54,153 46,170"/>
+ <polygon fill="#4c00dd" fill-opacity="0.019050598" points="140,34 98,44 98,1 140,1"/>
+ <polygon fill="#2b370f" fill-opacity="0.17946225" points="71,340 216,384 213,331 226,331 160,357 142,357"/>
+ <polygon fill="#a5977e" fill-opacity="0.97460705" points="181,200 178,205 130,205"/>
+ <polygon fill="#b5dcde" fill-opacity="0.05307764" points="48,0 57,17 119,42 119,0"/>
+ <polygon fill="#c0d5b4" fill-opacity="0.0027270317" points="137,246 208,160 101,275"/>
+ <polygon fill="#fffac9" fill-opacity="0.153682" points="142,283 129,261 193,258 165,270 164,274 155,302 138,293"/>
+ <polygon fill="#ffbe1e" fill-opacity="0.03436035" points="132,170 175,167 119,150 113,153 86,153 57,156"/>
+ <polygon fill="#6c4550" fill-opacity="0.10807085" points="185,306 254,361 186,375 229,392 178,353 248,306"/>
+ <polygon fill="#c1147c" fill-opacity="0.006887853" points="149,393 110,408 110,393 102,393 100,364 108,382"/>
+ <polygon fill="#b39696" fill-opacity="0.24087155" points="155,171 163,171 193,186 179,234 182,238 214,229 171,232"/>
+ <polygon fill="#000105" fill-opacity="0.2751872" points="141,290 141,266 151,266 187,291 194,276 195,280 192,263"/>
+ <polygon fill="#077cad" fill-opacity="0.012969911" points="232,273 229,323 166,323 215,266"/>
+ <polygon fill="#363229" fill-opacity="0.81475" points="176,250 181,304 178,304 168,304 159,289 151,275 154,288"/>
+ <polygon fill="#f6caff" fill-opacity="0.10950035" points="179,321 178,321 178,335 164,324 164,312 205,312"/>
+ <polygon fill="#f5fff4" fill-opacity="0.029149294" points="234,58 299,58 299,161 299,224 261,170 233,165 222,165"/>
+ <polygon fill="#c749ca" fill-opacity="0.008247912" points="62,100 29,132 15,130 -12,87"/>
+ <polygon fill="#535560" fill-opacity="0.08599496" points="165,23 198,67 211,85 225,135 231,143 278,126 235,36"/>
+ <polygon fill="#53511f" fill-opacity="0.057536542" points="299,9 299,322 299,400 245,358 299,321"/>
+ <polygon fill="#d1b165" fill-opacity="0.065476835" points="3,122 129,200 173,250 176,296 191,293 170,291 175,260"/>
+ <polygon fill="#eb24b1" fill-opacity="0.0050700903" points="0,50 0,302 86,19"/>
+ <polygon fill="#2b0036" fill-opacity="0.04115182" points="175,220 190,223 196,216 255,204 267,223 267,267 256,292"/>
+ <polygon fill="#826db4" fill-opacity="0.016260266" points="145,193 88,284 45,237 45,272 64,244 71,187 64,160"/>
+ <polygon fill="#f6ffbd" fill-opacity="0.04086238" points="116,-15 124,97 104,94 109,168 128,168 138,120 80,68"/>
+ <polygon fill="#afe5c7" fill-opacity="0.0660243" points="187,228 188,296 212,299 217,288 197,305 189,323 188,322"/>
+ <polygon fill="#abab8c" fill-opacity="0.050490856" points="160,312 80,147 95,147 92,119 79,101"/>
+ <polygon fill="#588a5e" fill-opacity="0.005418241" points="29,81 10,102 66,256 82,256 89,262 94,256"/>
+ <polygon fill="#ffa7d5" fill-opacity="0.05246073" points="209,256 228,264 226,264 231,295 208,379 183,379 178,308"/>
+ <polygon fill="#bde7a1" fill-opacity="0.0042894483" points="161,191 166,240 195,229 254,219 254,127 18,7"/>
+ <polygon fill="#004817" fill-opacity="0.020969689" points="0,154 50,159 24,189 19,222 40,227 110,278 -22,68"/>
+ <polygon fill="#ffb89c" fill-opacity="0.065313876" points="49,333 31,316 84,360 81,373 55,348 68,348 55,306"/>
+ <polygon fill="#cc797a" fill-opacity="0.03140652" points="55,-18 98,-18 120,2 59,2 117,2 125,119"/>
+ <polygon fill="#9a152a" fill-opacity="0.027009547" points="84,210 93,220 65,248 64,207"/>
+ <polygon fill="#998b84" fill-opacity="0.19256371" points="195,294 178,311 168,337 221,296 275,284 256,318 217,323"/>
+ <polygon fill="#fffdd3" fill-opacity="0.084056616" points="91,50 97,50 98,52 84,41 91,59"/>
+ <polygon fill="#4e2c44" fill-opacity="0.09123129" points="75,322 6,329 32,283 -9,283 -29,205 13,206 16,119"/>
+ <polygon fill="#ffc358" fill-opacity="0.07099843" points="171,281 205,261 181,269 160,227 186,307 171,264"/>
+ <polygon fill="#8e5903" fill-opacity="0.029501438" points="174,37 170,70 177,74 190,81 207,68 177,17"/>
+ <polygon fill="#e5b7e8" fill-opacity="0.015115142" points="65,289 82,303 116,314 107,269 146,149 115,149 57,122"/>
+ <polygon fill="#7ab876" fill-opacity="0.033179462" points="214,221 219,235 192,277 193,297 195,333 238,318"/>
+ <polygon fill="#0055ff" fill-opacity="0.044537902" points="167,279 167,258 186,264 186,274 167,262 145,262"/>
+ <polygon fill="#59e287" fill-opacity="0.007341981" points="178,241 151,258 115,265 136,273 122,358 155,371 141,373"/>
+ <polygon fill="#fedbdf" fill-opacity="0.04616511" points="232,217 226,180 168,201 173,240 175,238 209,228 250,199"/>
+ <polygon fill="#5b5e42" fill-opacity="0.04736656" points="229,314 204,269 240,272 205,294 196,314"/>
+ <polygon fill="#583d0e" fill-opacity="0.01704061" points="119,172 150,208 160,233"/>
+ <polygon fill="#b4047b" fill-opacity="0.011505246" points="115,76 126,76 116,89 118,77 134,59 118,33"/>
+ <polygon fill="#375fcf" fill-opacity="0.013006806" points="240,118 242,135 251,129 270,124 283,170 251,185 233,176"/>
+ <polygon fill="#dae8c0" fill-opacity="0.067635596" points="31,398 48,380 48,367 50,363 122,396 93,396 54,386"/>
+ <polygon fill="#bc1008" fill-opacity="0.023424506" points="152,205 156,199 170,185 170,171 118,199"/>
+ <polygon fill="#e4ea26" fill-opacity="0.011948347" points="186,276 198,345 172,276"/>
+ <polygon fill="#0cbe00" fill-opacity="0.024788976" points="176,231 196,175 199,177 196,170 153,170 147,185 143,191"/>
+ <polygon fill="#e17f81" fill-opacity="0.07056922" points="260,197 97,321 68,341"/>
+ <polygon fill="#d86b7d" fill-opacity="0.009728134" points="239,274 155,354 198,370 226,353 233,315 239,279 226,54"/>
+ <polygon fill="#f3fee2" fill-opacity="0.035117984" points="187,349 161,349 198,386 181,340"/>
+ <polygon fill="#59491d" fill-opacity="0.031933844" points="23,93 4,71 82,66"/>
+ <polygon fill="#a63202" fill-opacity="0.0033451319" points="194,116 130,100 171,139"/>
+ </g>
+</svg>
Property changes on: trunk/polycasso/htdocs/polylamp.svg
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-31 07:16:48
|
Revision: 211
http://polycasso.svn.sourceforge.net/polycasso/?rev=211&view=rev
Author: dbrosius
Date: 2009-12-31 07:16:41 +0000 (Thu, 31 Dec 2009)
Log Message:
-----------
more samples
Added Paths:
-----------
trunk/polycasso/htdocs/polybicycle.svg
Added: trunk/polycasso/htdocs/polybicycle.svg
===================================================================
--- trunk/polycasso/htdocs/polybicycle.svg (rev 0)
+++ trunk/polycasso/htdocs/polybicycle.svg 2009-12-31 07:16:41 UTC (rev 211)
@@ -0,0 +1,206 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="500px" height="333px" version="1.2">
+ <!-- generated by Polycasso (http://polycasso.sourceforge.net) -->
+ <rect x="0" y="0" width="500px" height="333px" fill="black"/>
+ <g comp-op="src-over">
+ <polygon fill="#8bffff" fill-opacity="0.9728425" points="0,0 435,0 500,0 500,333 0,333"/>
+ <polygon fill="#ffffff" fill-opacity="0.99672496" points="500,333 500,0 0,0 0,333"/>
+ <polygon fill="#45424b" fill-opacity="0.978755" points="393,61 299,140 332,120 335,125 318,163 347,135"/>
+ <polygon fill="#000000" fill-opacity="0.3602208" points="244,280 238,265 238,247 247,240 230,248 233,280"/>
+ <polygon fill="#2d000b" fill-opacity="0.31473732" points="458,168 467,179 458,201 476,201 460,202 455,183"/>
+ <polygon fill="#c743bb" fill-opacity="0.030665696" points="416,311 490,227 464,189 447,170 188,322 43,181"/>
+ <polygon fill="#887388" fill-opacity="0.9223827" points="443,168 446,147 451,154 466,173 461,166 471,193"/>
+ <polygon fill="#000000" fill-opacity="0.59855366" points="472,208 469,239 458,261 445,277 421,296 450,250"/>
+ <polygon fill="#827c84" fill-opacity="0.6248441" points="190,203 246,203 257,233 255,237 237,266 190,256"/>
+ <polygon fill="#000000" fill-opacity="0.14882183" points="305,309 312,310 312,315 251,317 250,312 234,312"/>
+ <polygon fill="#250023" fill-opacity="0.8480394" points="318,63 330,71 389,74 389,62 334,58 324,99"/>
+ <polygon fill="#ffffff" fill-opacity="0.22948855" points="440,344 449,311 452,55 176,147 124,138 28,179"/>
+ <polygon fill="#665863" fill-opacity="0.6882705" points="459,220 455,217 418,215"/>
+ <polygon fill="#000001" fill-opacity="0.8548994" points="381,57 395,57 334,130 366,104 375,96 388,57"/>
+ <polygon fill="#ffffff" fill-opacity="0.34419906" points="97,114 268,85 160,303 242,318 260,257 85,272"/>
+ <polygon fill="#666653" fill-opacity="0.21967214" points="148,169 173,176 174,195 197,174 200,184 195,189"/>
+ <polygon fill="#7e737e" fill-opacity="0.8463348" points="295,177 305,158 309,181 389,214 374,218 373,209"/>
+ <polygon fill="#816f64" fill-opacity="0.9692587" points="244,208 217,223 220,207 231,202"/>
+ <polygon fill="#713e4a" fill-opacity="0.18506294" points="364,226 384,220 391,218 402,222 329,138 358,122"/>
+ <polygon fill="#b9b8be" fill-opacity="0.77304643" points="392,132 360,135 335,112 350,112 343,106 309,89"/>
+ <polygon fill="#40393f" fill-opacity="0.9537648" points="202,172 172,135 178,160 197,184 200,234 212,234"/>
+ <polygon fill="#5b4a4e" fill-opacity="0.9608797" points="31,199 52,252 70,287 37,257 21,204"/>
+ <polygon fill="#383230" fill-opacity="0.35997337" points="44,164 196,247 253,208 297,143 243,209 192,221"/>
+ <polygon fill="#140000" fill-opacity="0.44806647" points="114,303 79,297 97,300 80,296 72,286 54,262"/>
+ <polygon fill="#190015" fill-opacity="0.7849277" points="203,136 228,223 245,219 248,219 203,206"/>
+ <polygon fill="#0f0024" fill-opacity="0.59564584" points="431,292 461,256 395,292 383,290 379,305 371,307"/>
+ <polygon fill="#fef3f5" fill-opacity="0.6233018" points="116,263 107,280 107,260 74,270 40,246 -14,16"/>
+ <polygon fill="#155393" fill-opacity="0.024138689" points="28,223 117,213 134,249 139,172 1,172 34,25"/>
+ <polygon fill="#160011" fill-opacity="0.37984836" points="293,164 357,137 388,130 357,132"/>
+ <polygon fill="#001d16" fill-opacity="0.42008668" points="115,243 129,215 119,215 155,244 122,220 124,248"/>
+ <polygon fill="#040002" fill-opacity="0.21572775" points="255,190 204,235 238,222 247,219 251,238"/>
+ <polygon fill="#2c0008" fill-opacity="0.6874409" points="352,103 352,155 363,180 366,196 328,120 294,101"/>
+ <polygon fill="#010000" fill-opacity="0.73612756" points="101,121 110,120 69,133 88,134 79,142 142,123"/>
+ <polygon fill="#060100" fill-opacity="0.45854682" points="108,256 122,246 129,263 124,220 133,217 116,234"/>
+ <polygon fill="#1b1d13" fill-opacity="0.1618036" points="26,126 105,225 70,252 79,239 114,245 155,260"/>
+ <polygon fill="#4f4b53" fill-opacity="0.9998949" points="231,228 270,186 315,134 322,130 317,123 316,113"/>
+ <polygon fill="#3c2932" fill-opacity="0.9548756" points="173,229 158,213 164,216 189,220 208,231 216,225"/>
+ <polygon fill="#ffffff" fill-opacity="0.93339926" points="144,23 219,211 238,211 228,205 224,205 224,236"/>
+ <polygon fill="#dbc6d7" fill-opacity="0.29144055" points="41,121 69,116 75,164 130,212 186,158 172,137"/>
+ <polygon fill="#ffffff" fill-opacity="0.815715" points="180,173 94,191 144,208 194,234 179,274 168,232"/>
+ <polygon fill="#6a6460" fill-opacity="0.63237536" points="252,249 253,242 254,227 250,227 246,249"/>
+ <polygon fill="#000000" fill-opacity="0.5069843" points="117,211 166,210 196,203 164,205 180,227 172,226"/>
+ <polygon fill="#561c26" fill-opacity="0.8559967" points="109,221 177,221 112,201 112,190 112,192 111,145"/>
+ <polygon fill="#b9bc3d" fill-opacity="0.023671925" points="352,191 421,248 435,257 423,256 421,268 443,111"/>
+ <polygon fill="#1d1120" fill-opacity="0.28272182" points="315,276 327,273 317,269 312,250 353,228 304,261"/>
+ <polygon fill="#02472d" fill-opacity="0.94397324" points="238,114 225,121 216,127 300,105"/>
+ <polygon fill="#4e3b33" fill-opacity="0.68515176" points="26,196 27,225 34,214 38,152 97,123 101,122"/>
+ <polygon fill="#cac6c0" fill-opacity="0.4797448" points="137,208 174,188 174,215 157,216 157,220 76,189"/>
+ <polygon fill="#000000" fill-opacity="0.15461224" points="81,150 61,108 56,158 3,184 36,148 -20,138"/>
+ <polygon fill="#fffffa" fill-opacity="0.73029387" points="100,212 48,172 66,153 70,149 86,139 212,108"/>
+ <polygon fill="#ffffff" fill-opacity="0.6897888" points="271,147 288,112 309,99 330,120 382,100 325,144"/>
+ <polygon fill="#363246" fill-opacity="0.69855803" points="428,146 423,144 443,163 454,152 410,122 369,122"/>
+ <polygon fill="#400910" fill-opacity="0.54764515" points="362,186 360,173 359,155 327,118 324,114 322,49"/>
+ <polygon fill="#73606b" fill-opacity="0.9865925" points="199,128 187,128 191,122 201,120 189,106 182,112"/>
+ <polygon fill="#391132" fill-opacity="0.12299508" points="164,25 176,48 189,123 208,133 194,112 189,81"/>
+ <polygon fill="#110600" fill-opacity="0.46617347" points="189,124 123,198 132,198 123,209 120,235 112,214"/>
+ <polygon fill="#584d5e" fill-opacity="0.94814914" points="468,181 473,212 469,231 466,225 466,196 451,162"/>
+ <polygon fill="#730020" fill-opacity="0.7200314" points="361,121 354,121 314,157 324,139 335,134 332,121"/>
+ <polygon fill="#120000" fill-opacity="0.3231954" points="375,215 454,242 416,226 363,166 354,147 332,129"/>
+ <polygon fill="#000000" fill-opacity="0.23849201" points="424,124 346,124 406,138 418,144 470,172 360,63"/>
+ <polygon fill="#331418" fill-opacity="0.66471446" points="336,93 191,261 328,123"/>
+ <polygon fill="#37242f" fill-opacity="0.8840435" points="164,133 120,133 88,134 111,132 103,122 135,122"/>
+ <polygon fill="#230009" fill-opacity="0.42043173" points="420,276 420,295 448,284 416,284 416,273 351,162"/>
+ <polygon fill="#310813" fill-opacity="0.78600484" points="387,205 389,213 388,225 364,211 372,211 344,141"/>
+ <polygon fill="#714a6b" fill-opacity="0.10787159" points="279,111 317,85 317,66 339,77 398,52 393,101"/>
+ <polygon fill="#332731" fill-opacity="0.9511058" points="177,45 177,65 153,51 160,55 138,47 121,37"/>
+ <polygon fill="#d7d4d7" fill-opacity="0.9795599" points="248,213 240,234 224,220 207,236 205,237 201,250"/>
+ <polygon fill="#162527" fill-opacity="0.18465346" points="234,212 216,237 232,270 230,247 228,221 261,220"/>
+ <polygon fill="#62112a" fill-opacity="0.66740227" points="230,113 220,116 214,127 314,105 312,110 335,92"/>
+ <polygon fill="#040421" fill-opacity="0.25236583" points="161,19 176,49 198,133 221,119 177,129 194,139"/>
+ <polygon fill="#0f0018" fill-opacity="0.5711852" points="335,277 313,256 301,250 296,249 326,290 323,288"/>
+ <polygon fill="#a36e46" fill-opacity="0.99034816" points="462,236 460,242 438,276 436,269"/>
+ <polygon fill="#58504c" fill-opacity="0.49652672" points="83,200 93,206 109,209 98,209 54,187 54,185"/>
+ <polygon fill="#ffffff" fill-opacity="0.4190846" points="199,230 224,248 219,225 223,240 206,223 245,202"/>
+ <polygon fill="#0e1023" fill-opacity="0.60528123" points="360,75 390,76 402,58 390,55 379,39"/>
+ <polygon fill="#c3bac2" fill-opacity="0.9520582" points="176,77 168,49 190,41 157,39 199,41 176,57"/>
+ <polygon fill="#000001" fill-opacity="0.12549716" points="172,152 172,161 185,161 185,146 210,135 195,109"/>
+ <polygon fill="#614f60" fill-opacity="0.9471896" points="140,294 137,301 159,293 180,279"/>
+ <polygon fill="#946e88" fill-opacity="0.84236103" points="303,253 322,271 316,256 302,233"/>
+ <polygon fill="#2b212b" fill-opacity="0.76034975" points="395,52 399,66 398,53 394,72 367,80 367,62"/>
+ <polygon fill="#57525e" fill-opacity="0.85304826" points="305,243 316,256 298,252 295,248 287,208 297,192"/>
+ <polygon fill="#070000" fill-opacity="0.3553022" points="379,214 379,225 357,206 361,209 323,206 308,206"/>
+ <polygon fill="#443444" fill-opacity="0.9422045" points="189,117 207,120 223,126 227,127 217,127 204,127"/>
+ <polygon fill="#ffffff" fill-opacity="0.6572675" points="410,286 423,279 389,242 383,241 350,173"/>
+ <polygon fill="#0d000f" fill-opacity="0.03328824" points="336,180 302,141 386,118 393,265 384,252 360,259"/>
+ <polygon fill="#38323a" fill-opacity="0.9034709" points="337,131 310,152 292,183 289,205 292,221 296,198"/>
+ <polygon fill="#241a24" fill-opacity="0.70365924" points="45,281 96,300 134,304 164,290 192,267 131,290"/>
+ <polygon fill="#020000" fill-opacity="0.11399937" points="179,268 243,256 261,232"/>
+ <polygon fill="#aa0000" fill-opacity="0.5356026" points="333,99 308,109 268,113 263,117 307,96"/>
+ <polygon fill="#beb3b4" fill-opacity="0.2722103" points="393,49 380,61 416,45 322,96 360,71 389,18"/>
+ <polygon fill="#ffffff" fill-opacity="0.9325201" points="82,270 82,279 48,320 149,320 55,343 4,285"/>
+ <polygon fill="#110000" fill-opacity="0.3564309" points="105,188 114,196 110,206 110,203 97,158 85,130"/>
+ <polygon fill="#bdbcbc" fill-opacity="0.23512661" points="221,325 245,310 129,310 127,308 106,291 68,286"/>
+ <polygon fill="#13001c" fill-opacity="0.47501385" points="460,250 461,250 472,230 473,198 475,205 459,163"/>
+ <polygon fill="#786e75" fill-opacity="0.4105227" points="400,61 390,77 374,75 364,86 358,78 355,104"/>
+ <polygon fill="#716567" fill-opacity="0.7870485" points="298,221 299,205 298,198 293,215 293,213 311,150"/>
+ <polygon fill="#382c37" fill-opacity="0.41978043" points="44,190 29,233 31,164 58,156 59,142 48,106"/>
+ <polygon fill="#f8f7ff" fill-opacity="0.26077443" points="294,75 274,119 280,119 278,134 274,139 317,45"/>
+ <polygon fill="#f6f4e9" fill-opacity="0.25187552" points="288,149 293,174 297,184 320,151 308,195 231,200"/>
+ <polygon fill="#81767f" fill-opacity="0.8729899" points="100,126 206,138 191,145 163,174 182,153 140,137"/>
+ <polygon fill="#ffffff" fill-opacity="0.944098" points="349,65 364,65 373,66 381,65 413,6 275,73"/>
+ <polygon fill="#0f000a" fill-opacity="0.5249582" points="397,110 408,110 396,100 389,63 393,45 387,91"/>
+ <polygon fill="#000000" fill-opacity="0.14254886" points="22,227 48,227 39,216 37,208 37,213 33,179"/>
+ <polygon fill="#483b42" fill-opacity="0.7384212" points="184,167 194,106 205,142 188,142 186,144 136,123"/>
+ <polygon fill="#392332" fill-opacity="0.9936306" points="215,114 112,213 126,205 134,200 137,197 159,179"/>
+ <polygon fill="#00382a" fill-opacity="0.20891237" points="297,110 253,120 230,124 215,115 244,111 268,105"/>
+ <polygon fill="#000000" fill-opacity="0.26686394" points="45,260 30,223 44,271 106,294"/>
+ <polygon fill="#c06e8e" fill-opacity="0.38664198" points="320,121 303,137 296,137"/>
+ <polygon fill="#241a1d" fill-opacity="0.77938914" points="199,132 241,116 189,118 175,99"/>
+ <polygon fill="#48000e" fill-opacity="0.23892885" points="126,255 119,245 105,207 167,173 134,201 126,215"/>
+ <polygon fill="#f3faf5" fill-opacity="0.739827" points="163,285 107,292 80,281 64,281 108,215 75,215"/>
+ <polygon fill="#fffaf7" fill-opacity="0.54832494" points="75,314 143,299 134,286 124,291 124,246 148,316"/>
+ <polygon fill="#ad9ba9" fill-opacity="0.99899143" points="334,292 326,279 313,263 336,277 388,307"/>
+ <polygon fill="#28161c" fill-opacity="0.87682194" points="72,291 54,276 44,263 68,279 52,261 83,284"/>
+ <polygon fill="#f1d5e9" fill-opacity="0.2637124" points="106,268 126,242 117,226 135,212 133,242"/>
+ <polygon fill="#806869" fill-opacity="0.4724759" points="72,249 62,253 51,265 51,257 32,225 52,265"/>
+ <polygon fill="#000000" fill-opacity="0.30943573" points="218,235 221,190 211,167 211,161 215,176 203,161"/>
+ <polygon fill="#833e4a" fill-opacity="0.2761011" points="129,220 139,220 65,143"/>
+ <polygon fill="#000000" fill-opacity="0.18047512" points="196,189 177,159 173,146 188,146 209,129 182,105"/>
+ <polygon fill="#ffffff" fill-opacity="0.92988807" points="372,105 418,98 443,116 443,140 410,126"/>
+ <polygon fill="#000006" fill-opacity="0.49603248" points="350,122 350,140 382,123 420,128 405,131 378,122"/>
+ <polygon fill="#887277" fill-opacity="0.19442266" points="171,280 186,244 141,272 132,237 147,251 228,245"/>
+ <polygon fill="#ebe8ff" fill-opacity="0.14557457" points="107,195 190,168 215,225 137,198 171,161 107,114"/>
+ <polygon fill="#000108" fill-opacity="0.122086644" points="397,289 373,271 373,294 373,290 334,289 361,302"/>
+ <polygon fill="#0b0015" fill-opacity="0.28793818" points="293,156 234,220 254,233 249,227 234,214 300,144"/>
+ <polygon fill="#ffffff" fill-opacity="0.8132601" points="217,275 203,247 201,247 198,256 198,257 87,211"/>
+ <polygon fill="#392b25" fill-opacity="0.51480216" points="143,287 165,276 190,250 217,218 195,259 174,286"/>
+ <polygon fill="#a5a096" fill-opacity="0.20551181" points="229,147 68,232 45,243 56,232 88,219 132,179"/>
+ <polygon fill="#7d5174" fill-opacity="0.12644851" points="-11,109 101,235 89,236 95,219 46,182"/>
+ <polygon fill="#725c6a" fill-opacity="0.9592677" points="348,285 414,297 398,289 382,290 405,299 382,304"/>
+ <polygon fill="#3c2c37" fill-opacity="0.62870127" points="218,188 229,207 218,220 185,221 190,229 205,236"/>
+ <polygon fill="#676168" fill-opacity="0.5460236" points="201,225 194,216 242,215 235,224 250,214 191,176"/>
+ <polygon fill="#ffffff" fill-opacity="0.43507046" points="151,5 431,79 341,55 424,22 424,53 355,59"/>
+ <polygon fill="#c03f75" fill-opacity="0.0036358833" points="272,163 344,126 367,182 341,139 228,50 102,50"/>
+ <polygon fill="#f1deff" fill-opacity="0.18751591" points="183,115 227,117 244,129 38,83"/>
+ <polygon fill="#100008" fill-opacity="0.8226863" points="172,60 184,99 205,177 203,140 179,58 159,42"/>
+ <polygon fill="#5a3c54" fill-opacity="0.6125653" points="355,61 355,74 285,74 314,74 314,71"/>
+ <polygon fill="#000000" fill-opacity="0.38046247" points="298,258 335,292 351,297 360,302 368,302 386,302"/>
+ <polygon fill="#312f38" fill-opacity="0.91807586" points="33,175 55,149 39,153 47,167 46,159 31,208"/>
+ <polygon fill="#ffffff" fill-opacity="0.20818073" points="85,295 94,252 5,266 9,275 48,269 15,233"/>
+ <polygon fill="#000300" fill-opacity="0.15616143" points="140,134 102,133 99,117 109,150 111,123"/>
+ <polygon fill="#7c7076" fill-opacity="0.89000213" points="383,212 368,182 370,175 361,130"/>
+ <polygon fill="#0f1114" fill-opacity="0.30567753" points="87,286 118,197 111,261 107,276 109,290 112,204"/>
+ <polygon fill="#0c0009" fill-opacity="0.4024399" points="398,302 399,300 391,256 400,292 400,286 419,294"/>
+ <polygon fill="#686164" fill-opacity="0.52159" points="101,247 99,243 78,266 113,220 95,211 114,203"/>
+ <polygon fill="#beb963" fill-opacity="0.19100094" points="228,212 164,273 151,240 149,224 160,287"/>
+ <polygon fill="#eeeff0" fill-opacity="0.67504007" points="393,221 418,255 425,151 393,138 361,164 368,180"/>
+ <polygon fill="#69920c" fill-opacity="0.023767114" points="466,284 316,270 303,261 290,231 290,110 258,106"/>
+ <polygon fill="#f1fff1" fill-opacity="0.3525548" points="367,273 347,280 363,290 336,287 363,294 374,301"/>
+ <polygon fill="#00000e" fill-opacity="0.19266748" points="268,169 283,177 265,176 247,210 283,173 316,133"/>
+ <polygon fill="#000000" fill-opacity="0.98980457" points="349,198 360,208 342,192"/>
+ <polygon fill="#005912" fill-opacity="0.026563942" points="376,220 454,156 473,190 399,209 359,226 359,221"/>
+ <polygon fill="#000b00" fill-opacity="0.03663647" points="203,157 232,224 171,195"/>
+ <polygon fill="#301f25" fill-opacity="0.92500216" points="24,33 141,42 202,42 208,44 208,48"/>
+ <polygon fill="#fffffd" fill-opacity="0.39267176" points="325,203 368,222 375,213 364,192"/>
+ <polygon fill="#000014" fill-opacity="0.44927877" points="380,208 395,229 386,204 412,175 407,183 418,167"/>
+ <polygon fill="#ffeff8" fill-opacity="0.16126198" points="386,75 399,91 388,59 456,178 300,116 424,180"/>
+ <polygon fill="#ffffff" fill-opacity="0.18618345" points="422,96 423,130 389,120 365,92 365,103 286,86"/>
+ <polygon fill="#710e1e" fill-opacity="0.73302037" points="333,81 334,114 320,130 311,130 328,77 312,109"/>
+ <polygon fill="#ffffe6" fill-opacity="0.10063845" points="209,198 171,222 211,222 227,184 235,227 232,204"/>
+ <polygon fill="#000000" fill-opacity="0.1064657" points="352,212 298,204 298,236 313,284 286,212 330,204"/>
+ <polygon fill="#361b0b" fill-opacity="0.09098631" points="52,204 116,248 152,218 190,242 144,221 196,217"/>
+ <polygon fill="#815836" fill-opacity="0.4095829" points="105,213 111,221 111,205 116,209 134,207 110,196"/>
+ <polygon fill="#a49baa" fill-opacity="0.9933632" points="390,298 400,298 391,296 391,293 414,288 417,288"/>
+ <polygon fill="#ffffff" fill-opacity="0.12274307" points="180,104 208,114 233,119 235,107 216,122 208,125"/>
+ <polygon fill="#fffff3" fill-opacity="0.10039967" points="196,6 219,81 156,97 138,125 181,145 211,109"/>
+ <polygon fill="#040000" fill-opacity="0.09586203" points="110,196 112,192 110,157 106,178 83,165 10,69"/>
+ <polygon fill="#070005" fill-opacity="0.28977436" points="82,142 82,138 65,130 92,140"/>
+ <polygon fill="#070300" fill-opacity="0.42726368" points="316,77 371,73 372,115 372,66 356,63 345,60"/>
+ <polygon fill="#001b15" fill-opacity="0.37882942" points="350,62 336,74 324,68 332,87 320,85 317,68"/>
+ <polygon fill="#000000" fill-opacity="0.2929116" points="255,253 243,251 201,251 180,280 201,231 196,246"/>
+ <polygon fill="#ffffff" fill-opacity="0.72296137" points="85,111 151,111 111,122 94,124 17,106 -4,218"/>
+ <polygon fill="#000000" fill-opacity="0.29602367" points="126,222 157,246 182,259"/>
+ <polygon fill="#160217" fill-opacity="0.25322473" points="430,251 448,273 426,251"/>
+ <polygon fill="#170000" fill-opacity="0.19629735" points="51,101 51,130 40,133 51,153 36,197 33,270"/>
+ <polygon fill="#fefffc" fill-opacity="0.07467687" points="36,89 273,17 231,38 189,91 105,148 121,71"/>
+ <polygon fill="#a79886" fill-opacity="0.5966206" points="426,286 458,255 458,238"/>
+ <polygon fill="#070900" fill-opacity="0.04791689" points="293,215 308,263 260,191 245,197 241,217 251,208"/>
+ <polygon fill="#000013" fill-opacity="0.3470294" points="212,259 186,261 163,292 191,269 191,258 165,253"/>
+ <polygon fill="#a79c98" fill-opacity="0.7738004" points="153,250 146,253 174,254 183,261"/>
+ <polygon fill="#ffffff" fill-opacity="0.96560556" points="12,0 77,111 40,166 28,191 28,225 -107,243"/>
+ <polygon fill="#ffffff" fill-opacity="0.9060166" points="482,345 335,355 422,292 470,267"/>
+ <polygon fill="#ffffff" fill-opacity="0.6852084" points="154,1 205,-12 205,40 111,42 113,81 18,29"/>
+ <polygon fill="#ffffff" fill-opacity="0.9196902" points="109,-10 42,47 119,51 141,40 192,41 159,-12"/>
+ <polygon fill="#090000" fill-opacity="0.35413742" points="382,211 353,218 336,223 287,233 345,218"/>
+ <polygon fill="#fffffd" fill-opacity="0.89225096" points="190,220 209,221 197,221 197,211 149,211"/>
+ <polygon fill="#1eb921" fill-opacity="0.00737983" points="100,115 176,137 201,107 231,237 139,219 218,215"/>
+ <polygon fill="#160b0d" fill-opacity="0.5691087" points="360,298 372,288 380,282"/>
+ <polygon fill="#040000" fill-opacity="0.067009985" points="432,249 429,261 417,242 384,213 361,222"/>
+ <polygon fill="#0f0000" fill-opacity="0.15077084" points="445,197 436,197 405,205 398,205 447,203"/>
+ <polygon fill="#5b424b" fill-opacity="0.24237269" points="38,249 56,280 89,257 85,255 74,273"/>
+ <polygon fill="#ffffff" fill-opacity="0.10493952" points="362,89 345,120 368,120 345,141 405,198 358,145"/>
+ <polygon fill="#e3dde3" fill-opacity="0.8257497" points="394,224 378,229 392,238 387,236 382,224 416,180"/>
+ <polygon fill="#6a6711" fill-opacity="0.0232445" points="87,235 93,206 152,235"/>
+ <polygon fill="#000000" fill-opacity="0.15378791" points="133,177 133,189 137,177 155,124"/>
+ <polygon fill="#000100" fill-opacity="0.0964728" points="169,255 152,209 145,222 158,226 167,251 128,251"/>
+ <polygon fill="#c5001d" fill-opacity="0.27850342" points="303,137 323,131 345,117 321,108 322,108 316,111"/>
+ <polygon fill="#deffff" fill-opacity="0.29440624" points="345,128 341,103 341,109 365,121"/>
+ <polygon fill="#bdafb9" fill-opacity="0.6811961" points="458,215 466,220 464,232 460,243 451,242 458,237"/>
+ <polygon fill="#ffffff" fill-opacity="0.4300217" points="301,241 306,257 303,248 311,259 317,267 340,258"/>
+ </g>
+</svg>
Property changes on: trunk/polycasso/htdocs/polybicycle.svg
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-31 07:14:59
|
Revision: 210
http://polycasso.svn.sourceforge.net/polycasso/?rev=210&view=rev
Author: dbrosius
Date: 2009-12-31 07:14:50 +0000 (Thu, 31 Dec 2009)
Log Message:
-----------
rotate the sample
Modified Paths:
--------------
trunk/polycasso/htdocs/index.shtml
Modified: trunk/polycasso/htdocs/index.shtml
===================================================================
--- trunk/polycasso/htdocs/index.shtml 2009-12-28 06:40:49 UTC (rev 209)
+++ trunk/polycasso/htdocs/index.shtml 2009-12-31 07:14:50 UTC (rev 210)
@@ -4,9 +4,40 @@
<meta name="Keywords" content="polygon cubism image generation">
<script src="mbfg.js">
</script>
+ <script type="text/javascript">
+ var svgs = new Array();
+ svgs[0] = { url: 'polypig.svg',
+ width: 235,
+ height: 176
+ };
+ svgs[1] = { url: 'polycar.svg',
+ width: 500,
+ height: 375
+ };
+ svgs[2] = { url: 'polylamp.svg',
+ width: 299,
+ height: 400
+ };
+ svgs[3] = { url: 'polybicycle.svg',
+ width: 500,
+ height: 333
+ };
+
+ function setSample()
+ {
+ var sample = document.getElementById("sample");
+ if (sample != null)
+ {
+ var idx = Math.floor(Math.random()*svgs.length);
+ sample.src=svgs[idx].url;
+ sample.width=svgs[idx].width;
+ sample.height=svgs[idx].height;
+ }
+ }
+ </script>
<link rel="stylesheet" type="text/css" href="mbfg.css" />
</head>
- <body background>
+ <body background onload="setSample()">
<div style="position:absolute;top:0;left:0;width:256;height:65535;z-index:1;background-image:url(blend.jpg);">
</div>
<div style="position:absolute;top:20;left:20;z-index:3;">
@@ -30,7 +61,7 @@
Good artwork takes time! -- and so does this.</p>
<p>-- Dave Brosius</p>
- <iframe src="polypig.svg" width="235px" height="176px"/>
+ <iframe id="sample" name="sample" src="polypig.svg" width="235px" height="176px"/>
<p>This pig is an svg output of polycasso</p>
</div>
<script type="text/javascript">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-28 06:41:02
|
Revision: 209
http://polycasso.svn.sourceforge.net/polycasso/?rev=209&view=rev
Author: dbrosius
Date: 2009-12-28 06:40:49 +0000 (Mon, 28 Dec 2009)
Log Message:
-----------
rename index.html to .shtml for ssi
Added Paths:
-----------
trunk/polycasso/htdocs/index.shtml
Removed Paths:
-------------
trunk/polycasso/htdocs/index.html
Deleted: trunk/polycasso/htdocs/index.html
===================================================================
--- trunk/polycasso/htdocs/index.html 2009-12-28 06:39:56 UTC (rev 208)
+++ trunk/polycasso/htdocs/index.html 2009-12-28 06:40:49 UTC (rev 209)
@@ -1,47 +0,0 @@
-<html>
- <head>
- <title>Polycasso - A Cubism Artwork Generation Tool</title>
- <meta name="Keywords" content="polygon cubism image generation">
- <script src="mbfg.js">
- </script>
- <link rel="stylesheet" type="text/css" href="mbfg.css" />
- </head>
- <body background>
- <div style="position:absolute;top:0;left:0;width:256;height:65535;z-index:1;background-image:url(blend.jpg);">
- </div>
- <div style="position:absolute;top:20;left:20;z-index:3;">
- <h1><img style="position:relative;top:10;" src="polycasso.png"/> Polycasso</h1>
- <hr/>
- <a href="http://www.sourceforge.net/projects/polycasso">Project Page</a>
- <img src="vbar.gif" height="12"/>
- <a href="javadoc/index.html">JavaDoc</a>
- <img src="vbar.gif" height="12"/>
- <a href="jnlp/polycasso.jnlp">Web Start</a>
- <!--#include virtual="mbfg_menu.shtml" -->
- <hr/>
-
- <p>Thanks for your interest in Polycasso.</p>
-
- <p>Polycasso is a webstart application that attempts to create cubism style artwork through the layering of transparent polygons via a training
- feedback loop. Produces increasingly realistic work though hill climbing. This application was inspired by work
- done by Roger Alsing.</p>
-
- <p>Launch the application, choose 'Start Generating Image', and let it sit for several hours, even a day.
- Good artwork takes time! -- and so does this.</p>
-
- <p>-- Dave Brosius</p>
- <iframe src="polypig.svg" width="235px" height="176px"/>
- <p>This pig is an svg output of polycasso</p>
- </div>
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- try {
- var pageTracker = _gat._getTracker("UA-249537-9");
- pageTracker._trackPageview();
- } catch(err) {}
- </script>
- </body>
-</html>
Copied: trunk/polycasso/htdocs/index.shtml (from rev 208, trunk/polycasso/htdocs/index.html)
===================================================================
--- trunk/polycasso/htdocs/index.shtml (rev 0)
+++ trunk/polycasso/htdocs/index.shtml 2009-12-28 06:40:49 UTC (rev 209)
@@ -0,0 +1,47 @@
+<html>
+ <head>
+ <title>Polycasso - A Cubism Artwork Generation Tool</title>
+ <meta name="Keywords" content="polygon cubism image generation">
+ <script src="mbfg.js">
+ </script>
+ <link rel="stylesheet" type="text/css" href="mbfg.css" />
+ </head>
+ <body background>
+ <div style="position:absolute;top:0;left:0;width:256;height:65535;z-index:1;background-image:url(blend.jpg);">
+ </div>
+ <div style="position:absolute;top:20;left:20;z-index:3;">
+ <h1><img style="position:relative;top:10;" src="polycasso.png"/> Polycasso</h1>
+ <hr/>
+ <a href="http://www.sourceforge.net/projects/polycasso">Project Page</a>
+ <img src="vbar.gif" height="12"/>
+ <a href="javadoc/index.html">JavaDoc</a>
+ <img src="vbar.gif" height="12"/>
+ <a href="jnlp/polycasso.jnlp">Web Start</a>
+ <!--#include virtual="mbfg_menu.shtml" -->
+ <hr/>
+
+ <p>Thanks for your interest in Polycasso.</p>
+
+ <p>Polycasso is a webstart application that attempts to create cubism style artwork through the layering of transparent polygons via a training
+ feedback loop. Produces increasingly realistic work though hill climbing. This application was inspired by work
+ done by Roger Alsing.</p>
+
+ <p>Launch the application, choose 'Start Generating Image', and let it sit for several hours, even a day.
+ Good artwork takes time! -- and so does this.</p>
+
+ <p>-- Dave Brosius</p>
+ <iframe src="polypig.svg" width="235px" height="176px"/>
+ <p>This pig is an svg output of polycasso</p>
+ </div>
+ <script type="text/javascript">
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+ <script type="text/javascript">
+ try {
+ var pageTracker = _gat._getTracker("UA-249537-9");
+ pageTracker._trackPageview();
+ } catch(err) {}
+ </script>
+ </body>
+</html>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-28 06:40:06
|
Revision: 208
http://polycasso.svn.sourceforge.net/polycasso/?rev=208&view=rev
Author: dbrosius
Date: 2009-12-28 06:39:56 +0000 (Mon, 28 Dec 2009)
Log Message:
-----------
add mbfg other projects menu
Modified Paths:
--------------
trunk/polycasso/htdocs/index.html
Modified: trunk/polycasso/htdocs/index.html
===================================================================
--- trunk/polycasso/htdocs/index.html 2009-12-28 06:38:55 UTC (rev 207)
+++ trunk/polycasso/htdocs/index.html 2009-12-28 06:39:56 UTC (rev 208)
@@ -2,6 +2,9 @@
<head>
<title>Polycasso - A Cubism Artwork Generation Tool</title>
<meta name="Keywords" content="polygon cubism image generation">
+ <script src="mbfg.js">
+ </script>
+ <link rel="stylesheet" type="text/css" href="mbfg.css" />
</head>
<body background>
<div style="position:absolute;top:0;left:0;width:256;height:65535;z-index:1;background-image:url(blend.jpg);">
@@ -14,6 +17,7 @@
<a href="javadoc/index.html">JavaDoc</a>
<img src="vbar.gif" height="12"/>
<a href="jnlp/polycasso.jnlp">Web Start</a>
+ <!--#include virtual="mbfg_menu.shtml" -->
<hr/>
<p>Thanks for your interest in Polycasso.</p>
@@ -27,6 +31,7 @@
<p>-- Dave Brosius</p>
<iframe src="polypig.svg" width="235px" height="176px"/>
+ <p>This pig is an svg output of polycasso</p>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-28 06:39:02
|
Revision: 207
http://polycasso.svn.sourceforge.net/polycasso/?rev=207&view=rev
Author: dbrosius
Date: 2009-12-28 06:38:55 +0000 (Mon, 28 Dec 2009)
Log Message:
-----------
add files for mbfg projects menu
Added Paths:
-----------
trunk/polycasso/htdocs/mbfg.css
trunk/polycasso/htdocs/mbfg.js
trunk/polycasso/htdocs/mbfg_menu.shtml
Added: trunk/polycasso/htdocs/mbfg.css
===================================================================
--- trunk/polycasso/htdocs/mbfg.css (rev 0)
+++ trunk/polycasso/htdocs/mbfg.css 2009-12-28 06:38:55 UTC (rev 207)
@@ -0,0 +1,32 @@
+#mbfg_div {
+ float:right;
+}
+
+#mbfg_menu {
+ margin-right: 20px;
+}
+
+#mbfg_projects {
+ position: absolute;
+ display: none;
+ z-order: 2;
+}
+
+#mbfg_projects ul li {
+ list-style-type: none;
+}
+
+#mbfg_projects ul li a {
+ display:block;
+ border-color: #404040;
+ border-width: 1px;
+ border-style: solid;
+ padding: 6px 40px 6px 40px;
+ background-color: #DDDDFF;
+ margin-right: 20px;
+ text-decoration: none;
+}
+
+#mbfg_projects ul li a:hover {
+ background-color: #FFDDDD;
+}
Property changes on: trunk/polycasso/htdocs/mbfg.css
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: trunk/polycasso/htdocs/mbfg.js
===================================================================
--- trunk/polycasso/htdocs/mbfg.js (rev 0)
+++ trunk/polycasso/htdocs/mbfg.js 2009-12-28 06:38:55 UTC (rev 207)
@@ -0,0 +1,9 @@
+
+function toggleDiv(divId)
+{
+ var dv = document.getElementById(divId);
+ if (dv.style.display == 'block')
+ dv.style.display = 'none';
+ else
+ dv.style.display = 'block';
+}
\ No newline at end of file
Property changes on: trunk/polycasso/htdocs/mbfg.js
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: trunk/polycasso/htdocs/mbfg_menu.shtml
===================================================================
--- trunk/polycasso/htdocs/mbfg_menu.shtml (rev 0)
+++ trunk/polycasso/htdocs/mbfg_menu.shtml 2009-12-28 06:38:55 UTC (rev 207)
@@ -0,0 +1,17 @@
+ <div id="mbfg_div" onMouseover="javascript:toggleDiv('mbfg_projects')" onMouseout="javascript:toggleDiv('mbfg_projects')">
+ <a id="mbfg_menu" href="#" >Other MeBigFatGuy Projects</a>
+ <div id="mbfg_projects">
+ <ul>
+ <li><a href="http://beansource.sf.net">Beansource</a></li>
+ <li><a href="http://fb-contrib.sf.net">FB-Contrib</a></li>
+ <li><a href="http://mongobrowser.sf.net">MongoBrowser</a></li>
+ <li><a href="http://mysfstats.sf.net">MySFStats</a></li>
+ <li><a href="http://patchanim.sf.net">PatchAnim</a></li>
+ <li><a href="http://pixelle.sf.net">Pixelle</a></li>
+ <li><a href="http://polycasso.sf.net">Polycasso</a></li>
+ <li><a href="http://schemalizer.sf.net">Schemalizer</a></li>
+ <li><a href="http://tomailer.sf.net">ToMailer</a></li>
+ <li><a href="http://www.heartofgoldfarm.com">Heart of Gold Farm</a></li>
+ </ul>
+ </div>
+ </div>
Property changes on: trunk/polycasso/htdocs/mbfg_menu.shtml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-25 22:39:54
|
Revision: 206
http://polycasso.svn.sourceforge.net/polycasso/?rev=206&view=rev
Author: dbrosius
Date: 2009-12-25 22:39:46 +0000 (Fri, 25 Dec 2009)
Log Message:
-----------
change sample
Modified Paths:
--------------
trunk/polycasso/htdocs/index.html
Modified: trunk/polycasso/htdocs/index.html
===================================================================
--- trunk/polycasso/htdocs/index.html 2009-12-25 22:39:34 UTC (rev 205)
+++ trunk/polycasso/htdocs/index.html 2009-12-25 22:39:46 UTC (rev 206)
@@ -26,7 +26,7 @@
Good artwork takes time! -- and so does this.</p>
<p>-- Dave Brosius</p>
- <iframe src="polycar.svg" width="500px" height="375px"/>
+ <iframe src="polypig.svg" width="235px" height="176px"/>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-25 22:39:41
|
Revision: 205
http://polycasso.svn.sourceforge.net/polycasso/?rev=205&view=rev
Author: dbrosius
Date: 2009-12-25 22:39:34 +0000 (Fri, 25 Dec 2009)
Log Message:
-----------
sample
Added Paths:
-----------
trunk/polycasso/htdocs/polypig.svg
Added: trunk/polycasso/htdocs/polypig.svg
===================================================================
--- trunk/polycasso/htdocs/polypig.svg (rev 0)
+++ trunk/polycasso/htdocs/polypig.svg 2009-12-25 22:39:34 UTC (rev 205)
@@ -0,0 +1,106 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="235px" height="176px" version="1.2">
+ <!-- generated by Polycasso (http://polycasso.sourceforge.net) -->
+ <rect x="0" y="0" width="235px" height="176px" fill="black"/>
+ <g comp-op="src-over">
+ <polygon fill="#ffffe4" fill-opacity="0.94661516" points="235,0 235,0 111,-21 13,-21 -69,10 194,152 242,208"/>
+ <polygon fill="#ffffff" fill-opacity="0.98813623" points="0,0 0,176 258,176 235,0"/>
+ <polygon fill="#3d491b" fill-opacity="0.76316726" points="86,53 93,48 91,48 80,96 80,46 80,71 75,62 78,78"/>
+ <polygon fill="#b50a2c" fill-opacity="0.37201262" points="18,57 33,57 50,63 22,59 63,81 81,107 94,94 38,63"/>
+ <polygon fill="#fcff00" fill-opacity="0.23201036" points="45,176 54,87 210,92 210,145 129,145 165,107 56,163 60,175"/>
+ <polygon fill="#9e3700" fill-opacity="0.57969505" points="170,117 158,152 209,145 212,106 199,84 193,70 142,78 100,66"/>
+ <polygon fill="#13222a" fill-opacity="0.9645533" points="209,136 204,138 184,142 188,149 177,128 163,133 157,164 203,167"/>
+ <polygon fill="#865724" fill-opacity="0.8351771" points="17,55 -72,119 -90,135 -113,204 215,187 77,90"/>
+ <polygon fill="#ed9949" fill-opacity="0.6961534" points="-9,85 -18,63 35,53 88,50 99,91 119,96 150,139 117,142"/>
+ <polygon fill="#2a0207" fill-opacity="0.9808799" points="160,76 175,103 183,113 192,124 205,94 176,61 190,80 216,67"/>
+ <polygon fill="#5b5652" fill-opacity="0.8826228" points="60,69 60,78 62,78 79,128 51,101 49,99 47,83 54,69"/>
+ <polygon fill="#5b2f17" fill-opacity="0.6421735" points="75,71 68,71 68,79 56,78 67,149 190,170 200,176 204,169"/>
+ <polygon fill="#ffc785" fill-opacity="0.88604504" points="167,90 167,118 156,118 165,88 122,94 146,88 120,61 114,57"/>
+ <polygon fill="#864a03" fill-opacity="0.4384458" points="213,56 146,107 45,124 60,177 104,191 188,199 207,164 207,34"/>
+ <polygon fill="#3f2400" fill-opacity="0.30881488" points="111,147 204,171 207,162 210,118 156,78 208,139 185,131 -8,82"/>
+ <polygon fill="#001122" fill-opacity="0.09700519" points="187,169 220,155 167,166 144,152 168,156 152,128 106,85 53,169"/>
+ <polygon fill="#f1b373" fill-opacity="0.5451079" points="10,65 55,66 47,88 43,68 56,70 46,48 17,53 -46,83"/>
+ <polygon fill="#280e04" fill-opacity="0.14302415" points="112,28 111,59 72,163 39,117 41,131 42,120 19,118 23,108"/>
+ <polygon fill="#000000" fill-opacity="0.9654928" points="118,132 109,122 115,116 125,113 130,113 130,125 126,126 130,126"/>
+ <polygon fill="#ffbd29" fill-opacity="0.43721008" points="33,51 135,92 157,111 202,53 194,81 204,68 129,75 68,49"/>
+ <polygon fill="#67321a" fill-opacity="0.98608154" points="138,45 114,79 133,42 137,31 145,26 149,28 143,39 145,36"/>
+ <polygon fill="#ffffd3" fill-opacity="0.2746941" points="87,122 139,112 171,134 171,121 124,68 158,26 158,18 98,23"/>
+ <polygon fill="#73481b" fill-opacity="0.88877594" points="81,92 97,103 95,104 66,105 97,140 69,122 137,131 122,138"/>
+ <polygon fill="#e00310" fill-opacity="0.074255824" points="99,38 101,100 106,45 116,74 112,77 77,60 135,33 114,8"/>
+ <polygon fill="#ff7b1c" fill-opacity="0.11297339" points="136,58 155,118 124,118 136,130 161,162 208,46 173,71 51,130"/>
+ <polygon fill="#55020e" fill-opacity="0.1865521" points="86,62 119,70 90,59 110,57 110,42 131,14 121,23 134,23"/>
+ <polygon fill="#ffffff" fill-opacity="0.9670243" points="220,89 203,7 143,43 204,88 205,94 221,88 221,86"/>
+ <polygon fill="#000000" fill-opacity="0.28497404" points="200,131 180,131 167,147 192,142 213,121 191,73 191,95 166,96"/>
+ <polygon fill="#8b5213" fill-opacity="0.39547342" points="191,205 180,161 199,161 199,155 177,152 82,158 102,158 109,152"/>
+ <polygon fill="#8f5720" fill-opacity="0.4146511" points="192,88 196,104 202,120 198,82 210,100 211,120 201,118 177,70"/>
+ <polygon fill="#ffab69" fill-opacity="0.16817039" points="150,166 160,122 189,117 163,135 161,144 161,162 165,169 175,189"/>
+ <polygon fill="#000001" fill-opacity="0.40515202" points="72,67 56,75 52,75 49,89 84,101 118,115 103,111 92,97"/>
+ <polygon fill="#00cbb5" fill-opacity="0.03126383" points="61,56 56,124 128,138 109,159 103,159 104,194 75,204 23,93"/>
+ <polygon fill="#907e63" fill-opacity="0.65738034" points="66,127 66,144 48,152 2,165 -4,146 8,87 -23,88 63,98"/>
+ <polygon fill="#2d1600" fill-opacity="0.6117949" points="73,64 93,97 68,117 82,118 79,118 70,124 60,111 55,98"/>
+ <polygon fill="#92ab74" fill-opacity="0.09391838" points="191,104 176,98 176,71 160,85 160,66 198,77 198,87 190,78"/>
+ <polygon fill="#fab15c" fill-opacity="0.23364061" points="-17,74 42,78 31,93 35,101 109,54 110,69 97,49 11,53"/>
+ <polygon fill="#1a0e00" fill-opacity="0.4697116" points="184,72 196,80 203,96 189,96 176,144 201,144 214,131 154,79"/>
+ <polygon fill="#ffdc7c" fill-opacity="0.37369937" points="89,89 126,116 137,130 158,130 195,122 195,133 169,92 163,72"/>
+ <polygon fill="#ffce5d" fill-opacity="0.18348587" points="178,64 200,109 186,142 205,151 196,145 199,139 208,111 208,88"/>
+ <polygon fill="#451a04" fill-opacity="0.10347533" points="19,174 15,200 61,132 68,63 74,69 81,69 88,75 217,174"/>
+ <polygon fill="#ffcd94" fill-opacity="0.28630936" points="134,124 133,130 115,131"/>
+ <polygon fill="#ac6200" fill-opacity="0.3148266" points="130,106 157,142 193,120 192,121 160,126 138,117 150,130 131,137"/>
+ <polygon fill="#ffffe6" fill-opacity="0.29993653" points="125,89 108,80 111,4 91,88 109,110 160,114 160,51 20,46"/>
+ <polygon fill="#68512a" fill-opacity="0.24841475" points="160,74 179,71 164,91 164,96 184,95 206,100 213,104 202,87"/>
+ <polygon fill="#fffff5" fill-opacity="0.359244" points="133,57 155,85 172,74 158,74 189,65 208,98 207,84 192,77"/>
+ <polygon fill="#eb9535" fill-opacity="0.13747519" points="84,103 103,117 110,107 110,123 127,115 131,132 150,132 129,99"/>
+ <polygon fill="#ffd058" fill-opacity="0.20989007" points="88,67 168,75 147,111 164,128 197,137 171,92 153,95 88,86"/>
+ <polygon fill="#65470e" fill-opacity="0.61786777" points="88,56 89,55 78,54 78,55 89,59"/>
+ <polygon fill="#91581f" fill-opacity="0.4893338" points="202,134 207,142 205,142 191,133 168,136 168,127 199,118 211,110"/>
+ <polygon fill="#694812" fill-opacity="0.98671526" points="122,70 125,61 123,63 120,69 118,71 118,73 121,76 132,90"/>
+ <polygon fill="#fcc150" fill-opacity="0.12020326" points="33,49 20,52 9,66 139,83 139,74 113,122 89,95 84,82"/>
+ <polygon fill="#ffffc4" fill-opacity="0.2231676" points="93,44 82,61 82,76 103,73 67,40 68,40 67,76 51,69"/>
+ <polygon fill="#fbb547" fill-opacity="0.09901756" points="87,86 88,119 107,119 120,133 98,130 91,126 105,118 109,7"/>
+ <polygon fill="#35fbfc" fill-opacity="0.016275644" points="125,105 154,130 157,139 170,141 148,142 145,163 174,166 189,161"/>
+ <polygon fill="#0e16a4" fill-opacity="0.18896347" points="106,22 110,19 110,26 117,17 151,26 125,66 140,84 85,58"/>
+ <polygon fill="#ffffff" fill-opacity="0.2570287" points="58,67 66,65 66,80 63,87 72,80 68,83"/>
+ <polygon fill="#ff881f" fill-opacity="0.24421042" points="1,57 -25,102 4,103 5,107 9,108 61,109 60,86 61,47"/>
+ <polygon fill="#1d0000" fill-opacity="0.101085424" points="56,115 52,83 52,85 71,64 88,76 101,79 92,94 107,106"/>
+ <polygon fill="#ceffa9" fill-opacity="0.08802718" points="7,114 43,122 67,142 77,122 91,101 70,113 68,64 -27,132"/>
+ <polygon fill="#3d1a23" fill-opacity="0.12575185" points="146,38 143,18 117,6 127,11 114,11 103,32 108,21 121,38"/>
+ <polygon fill="#3e1000" fill-opacity="0.5456891" points="141,23 122,65 120,68 116,79 127,62 143,39 147,29 147,23"/>
+ <polygon fill="#ed932e" fill-opacity="0.28251684" points="173,97 168,78 170,71 131,88 131,93 122,75 125,61 130,86"/>
+ <polygon fill="#150906" fill-opacity="0.04361105" points="110,58 81,76 123,59 147,98 119,78 140,68 148,81 130,98"/>
+ <polygon fill="#c5c4c9" fill-opacity="0.038118184" points="53,66 39,110 116,121 116,143 113,131 143,124 145,161 112,159"/>
+ <polygon fill="#da8526" fill-opacity="0.13628393" points="80,119 69,122 75,137 58,142 38,153 72,150 61,128 58,66"/>
+ <polygon fill="#d5b5b2" fill-opacity="0.06887561" points="146,155 161,168 168,118 151,130 125,130 88,123 87,140 85,154"/>
+ <polygon fill="#ff8d00" fill-opacity="0.08755702" points="128,100 106,81 61,58 101,99 118,106 116,125 91,125 0,114"/>
+ <polygon fill="#2d64d6" fill-opacity="0.028633416" points="-46,184 89,110 10,100 -21,88 -15,79 -16,63 3,59 9,57"/>
+ <polygon fill="#f8e0c3" fill-opacity="0.5474231" points="121,70 171,73 139,71 127,63 139,46 147,35 143,42 149,30"/>
+ <polygon fill="#e6c870" fill-opacity="0.4963783" points="121,66 121,78 148,85 141,88 135,80 131,90 128,93 134,69"/>
+ <polygon fill="#fffc8c" fill-opacity="0.15966201" points="196,137 201,140 223,181 205,168 236,225 179,205 180,188 223,137"/>
+ <polygon fill="#dadff0" fill-opacity="0.8720237" points="131,24 131,11 137,30 127,53 117,53 113,34 129,42 125,46"/>
+ <polygon fill="#000000" fill-opacity="0.1293838" points="67,132 50,154 52,144 62,143 91,80 66,101 66,81 53,81"/>
+ <polygon fill="#002666" fill-opacity="0.099101245" points="51,72 63,61 61,69 61,101 47,100 41,115 40,112 57,161"/>
+ <polygon fill="#a47940" fill-opacity="0.30774486" points="76,138 54,157 69,155 82,156 88,166 111,260 59,174 43,144"/>
+ <polygon fill="#ffc06f" fill-opacity="0.12294263" points="93,120 99,136 79,130 81,103 93,103 106,121 80,107 74,113"/>
+ <polygon fill="#fffaff" fill-opacity="0.091813385" points="27,-8 53,38 157,143 170,127 172,129 179,125 162,107 174,115"/>
+ <polygon fill="#ff3262" fill-opacity="0.104304135" points="94,42 116,8 119,16 112,44 112,58 108,66 93,77 92,45"/>
+ <polygon fill="#160000" fill-opacity="0.07197356" points="54,143 66,147 92,179 78,146 81,146 96,115 78,121 46,131"/>
+ <polygon fill="#100205" fill-opacity="0.083504856" points="74,132 71,144 51,165 93,135 85,145 94,148 103,148 105,142"/>
+ <polygon fill="#ffffff" fill-opacity="0.7543919" points="235,176 199,191 207,155 207,152 215,102 230,64 227,9 176,6"/>
+ <polygon fill="#ffffea" fill-opacity="0.15695077" points="194,161 199,161 210,157 210,151 201,151 204,139 206,144 226,133"/>
+ <polygon fill="#402000" fill-opacity="0.09607381" points="-27,77 45,79 20,82 48,82 51,82 38,97 36,88 34,93"/>
+ <polygon fill="#dc4f00" fill-opacity="0.102811456" points="78,88 136,107 165,125 211,105 206,160 193,206 156,194 195,161"/>
+ <polygon fill="#935f2b" fill-opacity="0.38973087" points="75,113 142,119 136,119 136,141 126,135 134,111 134,114 105,111"/>
+ <polygon fill="#825016" fill-opacity="0.5803787" points="211,141 198,138 196,143 205,150 206,165 184,143 184,138 176,128"/>
+ <polygon fill="#aa26b6" fill-opacity="0.018282056" points="-6,192 -26,50 159,176 81,176 17,168 156,125 115,157 100,102"/>
+ <polygon fill="#ff8500" fill-opacity="0.04552853" points="-5,113 -5,61 62,57 101,83 72,98 74,110 48,129 48,111"/>
+ <polygon fill="#fe6200" fill-opacity="0.103726566" points="126,87 164,117 185,129 203,136 166,92 185,104 201,81 171,67"/>
+ <polygon fill="#ffffff" fill-opacity="0.3756162" points="143,34 135,-16 232,12 235,110 181,70 152,75 123,65 136,58"/>
+ <polygon fill="#c45900" fill-opacity="0.17938489" points="151,28 124,58 130,77 143,87 125,64 124,55 136,28 136,18"/>
+ <polygon fill="#5b3200" fill-opacity="0.44901544" points="123,73 148,91 128,71 124,69 120,65"/>
+ <polygon fill="#000006" fill-opacity="0.05193466" points="154,87 162,80 187,73 201,100 177,132 209,101 191,103 10,27"/>
+ <polygon fill="#740000" fill-opacity="0.04153365" points="112,84 109,70 97,64 61,41 61,56 112,60 85,48 110,45"/>
+ <polygon fill="#ffb304" fill-opacity="0.07827431" points="15,49 68,90 115,82 116,79 98,59 78,62 83,49 39,49"/>
+ <polygon fill="#001000" fill-opacity="0.14773989" points="92,40 88,54 84,55 89,55 92,51 98,40 103,32 110,24"/>
+ <polygon fill="#fffff7" fill-opacity="0.028054297" points="108,173 105,146 113,136 119,126 84,139 73,157 50,160 23,175"/>
+ <polygon fill="#bc8039" fill-opacity="0.43664604" points="117,110 127,110 134,111 116,114 113,129 117,134 88,92 88,89"/>
+ <polygon fill="#d2af89" fill-opacity="0.07003242" points="106,130 110,127 137,128 102,132 99,120 85,99 96,120 120,116"/>
+ </g>
+</svg>
Property changes on: trunk/polycasso/htdocs/polypig.svg
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-21 02:36:27
|
Revision: 204
http://polycasso.svn.sourceforge.net/polycasso/?rev=204&view=rev
Author: dbrosius
Date: 2009-12-21 02:36:21 +0000 (Mon, 21 Dec 2009)
Log Message:
-----------
javadoc
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java 2009-12-19 08:08:33 UTC (rev 203)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Feedback.java 2009-12-21 02:36:21 UTC (rev 204)
@@ -45,6 +45,7 @@
/**
* returns a score of how close the test image is to the target
+ * which is the square of the error to the target image
*
* @param testImage the image to score
* @return a value that represents its closeness to ideal
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-19 08:08:42
|
Revision: 203
http://polycasso.svn.sourceforge.net/polycasso/?rev=203&view=rev
Author: dbrosius
Date: 2009-12-19 08:08:33 +0000 (Sat, 19 Dec 2009)
Log Message:
-----------
german properties file
Added Paths:
-----------
trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties
Added: trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties (rev 0)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties 2009-12-19 08:08:33 UTC (rev 203)
@@ -0,0 +1,50 @@
+#/*
+# * polycasso - Cubism Artwork generator
+# * Copyright 2009 MeBigFatGuy.com
+# * Copyright 2009 Dave Brosius
+# * Inspired by work by Roger Alsing
+# *
+# * Licensed under the Apache License, Version 2.0 (the "License");
+# * you may not use this file except in compliance with the License.
+# * You may obtain a copy of the License at
+# *
+# * http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing,
+# * software distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and limitations
+# * under the License.
+# */
+pc.title = Polycasso
+pc.ok = OK
+pc.cancel = Abbrechen
+pc.info = Ein Kubismus-Stil Grafik-Generator, semi-transparente Schichten Polygone\nvia ein Ausbildungs-Feedback-Schleife. Erzeugt immer realistischer work\nthrough H\xFCgel klettern. F\xFCr weitere Informationen siehe\nhttp://polycasso.sourceforge.net
+pc.file = Datei
+pc.paintimage = Generate Random Image
+pc.copyimage = Erzeugen von Image Source
+pc.completeimage = Komplette Image
+pc.saveas = Save as
+pc.png = PNG
+pc.pngdescription = (*.png) PNG-Bilddateien
+pc.svg = SVG
+pc.svgdescription = (*.svg) Scalable Vector Graphics-Dateien
+pc.java = Java-Klasse
+pc.javadescription = (*.java) Java Class-Dateien
+pc.quit = Beenden
+pc.edit = Edit
+pc.settings = Einstellungen
+pc.about = \xDCber
+pc.aboutpolycasso = \xDCber Polycasso
+pc.maximagesize = Maximale Bildgr\xF6\xDFe
+pc.width = Breite
+pc.height = H\xF6he
+pc.maximumpolygons = Maximale Polygone
+pc.numberofcompetingimages = Anzahl der konkurrierenden Bilder
+pc.maxpolygonpoints = Maximale Punkte pro Polygon
+pc.maximumpointmovement = Maximale Point Bewegung
+pc.maximumcolorchange = Maximale Color Change
+pc.enterurl = Geben Sie die URL (Datei-oder http) des Bildes als Quelle verwenden
+pc.badsetting = Die Einstellung angegeben wurde zu klein, um die einwandfreie Funktion
+pc.savefailure = Fehler beim Speichern der Datei: {0}
+pc.overwritewarning = Die Datei (0) existiert bereits, m\xF6chten Sie sie \xFCberschreiben?
Property changes on: trunk/polycasso/src/com/mebigfatguy/polycasso/resource_de.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-18 05:50:42
|
Revision: 197
http://polycasso.svn.sourceforge.net/polycasso/?rev=197&view=rev
Author: dbrosius
Date: 2009-12-18 04:33:04 +0000 (Fri, 18 Dec 2009)
Log Message:
-----------
add building an image from a user specified url
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java
trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java 2009-12-18 04:27:18 UTC (rev 196)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PainterFrame.java 2009-12-18 04:33:04 UTC (rev 197)
@@ -30,6 +30,7 @@
import java.io.IOException;
import java.text.MessageFormat;
+import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
@@ -44,6 +45,7 @@
private static final long serialVersionUID = 7729602294481171194L;
private PainterPanel panel;
private JMenuItem paintImage;
+ private JMenuItem copyImage;
private JMenuItem completeImage;
private JMenu saveAsMenu;
private JMenuItem saveAsPNGItem;
@@ -87,6 +89,8 @@
JMenu fileMenu = new JMenu(PolycassoBundle.getString(PolycassoBundle.Key.File));
paintImage = new JMenuItem(PolycassoBundle.getString(PolycassoBundle.Key.PaintImage));
fileMenu.add(paintImage);
+ copyImage = new JMenuItem(PolycassoBundle.getString(PolycassoBundle.Key.CopyImage));
+ fileMenu.add(copyImage);
completeImage = new JMenuItem(PolycassoBundle.getString(PolycassoBundle.Key.CompleteImage));
completeImage.setEnabled(false);
fileMenu.add(completeImage);
@@ -135,31 +139,25 @@
@Override
public void actionPerformed(ActionEvent ae) {
try {
- if (generator != null)
- generator.stopGenerating();
-
Image targetImage = RandomImageFinder.findImage();
- ImageSizer sizer = new ImageSizer(targetImage);
- Dimension size = new Dimension(sizer.getWidth(), sizer.getHeight());
- generator = new ImageGenerator(settings, targetImage, size);
-
- panel.setTarget(generator.getTargetImage());
- size = generator.getImageSize();
-
- Dimension wSize = new Dimension(size);
- wSize.height += 2 * PainterFrame.this.getJMenuBar().getHeight();
- if (Polycasso.DEBUG){
- wSize.height *= 2;
+ beginGenerating(targetImage);
+ } catch (IOException ioe) {
+ JOptionPane.showMessageDialog(PainterFrame.this, ioe.getMessage());
+ }
+ }
+ });
+
+ copyImage.addActionListener(new ActionListener() {
+ @Override
+ public void actionPerformed(ActionEvent ae) {
+ try {
+ String url = JOptionPane.showInputDialog(PainterFrame.this, PolycassoBundle.getString(PolycassoBundle.Key.EnterURL));
+ if (url != null) {
+ Image targetImage = new ImageIcon(URLFetcher.fetchURLData(url)).getImage();
+ beginGenerating(targetImage);
}
- setSize(wSize);
- generator = new ImageGenerator(settings, targetImage, size);
- generator.addImageGeneratedListener(PainterFrame.this);
- generator.startGenerating();
- completeImage.setEnabled(true);
- saveAsMenu.setEnabled(true);
-
} catch (IOException ioe) {
- JOptionPane.showMessageDialog(null, ioe.getMessage());
+ JOptionPane.showMessageDialog(PainterFrame.this, ioe.getMessage());
}
}
});
@@ -267,4 +265,28 @@
JOptionPane.showMessageDialog(PainterFrame.this, message);
}
}
+
+ private void beginGenerating(Image targetImage) {
+ if (generator != null)
+ generator.stopGenerating();
+
+ ImageSizer sizer = new ImageSizer(targetImage);
+ Dimension size = new Dimension(sizer.getWidth(), sizer.getHeight());
+ generator = new ImageGenerator(settings, targetImage, size);
+
+ panel.setTarget(generator.getTargetImage());
+ size = generator.getImageSize();
+
+ Dimension wSize = new Dimension(size);
+ wSize.height += 2 * PainterFrame.this.getJMenuBar().getHeight();
+ if (Polycasso.DEBUG){
+ wSize.height *= 2;
+ }
+ setSize(wSize);
+ generator = new ImageGenerator(settings, targetImage, size);
+ generator.addImageGeneratedListener(PainterFrame.this);
+ generator.startGenerating();
+ completeImage.setEnabled(true);
+ saveAsMenu.setEnabled(true);
+ }
}
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2009-12-18 04:27:18 UTC (rev 196)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PolycassoBundle.java 2009-12-18 04:33:04 UTC (rev 197)
@@ -35,6 +35,7 @@
Info("pc.info"),
File("pc.file"),
PaintImage("pc.paintimage"),
+ CopyImage("pc.copyimage"),
CompleteImage("pc.completeimage"),
SaveAs("pc.saveas"),
PNG("pc.png"),
@@ -56,6 +57,7 @@
MaximumPolygonPoints("pc.maxpolygonpoints"),
MaximumPointMovement("pc.maximumpointmovement"),
MaximumColorChange("pc.maximumcolorchange"),
+ EnterURL("pc.enterurl"),
BadSetting("pc.badsetting"),
SaveFailure("pc.savefailure"),
OverwriteWarning("pc.overwritewarning");
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2009-12-18 04:27:18 UTC (rev 196)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/resource.properties 2009-12-18 04:33:04 UTC (rev 197)
@@ -21,7 +21,8 @@
pc.cancel = Cancel
pc.info = A cubism-style artwork generator that layers semi-transparent polygons \nvia a training feedback loop. Produces increasingly realistic work \nthrough hill climbing. For more info see\nhttp://polycasso.sourceforge.net
pc.file = File
-pc.paintimage = Start Generating Image
+pc.paintimage = Generate Random Image
+pc.copyimage = Generate Image from Source
pc.completeimage = Complete Image
pc.saveas = Save as
pc.png = PNG
@@ -43,6 +44,7 @@
pc.maxpolygonpoints = Maximum Points per Polygon
pc.maximumpointmovement = Maximum Point Movement
pc.maximumcolorchange = Maximum Color Change
+pc.enterurl = Enter URL (file or http) of image to use as a source
pc.badsetting = The setting specified was too small to properly function
pc.savefailure = Failed saving file: {0}
pc.overwritewarning = The file {0} already exists, do you wish to overwrite it?
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-12-18 05:50:31
|
Revision: 195
http://polycasso.svn.sourceforge.net/polycasso/?rev=195&view=rev
Author: dbrosius
Date: 2009-12-18 04:24:16 +0000 (Fri, 18 Dec 2009)
Log Message:
-----------
javadoc
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java 2009-12-18 04:23:13 UTC (rev 194)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java 2009-12-18 04:24:16 UTC (rev 195)
@@ -39,11 +39,13 @@
}
/**
- * fetches the data at a specified url, whether http or file protocols
- * @param url the url to fetch from
- * @return a byte array of data from the url
+ * retrieve arbitrary data found at a specific url
+ * - either http or file urls
*
- * @throws IOException if the data at the url can't be retrieved
+ * @param url the url to retrieve
+ * @return a byte array of the content
+ *
+ * @throws IOException the site fails to respond
*/
public static byte[] fetchURLData(String url) throws IOException {
HttpURLConnection con = null;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|