York Jong's Library tagged → View Popular
2.1 Understanding bitmaps, viewports, and windows
The Window Tool Kit uses bitmaps, viewports, and windows to display various kinds of output on the screen. Bitmaps are the only Window Tool Kit object that you can draw onto because bitmaps contain bits whose values can be altered. All Window Tool Kit functions draw on bitmaps by changing certain bits.
-
Unlike a viewport, a window can have a title, borders, a bitmap output stream, and a mouse input stream. The title and borders are optional and are specifiable.
-
A viewport or window is always created with an associated bitmap; if you do not supply a bitmap, a new one is created automatically.
Coordinates, Windows, and Viewports
-
- World coordinates -- Problem-oriented
<!--l. 4479--> - Screen coordinates -- Of device in use.
<!--l. 4481--> - Normalized screen coordinates -- (0,0) and (1,1) at opposite corners of the screen.
<!--l. 4485--> - Window -- Visible rectangular region of the world. Boundaries are specified in world coordinates.
<!--l. 4488--> - Viewport - A region, within the screen, that displays a window. Boundaries are specified in
<!--l. 4492-->- Screen coordinates
<!--l. 4495--> - Normalized screen coordinates (trasformations between window and viewport coordinates are machine-independent)
- A window acts as a clip region only for future insertions.
- A window may have many viewports
- Screen coordinates
- World coordinates -- Problem-oriented
貼圖 filtering 與 MIP map 簡介 [Part 3]
如果重新取樣時,取樣點的間距比原來要大,即縮小圖形的時候,就會出現新的問題。最明顯的問題,在於取樣點間距放大時,相對的,取樣頻率也就減少了。這時,訊號中就可能會包含一些過高的頻率成份。所以,這時候會需要一個 low pass filter。
Analog clock control in C#
This article shows how to create an analog clock control in C# using simple and efficient coding, and such that it adjusts itself whenever resized to new dimensions. There are certain settings to make the control customizable. Being a component, we can add our control to the toolbox, drop it on a form, and draw it to any dimension, it will look fine.
-

-
a clock rotates in clock-wise manner while our polar system rotates in anti-clockwise manner; so if we use the above formula directly, the output will be an “image” of the clock (i.e., rotating in anti-clockwise direction). To have this problem solved, let's invert the position of sine and cosine in the above formulae
- 6 more annotations...
Line drawing algorithm - Wikipedia, the free encyclopedia
A line drawing algorithm is a graphical algorithm for approximating a line segment on discrete graphical media. On discrete media, such as pixel-based displays and printers, line drawing requires such an approximation (in nontrivial cases).
Programmers Lounge - Graphics Basics: August 2007
All the basic graphics programs goes here
Midpoint circle algorithm - Wikipedia, the free encyclopedia
In computer graphics, the midpoint circle algorithm is an algorithm used to determine the points needed for drawing a circle. The algorithm is a variant of Bresenham's line algorithm, although not invented by Bresenham. The algorithm is therefore also sometimes referred to as Bresenham's circle algorithm.
Bresenham's line algorithm - Wikipedia, the free encyclopedia
The Bresenham line algorithm is an algorithm that determines which points in an n-dimensional raster should be plotted in order to form a close approximation to a straight line between two given points. It is commonly used to draw lines on a computer screen, as it uses only integer addition, subtraction and bit shifting all of which are very cheap operations in standard computer architectures. It is one of the earliest algorithms developed in the field of computer graphics.
LOGO FAQ
-
Logo borrowed the techniques of symbolic computation
(manipulating words and ideas) from the LISP programming language used
in artificial intelligence research. Powerful computer science concepts
of the procedure, recursion, programs-as-data are built into Logo. -
Children (and later teachers) who were first using
computer could begin by "talking to the turtle," typing in commands
to make it move. They could imagine how the turtle moved by "playing
turtle"---moving their bodies as the turtle would. Papert called this
"body syntonicity," the idea of understanding how some external object
worked by thinking about your own body. He felt that the turtle as an
"object to think with" was a powerful way to be introduced to the idea
of programming. - 2 more annotations...
NetLogo 3.1.4 User Manual: Programming Guide
-
All code to be run by turtles must be located in a turtle
"context". You can establish a turtle context in any of three ways: - 6 more annotations...
A Logo Primer
-
originally
a robotic creature that moved around on the floor -
The turtle migrated to the computer screen where it lives as a
graphics object. - 2 more annotations...
Papers and presentations about Elica
-
Programming as Poetry (The Power
of Simplicity in Programming) -
Elica Logo and Objects
日本UI之神-Takeo Igarashi
-
好的UI當然有它的創新之處,但是對使用者來說,越簡便的UI所意味的也就是背後越複雜的運算和演算法。像是剛剛Igarashi所提出的利用2D sketch來產生3D物件,如果只是想到還不夠,還要實作出來,實作出一個讓大家覺得這真是一個好的UI介面。這個換作是一個沒有任何圖學背景的人,能夠做出來嗎?當然不行。
StarLogo TNG
-
StarLogo as a tool to create and understand simulations of complex systems
-
Create compelling 3D worlds that encompass rich games and simulations
- 1 more annotations...
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in graphics
-
Graphic Design
Links pertaining to the gra...
Items: 142 | Visits: 123
Created by: April Michelson
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo


