1. Help with ideas.

Hello,

A while back I was on this list then left but since then I have become fairly
better at the logic of programming so now I have decided to come back to
Euphoria. Right now I have sort of a programers block, I can't think of any
ideas. Can someone on this list give me an idea for a program? Please note I
am very new to Euphoria so go easy, I know nothing about graphics yet but I
plan to learn. Thanks for an simple ideas you can give me.

Al

new topic     » topic index » view message » categorize

2. Re: Help with ideas.

Hi Al
Why not write a Mandelbrot set program that makes neat fractals?
If you're interested, I can give you a psuedo code algorithm and explain the
math for you, so as not to spoil your programming fun.
Bye
Martin

----- Original Message -----
From: Albert B <Dajawu36 at AOL.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Thursday, October 14, 1999 3:14 PM
Subject: Help with ideas.


> Hello,
>
> A while back I was on this list then left but since then I have become
fairly
> better at the logic of programming so now I have decided to come back to
> Euphoria. Right now I have sort of a programers block, I can't think of
any
> ideas. Can someone on this list give me an idea for a program? Please note
I
> am very new to Euphoria so go easy, I know nothing about graphics yet but
I
> plan to learn. Thanks for an simple ideas you can give me.
>
> Al
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: Help with ideas.

----- Original Message -----
From: Albert B <Dajawu36 at AOL.COM>
Sent: Thursday, October 14, 1999 3:14 PM
Subject: Help with ideas.


> Hello,
>
> A while back I was on this list then left but since then I have become
fairly
> better at the logic of programming so now I have decided to come back to
> Euphoria. Right now I have sort of a programers block, I can't think of
any
> ideas. Can someone on this list give me an idea for a program? Please note
I
> am very new to Euphoria so go easy, I know nothing about graphics yet but
I
> plan to learn. Thanks for an simple ideas you can give me.
>
> Al

I suggest doing anything that interests you.  Manipulating text and numbers
can be fun but I like playing with graphics.  Since you know nothing about
graphics I suggest that you learn by playing with the graphics functions.
Euphoria's graphics functions are basic so once you figure those out,
download a graphics library from the archives and incorporate those into a
program.  Maybe start with a simple line drawing program and add various
other shapes and functions until you end up with a simple painting
program....  (You will also be exercising your basic programming logic
skills with such a project.)  Just remember to start out with something
simple, make sure it works, and maybe use that as a foundation to enhance
your program... one step at a time.  Good luck with whatever you decide to
do!

--- Brian

new topic     » goto parent     » topic index » view message » categorize

4. Re: Help with ideas.

Simulat,

I'd be interested in the psuedo code and explanation of the math...if you
didn't mind.  I've always wondered about fractals.

Thanks,

Ben


>From: simulat <simulat at INTERGATE.BC.CA>
>Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU>
>To: EUPHORIA at LISTSERV.MUOHIO.EDU
>Subject: Re: Help with ideas.
>Date: Thu, 14 Oct 1999 17:40:26 -0700
>
>Hi Al
>Why not write a Mandelbrot set program that makes neat fractals?
>If you're interested, I can give you a psuedo code algorithm and explain
>the
>math for you, so as not to spoil your programming fun.
>Bye
>Martin
>
>----- Original Message -----
>From: Albert B <Dajawu36 at AOL.COM>
>To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
>Sent: Thursday, October 14, 1999 3:14 PM
>Subject: Help with ideas.
>
>
> > Hello,
> >
> > A while back I was on this list then left but since then I have become
>fairly
> > better at the logic of programming so now I have decided to come back to
> > Euphoria. Right now I have sort of a programers block, I can't think of
>any
> > ideas. Can someone on this list give me an idea for a program? Please
>note
>I
> > am very new to Euphoria so go easy, I know nothing about graphics yet
>but
>I
> > plan to learn. Thanks for an simple ideas you can give me.
> >
> > Al
> >

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view message » categorize

5. Re: Help with ideas.

Thus spake Albert B  on Thu, 14 Oct 1999:
>Thanks for an simple ideas you can give me.
>
>Al

How about an embedded language for Euphoria programs. It has been done once
already and I'm deliberately not looking at that one while I work on one or two
of my own but you could try too ... the possibilities are almost endless:
euFortran, euCOBOL, euLOGO, euBLISS, euBCPL, euML (I'm dragging out various
language names and putting eu in front of them) -- the idea is that something
like the following would be possible:

    global function LoadScript( sequence fileName )
    global function DoScript( sequence script, sequence parameters )
    global function RunScript( sequence fileName ) -- load and runs and forgets
                                                    -- the script

    sequence theFile
    sequence theScript
    sequence theResults

    theFile = "HELLO.EUC" -- for euCOBOL
    theScript = LoadScript( theFile )
    theResults = DoScript( theScript, {} )

The fun then starts with how to implement, for example, COBOL blink

    IDENTIFICATION DIVISION.
    PROGRAM-ID. HELLO.
    ENVIRONMENT DIVISION.
    DATA DIVISION.
    PROCEDURE DIVISION.
    10-MAIN.
        DISPLAY "HELLO WORLD".
        STOP RUN.


ZB

new topic     » goto parent     » topic index » view message » categorize

6. Re: Help with ideas.

</delurk>

me too
Cheers

Sid

</>

> Simulat,
>
> I'd be interested in the psuedo code and explanation of the math...if you
> didn't mind.  I've always wondered about fractals.
>
> Thanks,
>
> Ben
>
>
> >From: simulat <simulat at INTERGATE.BC.CA>
> >Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU>
> >To: EUPHORIA at LISTSERV.MUOHIO.EDU
> >Subject: Re: Help with ideas.
> >Date: Thu, 14 Oct 1999 17:40:26 -0700
> >
> >Hi Al
> >Why not write a Mandelbrot set program that makes neat fractals?
> >If you're interested, I can give you a psuedo code algorithm and explain
> >the
> >math for you, so as not to spoil your programming fun.
> >Bye
> >Martin


--


Sid Sidebottom - Senior Operations Technician
VLSI Vision Ltd
A company of the STMicroelectronics Group
Tel: +44 (0)131 336 6116
Fax: +44 (0)131 336 6001
Email: sid at vvl.co.uk
WWW: http://www.vvl.co.uk

new topic     » goto parent     » topic index » view message » categorize

7. Re: Help with ideas.

Hello Al


>Hello,
>
>A while back I was on this list then left but since then I have become
>fairly better at the logic of programming so now I have decided to come
>back to Euphoria. Right now I have sort of a programers block, I can't
>think of any ideas.

What bliss that must be. I always have many more Ideas than
I can even think about completing.


>Can someone on this list give me an idea for a program? Please note I am
>very new to Euphoria so go easy, I know nothing about graphics yet but I
>plan to learn. Thanks for an simple ideas you can give me.
>
>Al

Creating fractals might be a bit complex for a beginner and
writting paint program can be too if you have to learn how to
read mouse input as well as use drawing routines. What I would
suggest is first (if you haven't already) master the
text mode output routines:
  ?
  puts ()
  print ()
  position ()
  get_position ()

the input routines:
  get_key ()
  wait_key ()
  input_number ()
  input_string ()

then the drawing routines:
  ellipse ()
  draw_line ()
  polygon ()

And then figure out how to use what you know to make a simple
"Hangman" game. You'll learn a lot and then you'll be able to
advance to more complicated stuff.

later,
Lewis Townsend

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu