flat assembler
Message board for the users of flat assembler.

 Index > Tutorials and Examples > SWGPTG - 02 - Drawing Basic Shapes Goto page Previous  1, 2
Author
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
A spiral as example, to contrast fixed point to floating point.

_________________
Siempre aprendiendo
23 Nov 2019, 09:27
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
Hello, I have just uploaded my fifth chapter about basic maths for 2d graphics. It is a work in progress that I have just started. The last point is for moving a point between 2 points in the screen in a straight way. If anyone want to try it before I upload more stuff in this chapter is welcome to do it. For the moment only in Spanish and only for TinyC. Regards.
24 Nov 2019, 18:59
Roman

Joined: 21 Apr 2012
Posts: 1045
Roman
But get error.
25 Nov 2019, 05:18
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
Only tinyc for now. Fixed now, I have checked that tinyc sources can be downloaded.

_________________
Siempre aprendiendo
25 Nov 2019, 09:40
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
I have updated the fifth chapter including two path examples: circular and splines. Attached here one for the last one: 5 random generating points calculated each time the program starts.

_________________
Siempre aprendiendo
01 Dec 2019, 11:25
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
This chapter translated to English and some new code.
08 Dec 2019, 18:02
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
Chapter 06 for 2d graphics demos started, only in Spanish for now. A raining drops demo attached.[/url]

_________________
Siempre aprendiendo
15 Dec 2019, 18:12
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
This time a flag demo to show how useful may be the sine/cosine function. There's an interesting tricky here: though there are 360 degrees we can reduce them to 255 and play with binary functions (and) instead of divisions (module). This is a quite simple example too and is quite easy to design your own flag too.

_________________
Siempre aprendiendo
17 Dec 2019, 19:33
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
Blobs demo, 32 and 64 bits in Fasm

_________________
Siempre aprendiendo
28 Dec 2019, 17:23
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
Blur effect is quite important because is used in many graphic demos. This sample is a bit more elaborated, uses blurring that gives a 3d sensation, observe the rhodonea path, and we are here I have added a text scrolling with pixel clipping and a tune in the background. Everything in 108kb uncompressed that could be 17kb compressed.

_________________
Siempre aprendiendo
29 Dec 2019, 11:37
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
I've just uploaded many of the examples for 6th chapter at the moment only in Spanish. I have reduced the compilers to fasm, poasm and tinyc, I am too old to manage others that are basically the same. At the moment all of them are in tinyc and some in fasm, I will populate ASAP. Here the examples in tinyc.

Here the codes compiled for now.

Edited: all the demos for the sixth chapter up today

_________________
Siempre aprendiendo

Last edited by avcaballero on 10 Jan 2020, 20:05; edited 4 times in total
02 Jan 2020, 17:29
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
I have tried to upload several images and programs for the sixth chapter but it seems that the server rejects them and I do not see the reason very well, maybe it is that I have exceeded some file limit or something (it is a freeware hosting)... I am already beginning to be older to fight with such stupid things.

If there is anyone there, I would appreciate if you could try the program that I attached here (which I have also tried to attach to my site). This is a bumpmapping demo, for this I have used a standard Windows font called "Impact". And this is where my doubt comes: if really everyone would have it in their system and if someone would appear in a way that exceeded the window boundaries.

You should move your mouse over the windows for the demo take effect.

Regards

_________________
Siempre aprendiendo
03 Jan 2020, 20:51
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
Maybe on the interest for anybody here. A freebasic sphereflake that I've just made, source code and bin attached. It takes a moment to rise up while it is making a graphic ppm file where you can see its developping

_________________
Siempre aprendiendo
25 Jan 2020, 21:30
avcaballero

Joined: 02 Feb 2004
Posts: 195
avcaballero
Hello, a rotating torus texted with a dynamic sky and a background music

_________________
Siempre aprendiendo
30 Nov 2020, 11:00
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First

 Jump to: Select a forum Official----------------AssemblyPeripheria General----------------MainTutorials and ExamplesDOSWindowsLinuxUnixMenuetOS Specific----------------MacroinstructionsOS ConstructionIDE DevelopmentProjects and IdeasNon-x86 architecturesHigh Level LanguagesProgramming Language DesignCompiler Internals Other----------------FeedbackHeapTest Area
Goto page Previous  1, 2

Forum Rules:
 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum