Mountain real-time generation

Discuss SVG code, accessible via the XML Editor.
Alikrus
Posts: 5
Joined: Thu May 27, 2010 8:14 am

Mountain real-time generation

Postby Alikrus » Sat Jun 05, 2010 9:02 am

In the book of 1985 about computer technology i find a simple and very interesting algorithm for mountain building from the triangles divisions by ©IBM.
But in the web in the all times i can't find this. Can You hint me? :?:
For example my InkScape hand-work for demo this algorithm step-by-step...
P.S.: I want to fing life demo for this. As real-time animation step-by-step with adjusting characteristic.
Not video, but really algorithm on the JS, in the html-5 canvas or in the svg-script :roll:
Attachments
Mountain.gif
Mountain building process step-by-step
Mountain.gif (41.77 KiB) Viewed 2041 times
Last edited by Alikrus on Tue Jun 08, 2010 7:07 am, edited 1 time in total.

User avatar
RobA
Posts: 335
Joined: Fri Aug 10, 2007 1:22 am

Re: Mountain real-time generation

Postby RobA » Mon Jun 07, 2010 11:55 pm

That is commonly referred to as midpoint subdivision.

What to you actually want to do?

-Rob A.

Alikrus
Posts: 5
Joined: Thu May 27, 2010 8:14 am

Mountain real-time generation

Postby Alikrus » Wed Jun 09, 2010 10:41 am

So, after experiments i did create my primitive and buggy, but working algorithm :arrow:
mountain.svg
Mountain building animation
(3.62 KiB) Downloaded 716 times

SVG Image
Last edited by Alikrus on Thu Jun 10, 2010 1:30 pm, edited 1 time in total.

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: Mountain real-time generation

Postby prkos » Wed Jun 09, 2010 9:16 pm

You should send it to the dev list. Can you form it into an extension? There is info about how to do it in Inkscape wiki.
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download


Return to “SVG / XML Code”