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
Thread Post new topic Reply to topic
avcaballero



Joined: 02 Feb 2004
Posts: 191
Location: Madrid - Spain
avcaballero
A spiral as example, to contrast fixed point to floating point.


Description:
Download
Filename: EspiralWC01c.7z
Filesize: 5.08 KB
Downloaded: 258 Time(s)


_________________
Siempre aprendiendo
Post 23 Nov 2019, 09:27
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 191
Location: Madrid - Spain
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.
Post 24 Nov 2019, 18:59
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 814
Roman
I try download any example.
But get error.
Page not found 404
Post 25 Nov 2019, 05:18
View user's profile Send private message Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 191
Location: Madrid - Spain
avcaballero
Only tinyc for now. Fixed now, I have checked that tinyc sources can be downloaded.

_________________
Siempre aprendiendo
Post 25 Nov 2019, 09:40
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 191
Location: Madrid - Spain
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.


Description:
Download
Filename: RutasWC04.7z
Filesize: 5.44 KB
Downloaded: 246 Time(s)


_________________
Siempre aprendiendo
Post 01 Dec 2019, 11:25
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 191
Location: Madrid - Spain
avcaballero
This chapter translated to English and some new code.
Post 08 Dec 2019, 18:02
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



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


Description:
Download
Filename: AguaWC01.7z
Filesize: 3.82 KB
Downloaded: 238 Time(s)


_________________
Siempre aprendiendo
Post 15 Dec 2019, 18:12
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 191
Location: Madrid - Spain
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.


Description:
Download
Filename: BanderaWC01.zip
Filesize: 5.47 KB
Downloaded: 139 Time(s)


_________________
Siempre aprendiendo
Post 17 Dec 2019, 19:33
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 191
Location: Madrid - Spain
avcaballero
Blobs demo, 32 and 64 bits in Fasm


Description:
Download
Filename: BlobsDemo.zip
Filesize: 7.9 KB
Downloaded: 137 Time(s)


_________________
Siempre aprendiendo
Post 28 Dec 2019, 17:23
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 191
Location: Madrid - Spain
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.


Description:
Download
Filename: BlurMModWC01.7z
Filesize: 14.59 KB
Downloaded: 136 Time(s)


_________________
Siempre aprendiendo
Post 29 Dec 2019, 11:37
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 191
Location: Madrid - Spain
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


Description:
Download
Filename: Demos.7z
Filesize: 58.85 KB
Downloaded: 179 Time(s)


_________________
Siempre aprendiendo


Last edited by avcaballero on 10 Jan 2020, 20:05; edited 4 times in total
Post 02 Jan 2020, 17:29
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 191
Location: Madrid - Spain
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. Wink

Regards


Description:
Download
Filename: BumpMappingWC01.zip
Filesize: 5.98 KB
Downloaded: 128 Time(s)


_________________
Siempre aprendiendo
Post 03 Jan 2020, 20:51
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 191
Location: Madrid - Spain
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
Image


Description:
Download
Filename: FreeBasic.zip
Filesize: 21.9 KB
Downloaded: 133 Time(s)


_________________
Siempre aprendiendo
Post 25 Jan 2020, 21:30
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.