Click here to Skip to main content
15,884,388 members
Articles / Programming Languages / C#

The beauty of fractals - A simple fractal rendering program done in C#

Rate me:
Please Sign up or sign in to vote.
4.92/5 (105 votes)
27 Jul 2009CPOL3 min read 172.5K   13.1K   165  
A fractal rendering application demonstrating many .NET programming techniques.
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.50727</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{281C1A83-0C9A-4222-B70E-3BD15EF4DD06}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>FracMaster</RootNamespace>
    <AssemblyName>FracMaster</AssemblyName>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Deployment" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Complex.cs" />
    <Compile Include="EditPaletteDialog.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="EditPaletteDialog.Designer.cs">
      <DependentUpon>EditPaletteDialog.cs</DependentUpon>
    </Compile>
    <Compile Include="FractalForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="FractalForm.Designer.cs">
      <DependentUpon>FractalForm.cs</DependentUpon>
    </Compile>
    <Compile Include="FractalBase.cs" />
    <Compile Include="FractalSettingsDialog.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="FractalSettingsDialog.Designer.cs">
      <DependentUpon>FractalSettingsDialog.cs</DependentUpon>
    </Compile>
    <Compile Include="Generic2DFractal.cs" />
    <Compile Include="IFractalParameters.cs" />
    <Compile Include="JuliaFractal.cs" />
    <Compile Include="MandelbrotFractal.cs" />
    <Compile Include="Generic2DFractalSettings.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Generic2DFractalSettings.Designer.cs">
      <DependentUpon>Generic2DFractalSettings.cs</DependentUpon>
    </Compile>
    <Compile Include="MDIForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="MDIForm.Designer.cs">
      <DependentUpon>MDIForm.cs</DependentUpon>
    </Compile>
    <Compile Include="IFractal.cs" />
    <Compile Include="NewtonFractalByIterationsRequired.cs" />
    <Compile Include="Parameter.cs" />
    <Compile Include="ParameterSet.cs" />
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <EmbeddedResource Include="EditPaletteDialog.resx">
      <SubType>Designer</SubType>
      <DependentUpon>EditPaletteDialog.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="FractalForm.resx">
      <SubType>Designer</SubType>
      <DependentUpon>FractalForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="FractalSettingsDialog.resx">
      <SubType>Designer</SubType>
      <DependentUpon>FractalSettingsDialog.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Generic2DFractalSettings.resx">
      <SubType>Designer</SubType>
      <DependentUpon>Generic2DFractalSettings.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="MDIForm.resx">
      <SubType>Designer</SubType>
      <DependentUpon>MDIForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Properties\Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
    </None>
    <Compile Include="Properties\Settings.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Settings.settings</DependentUpon>
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
    </Compile>
    <Compile Include="RenderResult.cs" />
    <Compile Include="TestFractal.cs" />
    <Compile Include="Utils.cs" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="BuildInFractals\frac_newton_01.xml" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="BuildInFractals\frac_mandel_01.xml" />
    <EmbeddedResource Include="BuildInFractals\frac_mandel_02.xml" />
    <EmbeddedResource Include="BuildInFractals\frac_mandel_03.xml" />
    <EmbeddedResource Include="BuildInFractals\frac_julia_01.xml" />
    <EmbeddedResource Include="BuildInFractals\frac_mandel_04.xml" />
    <EmbeddedResource Include="BuildInFractals\frac_mandel_05.xml" />
    <Content Include="info.txt" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Austria Austria
I have started programming at the age of 13 on the commodore 64.

Ever since then I have been programming on many systems in many languages.

During the last 12 years I have been working as professional programmer in different companies and different areas.

Now I am working as freelancer programmer / consultant

Comments and Discussions