View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide

Extending MathMorphs with Function Plotting

Extending MathMorphs with Function Plotting, by Andres Valloud of UBA.

Current draft: valloud2.pdf

Promised reviewers:
Bruce O'Neel (beoneel@mindspring.com)

Hi, this is Andres.
I have found a mistake in the explanation of how to use BitBlt to do Heckbert quantization. In the page before the last one, it reads that if you don't tell BitBlt to use a destination, it will overwrite the source. That is incorrect, and I have just fixed it. I also corrected some typos and minor errors. A new draft will be in place soon.

Mark Guzdial just updated Andres' draft with version 2, which may address the above error.


Hi, this is Bruce O'Neel

I liked this chapter very much. I have a few small comments:





Hi Bruce, this is Andres Valloud.

I am glad you liked the chapter very much :))).

True. I will work on this. Also, there will be some image segments with more complex stuff (this will take time).

Actually, the examples were taken from the examples already present in the code (for the most part). I think that except the pie chart and the number theory plots, everything else is in the code in the form of class methods.

Hmmmm... ok. I think you are right, Bruce.

A new draft will be coming, then :))).

Thanks for taking the time to review my chapter!!!
Andres.

Mark's Review of "Extending MathMorphs with Function Plotting"


I enjoyed this chapter quite a bit, Andres! I think it works best by thinking of it as a case study. It's an answer to the question: "How does one work through a complex problem in Squeak?"

There are two audiences for this chapter. The first are people seriously interested in function plotting. The second are people who want to build Squeak projects with similar problems. Most people aren't going to build Function Plotters, but issues of coordinate systems, color representations, aspect ratios, performance, and object decomposition will appear in many people's Squeak projects, so the chapter serves them as a well worked-out example. My guess is that the second audience is much larger than the first, and serving the second audience serves the first – but some of what would be useful for the first would be less useful for the second. My preference is to emphasize the second over the first, mostly because of space concerns.

I have two overall concerns about the chapter right now:

Issues



Hi Mark!

Thanks for reviewing my chapter, I am glad you enjoyed it! :))).

The color plates can be redrawn with other colors at little extra cost. I will use John Maloney's suggestion about using a completely white background for the pictures.

P1. History notes shortened.
P2. Plottng -> Plotting, thanks!
P2. System font. I don't have the Symbol style here (although I think you meant System). I have System style defined with Helvetica at size 10. I think it was supposed to be 12, but when writing I felt it was a bit too big so I changed it to 10 and then forgot to resize it back. Changed.
P3. FormCanvas over Form. In the chapter I wrote that FormCanvases have different and more suitable protocol but didn't tell why. Changed.

P4. Cartessian -> Cartesian. Fixed.

P7. Added comments to the code.
P7 and on. Will add comments to the code.

P8. I enhanced the reference to GC in the chapter.
More changes coming soon!
Hi Mark!

I am sorry I am a bit late with the deadline... I was rearended at the
freeway and I am also finishing moving down with my wife to San Diego...
eek. To make things worse, Word managed to break all my index entries
again. Fortunately, I found out that by binarily replacing 45CDh,' =' by
'XE =' in the file converts all broken index entries into working ones.
It seems that Microsoft also translated saving codes when they
translated Microsoft Word. Amazing.

In any case, here are the rest of the changes :).

P8. Ambients are mentioned in p7.

P10. Clarified.

P13. Color schemes' section reduced.
P11 and P12. Code commented.

P17. RGB cube explained.
P17. Tree sentence deleted.
P18. Axis of the figure clarified.
P19. The key is that colors are chosen so they are as far apart as
possible from all colors selected before. Clarified.
P20. Issue with multiple targets explained.

The code for the plots can be lenghty...

P22,23,24. Examples of standard mode plots shortened — dropped two of
them.

P28. Dropped the pie chart.

P38. Dropped the color quantization illustration. Without color plates,
it will be difficult to show any artifact.

P40-42: dropped the section.

I am sending a new draft to you. Thanks for your patience,
Andres.

For whatever it's worth, this draft chapter is a superb piece of work.

A long time Smalltalk user.

saxo




Link to this Page