Author Topic: yet another fractal generator...  (Read 4149 times)

qWord

  • Member
  • *****
  • Posts: 1475
  • The base type of a type is the type itself
    • SmplMath macros
yet another fractal generator...
« on: September 05, 2014, 09:28:43 PM »
In the attachment a small weekend goody  :biggrin:

Runtime requirements: Windows Vista+, SSE3
Building requirements: MASMv8+ and latest MASM32 SDK

Usage:
Use the left mouse button for dragging the view (remarks that it takes time to calculate the image) or, if the control-key is down, to select a range to zoom in. The mouse wheel is used for zooming in and out.
Keys:
 - VK_R: recalculate fractal image
 - VK_O: restore original zoom
 - VK_C: open gradient-tool window
Tool window: the handholds for the colors can be dragged with the mouse. A right mouse click opens the context menu (insert/delete/sel.color).

qWord

« Last Edit: September 08, 2014, 03:32:47 AM by qWord »
MREAL macros - when you need floating point arithmetic while assembling!

TouEnMasm

  • Member
  • *****
  • Posts: 1764
    • EditMasm
Re: yet another fractal generator...
« Reply #1 on: September 05, 2014, 10:27:27 PM »

The d2d1.dll can't be found.
I have the directx sdk with the d2d1.lib .h but not .dll.
Is it another pleasure of microsoft who say "you haven't buy my last system"  ?:eusa_dance:
 
Fa is a musical note to play with CL

Gunther

  • Member
  • *****
  • Posts: 4198
  • Forgive your enemies, but never forget their names
Re: yet another fractal generator...
« Reply #2 on: September 06, 2014, 05:15:59 AM »
Hi qWord,

works fine under Windows 7-64 and very fast. Well done. Thank you for the sources, too.  :t

Gunther
You have to know the facts before you can distort them.

guga

  • Member
  • *****
  • Posts: 1467
  • Assembly is a state of art.
    • RosAsm
Re: yet another fractal generator...
« Reply #3 on: September 06, 2014, 08:07:50 AM »
Quote
Is it another pleasure of microsoft who say "you haven't buy my last system"  ?
Yep. Unfortunately, this seems to work only in WindowsVista and above. I couldn“t find the d2d1.dll for winxp yet.

Anyway, if someone  wants some examples in C) for d2d  i found some on the developerĀ“s site
http://blogs.technet.com/b/thomasolsen/archive/2008/10/29/introducing-the-microsoft-direct2d-api.aspx#pi47623=10
http://blogs.msdn.com/b/tmulcahy/
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com

Siekmanski

  • Member
  • *****
  • Posts: 2725
Re: yet another fractal generator...
« Reply #4 on: September 06, 2014, 05:43:13 PM »
Cool code, works perfect.
Creative coders use backward thinking techniques as a strategy.