Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.

Mandelbrot library

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-01-2010, 10:09 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default Mandelbrot library

In response to another thread, and for a bit of fun and to revisit the past, I have knocked up this library that will draw the Mandelbrot set on a bitmap provided to it. This version allows you to supply the colour visualisation to the Mandelbrot object as a two-dimensional array so you can play with colour mapping.
Attached Files
File Type: zip Mandelbrot1.0.zip (6.5 KB, 83 views)
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #2 (permalink)  
Old 01-01-2010, 10:17 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default



Reply With Quote
  #3 (permalink)  
Old 01-01-2010, 01:06 PM
Basic4ppc Veteran
 
Join Date: May 2008
Location: Newcastle Upon Tyne - England
Posts: 271
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Andrew,

Thank you so much for this brilliant library. As I mentioned in the original post, it has renewed my interest the artistic properties of mathematics.
I was going to ask you about changing the colours (as I always like the cardioids to be black) but you've already done it!

Christopher

p.s. They draw just a little bit quicker than the days of using the 'Beeb'.
Reply With Quote
  #4 (permalink)  
Old 04-28-2011, 10:33 PM
Basic4ppc Veteran
 
Join Date: May 2008
Location: Newcastle Upon Tyne - England
Posts: 271
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hello Andrew,

I don't know if I'm the only one using this library - but I love it anyway!

On compiling, I'm getting a CS0227 error. I've now stumbled accross your fix here for your BytesConverter library and applied the fix to this library's .cs file and it now works fine.

Incidentally, what's 'unsafe' code all about?

Many thanks for your untiring assistance
Reply With Quote
  #5 (permalink)  
Old 04-29-2011, 08:12 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

"Unsafe" tells the C# compiler to allow the use of pointers which otherwise it would not allow. In a managed code context pointers are unsafe as they potentially allow code to access any part of memory and potentially crash the application if the code alters something it shouldn't.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Door library (Beta) - Special library Erel Official Updates 60 01-13-2011 11:23 AM
Merging Outlook library and Phone library Erel Official Updates 11 09-15-2010 09:22 AM
PhoneticAlgorithms Library (ex-StringComparison Library) moster67 Additional Libraries 10 11-11-2008 07:46 PM


All times are GMT. The time now is 07:04 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0