[go: up one dir, main page]

TWI264674B - A handwriting pen capable of simulating different strokes - Google Patents

A handwriting pen capable of simulating different strokes Download PDF

Info

Publication number
TWI264674B
TWI264674B TW92125437A TW92125437A TWI264674B TW I264674 B TWI264674 B TW I264674B TW 92125437 A TW92125437 A TW 92125437A TW 92125437 A TW92125437 A TW 92125437A TW I264674 B TWI264674 B TW I264674B
Authority
TW
Taiwan
Prior art keywords
parameter
data
main
formula
generation module
Prior art date
Application number
TW92125437A
Other languages
Chinese (zh)
Other versions
TW200512653A (en
Inventor
Chen-Duo Liu
Original Assignee
Acer Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Acer Inc filed Critical Acer Inc
Priority to TW92125437A priority Critical patent/TWI264674B/en
Priority to US10/823,748 priority patent/US7310091B2/en
Publication of TW200512653A publication Critical patent/TW200512653A/en
Application granted granted Critical
Publication of TWI264674B publication Critical patent/TWI264674B/en

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Position Input By Displaying (AREA)

Abstract

The handwriting pen according to the present invention comprises a pen nib; a position detector for detecting a main position coordinate of the pen nib on a handwriting board so as to generate a main position data; a pressure detector for detecting the pressure of the pen nib exerted on the handwriting board so as to generate a pressure value. The handwriting pen is connected to a main system via a signal transmission line, and used for transmitting the main position data and the pressure value to the main system via the signal transmission line. The main system has a stroke simulation device for processing the main position data and the pressure value so as to simulate different strokes. The stroke simulation device comprises a pressure-radius transformation module for receiving the pressure value and transforming the pressure value into a radius data; a positive vector generation module for receiving the main position data, and generating a positive vector data according to the main position data; a density position generation module connected to the pressure-radius transformation module and the positive vector generation module for generating a plurality of density position data in the direction of the positive vector of the main position data according to the radius data and the positive vector data so as to represent a plurality of density position coordinates; and a stroke generation module for drawing a main line according to the main position data of the pen nib at different times, and drawing a plurality of density lines according to the density position data. The main position data is corresponding to a plurality of density position data.

Description

1264674 玖、發明說明: 【發明所屬之技術領域】 本發明係關於一種手寫筆,尤其係關於一種可 模擬不同筆觸之手寫筆。 【先前技術】 近幾年來,手寫裝置已經成為愈來愈普遍的輸入 裝置。一般而言,手寫裝置係包含一個手寫板以及 一支手寫筆,使用者可以利用手寫筆在手寫板上書 寫,以取代利用鍵盤輸入資料的方式。常見的手寫 裝置包含Tablet PC,其具有一平板手寫液晶螢幕 以及一電磁感應式觸控筆(有線/無線),以及 WACOM數位版、繪圖版,其包含感應式繪圖板(數 位版)以及(有線/無線)感應筆。除此之外,使 用者必須安裝辨識軟體,例如Photoshop等繪圖軟 體,於電腦中,以用來辨識使用者利用手寫裝置所 輸入的文字。 辨識軟體必須辨識出手寫筆在手寫板上之位 置,即座標位置(X,Y )以及使用者書寫的力道, 即壓力值Z,才可以模擬出不同風格的筆觸。然而, 7 1264674 由於所獲得的資料有限,因此,目前的繪圖軟體, 例如 Photoshop、CorelDraw、Painter 等,在模擬 筆觸之功能上仍有很大的不足之處。 【發明内容】 因此,本發明之主要目的在於提供一種可模擬 不同筆觸之手寫筆,其可以根據使用者之書寫力道 模擬出不同的筆觸風格,使得繪圖軟體之模擬筆觸 的功能更趨完備。 本發明之手寫筆包含一筆尖;一位置感測器, 用來感測筆尖在^一手寫板上之主要位置座標,以產 生一主要位置資料;一壓力感測器,用來感測筆尖 施加於手寫板上之壓力,以產生一壓力值。手寫筆 係經由一訊號傳輸線連接於一主系統,並且經由訊 號傳輸線,將主要位置資料以及壓力值傳送至主系 統。主系統具有一筆觸模擬裝置,用來處理主要位 置資料以及壓力值,以模擬出不同之筆觸。筆觸模 擬裝置包含一壓力-半徑轉換模組’用來接收壓力 值,並且將壓力值轉換成一半徑資料;一正向量產 生模組,用來接收主要位置資料,並且根據主要位 8 12646741264674 发明, 发明 发明 发明: The present invention relates to a stylus, and more particularly to a stylus that can simulate different strokes. [Prior Art] In recent years, handwriting devices have become an increasingly popular input device. In general, the handwriting device includes a tablet and a stylus, and the user can use the stylus to write on the tablet instead of using the keyboard to input data. A common handwriting device includes a Tablet PC with a flat-panel handwritten LCD screen and an electromagnetic induction stylus (wired/wireless), as well as a WACOM digital version, a drawing version, which includes an inductive tablet (digital version) and (wired) /Wireless) sensor pen. In addition, the user must install recognition software, such as Photoshop and other graphics software, in the computer to identify the text entered by the user using the handwriting device. The recognition software must recognize the position of the stylus on the tablet, that is, the coordinate position (X, Y) and the force written by the user, that is, the pressure value Z, to simulate different styles of strokes. However, 7 1264674 due to the limited data available, current drawing software, such as Photoshop, CorelDraw, Painter, etc., still have significant shortcomings in the function of simulating strokes. SUMMARY OF THE INVENTION Accordingly, it is a primary object of the present invention to provide a stylus that can simulate different strokes, which can simulate different stroke styles according to the user's writing force, so that the function of the analog stroke of the drawing software is more complete. The stylus of the present invention comprises a tip; a position sensor for sensing the main position coordinates of the pen tip on the tablet to generate a main position data; and a pressure sensor for sensing the tip application The pressure on the tablet to generate a pressure value. The stylus is connected to a host system via a signal transmission line, and the main location data and pressure values are transmitted to the host system via the signal transmission line. The main system has a touch analog device that processes the main position data and pressure values to simulate different strokes. The brush touch simulation device includes a pressure-radius conversion module for receiving the pressure value and converting the pressure value into a radius data; a positive vector generation module for receiving the main position data, and according to the main bit 8 1264674

置資料,產生一正向量資料;一疏密位置產生模 組,連接於壓力-半徑轉換模組與正向量產生模 組,用來根據半徑資料與正向量資料,以在主要位 置資料之正向量方向上,產生複數個疏密位置資 料,用來表示複數個疏密位置座標;以及一筆觸產 生模組,用來根據筆尖在不同時間之主要位置資 料,畫出一主線條,並且根據疏密位置資料,晝出 複數條疏密線條,其中每一主要位置資料係對應於 複數個疏密位置資料。 【實施方式】The data is generated to generate a positive vector data; a sparse position generating module is connected to the pressure-radius conversion module and the positive vector generating module for using the positive vector in the main position data according to the radius data and the positive vector data In the direction, a plurality of sparse position data are generated to represent a plurality of sparse position coordinates; and a touch generation module is used to draw a main line according to the main position data of the pen tip at different times, and according to the density The location data is extracted from a plurality of sparse lines, wherein each of the main location data corresponds to a plurality of sparse location data. [Embodiment]

請參考第1圖。第1圖為本發明之手寫筆10之 示意圖。手寫筆10係搭配一手寫板12來使用。如 圖所示,手寫筆10包含一筆尖11,而使用者利用 手寫筆1 0在手寫板1 2上所完成之筆劃1 4係由複 數個圓1 6所構成,而圓16之圓心係以0表示,而 其半徑則為@。 請參考第2圖。第2圖為圓16之半徑奴與壓力 值Ζ之關係圖。如圖所示,當使用者書寫力道愈大 時,即手寫筆10之壓力值Ζ愈大時,圓16之半徑奴 9 1264674 就會愈大。換句話說,根據不同的壓力值z,手寫 筆1 0會在不同之時間點產生大小不同之圓1 6於手 寫板1 2上,以形成筆觸1 4。其中,—^係預設之 最大半徑資料。 請參考第3圖。第3圖為本發明之手寫筆10連 接於主系統2 1之示意圖。手寫筆10包含一位置感 測器1 8,以及一壓力感測器20。位置感測器1 8係 用來感測筆尖11在手寫板1 2上之主要位置座標 G,以產生一主要位置資料。主要位置座標β即係 手寫筆1 0在時間&時所產生之圓1 6之圓心,其可 以表示為座標(尤,巧)。壓力感測器20係用來感測筆 尖11施加於手寫板12上之壓力,以產生一壓力值 Ζ 〇 手寫筆1 0係經由一訊號傳輸線(未顯示)連接 於主系統2 1,並且經由訊號傳輸線,將主要位置 資料以及壓力值傳送至主系統2 1。主系統具有一 筆觸模擬裝置23,例如,繪圖軟體或辨識軟體, 用來處理主要位置資料以及壓力值,以模擬出不同 之筆觸。 10 1264674Please refer to Figure 1. Fig. 1 is a schematic view of the stylus pen 10 of the present invention. The stylus 10 is used in conjunction with a tablet 12. As shown, the stylus 10 includes a pointed tip 11, and the strokes 14 that the user completes on the tablet 1 2 using the stylus 10 are composed of a plurality of circles 16 and the center of the circle 16 is 0 means, and its radius is @. Please refer to Figure 2. Figure 2 is a graph of the relationship between the radius slave and the pressure value of circle 16. As shown, the greater the user's writing strength, that is, the greater the pressure value of the stylus 10, the larger the radius slave 1 1264674 of the circle 16. In other words, according to different pressure values z, the stylus 10 will produce a circle 16 of different sizes on the handwriting board 1 2 at different points in time to form the stroke 14 . Among them, -^ is the preset maximum radius data. Please refer to Figure 3. Fig. 3 is a schematic view showing the stylus 10 of the present invention connected to the main system 21. The stylus 10 includes a position sensor 108 and a pressure sensor 20. The position sensor 18 is used to sense the main position coordinate G of the pen tip 11 on the tablet 1 2 to generate a main position data. The main position coordinate β is the center of the circle 16 generated by the stylus 10 at time & it can be expressed as a coordinate (especially, clever). The pressure sensor 20 is used to sense the pressure applied by the pen tip 11 to the tablet 12 to generate a pressure value. The stylus 10 is connected to the main system 2 1 via a signal transmission line (not shown) and via The signal transmission line transmits the main position data and the pressure value to the main system 2 1 . The main system has a touch simulation device 23, such as a drawing software or recognition software, for processing main position data and pressure values to simulate different strokes. 10 1264674

筆觸模擬裝置23包含一壓力-半徑轉招 22,一正向量產生模組24,一疏密位置J 26,以及一筆觸產生模組28。壓力-半徑! 2 2則係用來接收壓力值Z,並且利用一壓 轉換公式,將壓力值Z轉換成半徑資料α。 徑轉換公式係根據第2圖所示之半徑π與 之關係圖所取得的,其係表示為: w ~ f(z)= (Μαχω) 其中 ^/(0) = 0 /(1) = Μαχυτ 0<Ζ<1 正向量產生模組24係用來接收主要 料’並且根據主要位置資料,產生一正向 正向量產生模組24首先根據主要位置資3 筆尖1 1位於主要位置座標G上之瞬間方冷 算公式係表示為: V. -3 \°i ~ °i \ I ; 其中F/表示筆尖1 l在時間^之瞬間方向The stroke simulation device 23 includes a pressure-radius transition 22, a positive vector generation module 24, a sparse position J 26, and a touch trigger generation module 28. Pressure - radius! 2 2 is used to receive the pressure value Z, and uses a pressure conversion formula to convert the pressure value Z into a radius data α. The path conversion formula is obtained according to the relationship between the radius π and the graph shown in Fig. 2, which is expressed as: w ~ f(z) = (Μαχω) where ^/(0) = 0 /(1) = Μαχυτ 0<Ζ<1 positive vector generation module 24 is used to receive the main material' and generate a positive positive vector generation module 24 according to the main position data. First, according to the main position, the nib 1 1 is located on the main position coordinate G. The instantaneous square cooling formula is expressed as: V. -3 \°i ~ °i \ I ; where F/ indicates the tip of the nib 1 l at the moment of time ^

:模組 i生模組 專換模組 力-半徑 壓力-半 壓力值Z 位置資 量資料。 (斗以取得 J ,其計 11 1264674 筆尖11在時間&之主要位置座標,而G-1表示筆尖 > 1 1在時間(-1之主要位置座標。假設Vi = (x,y),則 正向量資料M=(U)。 疏密位置產生模組26係連接於壓力-半徑轉換 模組22與正向量產生模組24,用來根據半徑資料 … 奴與正向量資料Μ,以在主要位置座標Q之正向量 、 方向上,產生複數個疏密位置資料,以用來表示複 數個疏密位置座標〜。 請參考第4圖。第4圖顯示複數個疏密位置座 標~。疏密位置產生模組26係利用一疏密位置產 生公式來產生複數個疏密位置資料~。此公式係表 示為:: Module i-generation module Replacement module Force-radius Pressure-half pressure value Z Positional resource data. (Double to get J, its 11 11264674 nib 11 at the time & main position coordinates, and G-1 for nib > 1 1 at time (-1 main position coordinates. Suppose Vi = (x, y), Then, the positive vector data M=(U). The density position generating module 26 is connected to the pressure-radius conversion module 22 and the positive vector generation module 24 for using the radius data... In the positive vector and direction of the main position coordinate Q, a plurality of sparse position data are generated to represent a plurality of sparse position coordinates ~. Please refer to Fig. 4. Fig. 4 shows a plurality of sparse position coordinates ~. The dense position generating module 26 uses a sparse position generating formula to generate a plurality of sparse position data. This formula is expressed as:

b 〇i+m(l.iyNi η 其中,Oi表示筆尖11在時間&之主要位置座標, 极為半徑資料,Ni為正向量資料,η為一系統預設 值,用來決定疏密位置資料之個數,而bi,j表示 第i個主要位置座標之第j個疏密位置座標。其 中,手寫筆1 0所繪出之筆劃1 4係包含m個主要位 置資料,而每一個主要位置資料係對應於Μ固疏密 12 1264674 位置資料。如圖所示,主要位置座標係對應於複 數個疏密位置座標bi,j。 請參考第5圖。第5圖顯示主線條[以及疏密線 條&〜。筆觸產生模組28係用來根據筆尖11在不 同時間1、&、~+1之主要位置座標G、G+1 ’畫 出主線條1,並且根據疏密位置座標^, 畫出疏密線條Zl〜〖°。如圖所示,每一主要位置座標 係對應於1 0個疏密位置座標。 請參考第6圖。第6圖為筆觸產生模組28之筆 觸產生方法30之流程圖。筆觸產生模組28係利用 筆觸產生方法3 0來產生主線條Z以及疏密線條 心〜。〇假設主線條Μ系由m個主要座標位置所組成, 而每一主要位置座標係對應於Μ固疏密位置座標。 如第5圖所示,在此例中,w = 3,而” =1 0 〇 在步驟32中,筆觸產生模組28會計算第Μ固與 第/ + 1個位置座標之切線向量C與C+i,其公式為: |7: ;其中匕表示第/ + 1個位置座標,而巧b 〇i+m(l.iyNi η where Oi represents the coordinates of the main position of the nib 11 at time & extreme radius data, Ni is a positive vector data, and η is a system preset value used to determine the density position The number of data, and bi, j represents the jth sparse position coordinate of the i-th main position coordinate. Among them, the strokes drawn by the stylus 10 are composed of m main position data, and each main The position data corresponds to the location information of the tamping and sparse 12 1264674. As shown in the figure, the main position coordinates correspond to a plurality of sparse position coordinates bi, j. Please refer to Figure 5. Figure 5 shows the main line [and The dense line &~. The stroke generation module 28 is used to draw the main line 1 according to the main position coordinates G, G+1 ' of the nib 1 at different time 1, &, ~ +1, and according to the density position coordinate ^, Draw the dense lines Zl~〖°. As shown in the figure, each major position coordinate corresponds to 10 sparse position coordinates. Please refer to Figure 6. Figure 6 is the stroke of the stroke generation module 28. A flowchart of the method 30 is generated. The stroke generation module 28 is produced by using the stroke generation method 30. The main line Z and the dense line heart ~. 〇 Assume that the main line Μ is composed of m main coordinate positions, and each main position coordinate system corresponds to the tamping density position coordinates. As shown in Fig. 5, here In the example, w = 3, and " =1 0 〇 In step 32, the stroke generation module 28 calculates the tangent vectors C and C+i of the third solid and the / + 1 position coordinates, the formula is: | 7: ; where 匕 indicates the / + 1 position coordinates, and Qiao

[a e [0?1J 表示第/個位置座標。 13 1264674 在步驟3 4中,筆觸產生模組2 8會利用混合函數 (Blending functions)以計算第〖_個與第i + 1個位置 座標間之内插值,此混合函數係表示為: hx(s)=2s3 -3s2+1 h2(s)=-2s3 ^-Ss2 < h3(s) = s3 -2s2 +s h4(s)= s3 -s2 0 < ^ < 1 在步驟36中,筆觸產生模組28會獲得一基數曲 ·% 線(Cardinal Splines Curve),其公式為: 5 =月 *Λ3+ί·+1*/ζ4。[a e [0?1J represents the / position coordinate. 13 1264674 In step 3 4, the stroke generation module 28 uses the Blending functions to calculate the interpolated value between the first and the i + 1 position coordinates. The mixed function is expressed as: hx( s)=2s3 -3s2+1 h2(s)=-2s3 ^-Ss2 < h3(s) = s3 -2s2 +s h4(s)= s3 -s2 0 < ^ < 1 In step 36, The stroke generation module 28 obtains a Cardinal Splines Curve having the formula: 5 = month * Λ 3 + ί · +1 * / ζ 4.

最後,在步驟3 8中,筆觸產生模組28會計算出 第/個與第/ + 1個位置座標之間之中間座標位置,並 且將所有的座標位置連接起來,以產生一平順之曲 線。此中間座標位置之計算公式為: P = S^h*C ;其中 s3 飞- I "2 -2 1 1 ' S = S1 C = h = - 3 3 - 2 -1 S1 0 0 1 0 _1 _ _ 1 0 0 0_ 請參考第7圖。第7圖為筆觸產生模組28所產 生之筆觸之示意圖。在筆觸產生模組28利用筆觸 14 1264674 產生方法3 0連接所有主要位置座標以畫出主線 條,並且連接所有疏密位置座標以晝出所有的疏密 線條之後,就可以產生如第7圖所示之筆觸。 此外,筆觸產生模組2 8另包含各種不同的參數 產生模組,用來產生不同的參數設定,以模擬出不 同的筆觸風格。 請參考第8圖。第8圖筆觸產生模組28之示意 圖。筆觸產生模組28包含一顏色參數產生模組 40、一速率參數產生模組42、一速率-顏色參數產 生模組44、一深淺參數產生模組46、一渲染參數 產生模組48、一間斷參數產生模組50,以及一筆 觸顏色參數產生模組52。 顏色參數產生模組40係用來藉由一亂數產生 模組(未顯示)來產生對應於主要位置資料與疏密 位置資料之顏色參數,以決定主線條1以及疏密線 條^〜Zl°上之各位置點之顏色。顏色參數產生模組係 利用一顏色參數產生公式來產生顏色參數Λ。此公 式係表示為: 15 Γ1264674 ‘,」 丨科7 ;::忠_更 ρ丨 + |raW〇|%(广2 - a + 1) 其中 :其中A與仏係系統預設值。Finally, in step 38, the stroke generation module 28 calculates the intermediate coordinate position between the //th and +1 position coordinates, and joins all of the coordinate positions to produce a smooth curve. The calculation of this intermediate coordinate position is: P = S^h*C; where s3 is flying - I "2 -2 1 1 ' S = S1 C = h = - 3 3 - 2 -1 S1 0 0 1 0 _1 _ _ 1 0 0 0_ Please refer to Figure 7. Figure 7 is a schematic illustration of the strokes produced by the brushstroke generating module 28. In the stroke generation module 28, the strokes 14 1264674 generation method 30 are used to connect all the main position coordinates to draw the main lines, and all the dense position coordinates are connected to extract all the dense lines, and then the image is generated as shown in FIG. Show the strokes. In addition, the stroke generation module 28 further includes various parameter generation modules for generating different parameter settings to simulate different stroke styles. Please refer to Figure 8. Figure 8 is a schematic representation of the stroke generation module 28. The stroke generation module 28 includes a color parameter generation module 40, a rate parameter generation module 42, a rate-color parameter generation module 44, a depth parameter generation module 46, a rendering parameter generation module 48, and a break. The parameter generation module 50 and the touch color parameter generation module 52. The color parameter generating module 40 is configured to generate a color parameter corresponding to the main position data and the dense position data by a random number generating module (not shown) to determine the main line 1 and the dense line ^~Zl° The color of each point on the top. The color parameter generation module generates a color parameter using a color parameter generation formula. This formula is expressed as: 15 Γ1264674 ‘,” 丨科 7 ;::忠_更 ρ丨 + |raW〇|%(广2 - a + 1) where : where A and the system default.

Pi ^ pt ^ Pi ΙΑ,Pi e [0,255] -般而言’ Θ與广2之值會設定得較為接近’以免 落差過大 速率參數產生模組42係用來產生對應於主要 位置資料與疏密位置資料之速率參數,以表示手寫 筆10在每一位置點上之瞬間速率。速率參數產生 模組42係利用一速率參數產生公式來產生速率參 數Ζ。此公式係表示為: F 二/(V) ^max_3VmaxV + 2v 其中v表示手寫筆10在主要位置座標之瞬間速 率,而vmax表示一預設之最大速率值。 當書寫時,因為瞬間速率的不同而使得筆墨有 不同濃淡的表現。一般而言,瞬間速率愈大時,筆 墨的顏色會愈淡。因此,速率-顏色參數產生模組 44係用來根據顏色參數以及速率參數,產生一速 率-顏色參數,以呈現上述瞬間速率與筆墨濃淡之 關係。速率-顏色參數產生模組4 4係利用--速率_ 16 1264674 公 此 ο Λ 數 參 色 顏 率 IPL· 生 產 來 式 公 生 產 數 參 色 顏 為 示 表 係 式Pi ^ pt ^ Pi ΙΑ, Pi e [0,255] - Generally speaking, the values of Θ and 广2 will be set closer to each other to avoid excessive drop rate parameter generation module 42 is used to generate data corresponding to the main position and density The rate parameter of the location data to indicate the instantaneous rate of the stylus 10 at each location. The rate parameter generation module 42 uses a rate parameter generation formula to generate a rate parameter Ζ. This formula is expressed as: F 2 / (V) ^ max_3VmaxV + 2v where v represents the instantaneous rate of the stylus 10 at the main position coordinates, and vmax represents a preset maximum rate value. When writing, the pen and ink have different shades because of the different instantaneous speeds. In general, the higher the instantaneous rate, the lighter the color of the ink. Therefore, the rate-color parameter generation module 44 is operative to generate a rate-color parameter based on the color parameter and the rate parameter to present the relationship between the instantaneous rate and the ink level. Rate-color parameter generation module 4 4 uses - rate _ 16 1264674 ο Λ 参 IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP IP

Λ II ’A ljl z 值 力 壓 據 根 來 用 係 6 4 組 模 生 L St 數 ο 參 淺 深 生對應於主要位置資料與疏密位置資料之深淺參 數。毛筆或水彩筆等軟性筆在書寫或繪晝時,通常 會有愈描愈淡的現象。因此,主要位置資料會具有 最大之深淺參數,而距離主要位置資料愈遠之疏密 位置資料則具有愈小之深淺參數,使得主線條1最 深,而距離主線條1愈遠的疏密線條則愈淺,以呈 現出濃度變淡的情況。 一般而言,當壓力愈小時,也就是書寫的施力 愈小時,筆觸濃度變淡的情況會愈明顯,而當壓力 愈大時,筆觸濃度變淡的情況則愈不明顯。例如, 當用力書寫時,筆劃的濃度通常會特別濃且均勻, 即幾乎沒有變淡的情況發生。因此,如上所述,深 淺參數產生模組46係根據壓力值Z來產生深淺參 數。 此外,深淺參數產生模組46係利用一深淺參數 17 1264674 產生公式來產生深淺參數2。此公式係表示為: -Λ)(ι_π)+Λ);其中α係一個由使用者定義之常 數,而Ζ為壓力值,Α為深淺參數的預設值。 由於,當書寫的施力很大時,筆劃的濃度會特 別濃,且會非常均勻,幾乎沒有變淡的情況發生, 因此,在上述公式中,當壓力值大於一預定值時, 深淺參數會係一個常數。 一般而言,毛筆與水彩筆在書寫與繪晝時,都 會呈現渲染或擴張的現象,因此,每一筆觸線條會 有不同的粗細程度。當筆尖停留的時間愈久,渲染 的程度就會愈大,而渲染參數產生模組48就是用 來模擬此渲染現象。 渲染參數產生模組48係用來根據主要位置資 料以及半徑資料奴產生複數個渲染位置資料,以表 示複數個渲染位置座標。 請參考第9圖。第9圖係渲染位置座標%之示意 圖。每一主要位置資料係對應於複數個渲染位置資 料,即每一個主要位置座標G係對應於複數個渲染 位置座標%。渲染參數產生模組48包含一渲染參數 18 1264674 d,用來決定每兩個渲染位置座標%之間之距離, 並且利用一渲染位置產生公式來產生渲染位置座 標,以使得距離主要位置座標α愈遠之渲染位置座 標%之間之距離愈小。此公式係表示為: ^- = DV2q dt ; 其中此公式係利用有限差分法(finite difference m e t h o d )來展開如下:Λ II ’A ljl z value force pressure is used to generate the L St number of the group 4 ο 浅 浅 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深 深When a soft pen such as a brush or a watercolor pen is written or painted, it usually has a lighter appearance. Therefore, the main position data will have the largest depth parameter, and the farther the distance data from the main position data has the smaller depth parameter, so that the main line 1 is the deepest, and the dense line from the main line 1 is farther. The lighter, the lower the concentration. In general, the lower the pressure, that is, the less the writing force is applied, the more noticeable the pen-feet concentration becomes, and the smaller the pressure, the less noticeable the pen-feet concentration becomes. For example, when writing with force, the concentration of the stroke is usually particularly thick and uniform, that is, almost no lightening occurs. Therefore, as described above, the deep parameter generation module 46 generates the shallow and shallow parameters based on the pressure value Z. In addition, the depth parameter generation module 46 generates a formula for generating the depth parameter 2 by using a shallow parameter 17 1264674. This formula is expressed as: -Λ)(ι_π)+Λ); where α is a constant defined by the user, and Ζ is the pressure value, and Α is the preset value of the depth parameter. Because, when the writing force is large, the concentration of the stroke will be extremely thick, and it will be very uniform, and almost no lightening will occur. Therefore, in the above formula, when the pressure value is greater than a predetermined value, the depth parameter will Is a constant. In general, both the brush and the watercolor pen will be rendered or expanded when writing and painting, so each stroke will have a different thickness. The longer the pen tip stays, the greater the rendering will be, and the render parameter generation module 48 is used to simulate this rendering phenomenon. The rendering parameter generation module 48 is configured to generate a plurality of rendering position data based on the main position data and the radius data slave to represent a plurality of rendering position coordinates. Please refer to Figure 9. Figure 9 is a schematic diagram of the % of the rendered position coordinates. Each of the main position data corresponds to a plurality of rendering position data, that is, each main position coordinate G corresponds to a plurality of rendering position coordinates %. The rendering parameter generation module 48 includes a rendering parameter 18 1264674 d for determining the distance between each of the two rendering position coordinates, and using a rendering position generation formula to generate a rendering position coordinate such that the distance from the main position coordinate α The distance between the coordinates of the far rendering position is smaller. This formula is expressed as: ^- = DV2q dt ; where this formula is developed using the finite difference method (finite difference m e t h o d ) as follows:

1 气广-从 +gJ qi+l = + 2Dt · qM ~ 4Dtqt + IDtq^ f \ \ ^ = 7-Τ7Γ; (-4^.+(1+ 2D〇^m) 一 j 0 如上所述,在超過半徑奴以外之範圍,會計算 出複數個渲染位置座標,而渲染位置座標之間之間 距會漸漸變小,最後會趨近於零。因此,在筆觸形 成的時候,會呈現筆觸向外增長的現象,而增長速 率會漸漸緩慢,最後趨近於零。根據渲染參數β的 不同設定,其增長速率變化也會有不同,進而呈現 出不同的渲染現象。 以上為模擬渲染現象的位置變化,至於顏色值 的變化,也可以套用上述公式來求得渲染現象的顏 19 1264674 色變化。因此,上述之每一渲染位置資料係對應於 一渲染顏色資料,而渲染參數產生模組4 8同樣會 利用渲染參數D,以決定每兩個渲染顏色資料之間 之顏色變化,並且利用上述公式來產生渲染顏色資 料,以使得距離主要位置資料愈遠之渲染位置資料 之渲染顏色資料之間之差異愈小。因此,會呈現出 顏色漸漸變淡的渲染效果。 此外,筆劃1 4會因為毛筆或水彩筆的材質不 同,而產生間斷的現象,即筆劃14的某些部分會 是空白的,而間斷參數產生模組50則係用來模擬 此間斷現象。 間斷參數產生模組50會產生對應於主要位置 資料與疏密位置資料之間斷參數,以決定主要位置 資料與疏密位置資料是否會被顯現。間斷參數產生 模組5 0包含一預設之間斷參數設定表,具有複數 個間斷參數,以對應於主要位置資料與疏密位置資 料。當間斷參數為第一值時,其所對應之位置資料 會被顯現出來,而當間斷參數為第二值時,其所對 應之位置資料則不會被顯現出來。 20 1264674 因此,藉由間斷參數的設定,筆劃14中的某些 位置點會是空白的,使得線條呈現間斷的現象。間 斷參數d可以表示為: d = dTable(i) ·,其中 d e [0,1]。 當間斷參數為0時,其所對應之位置資料所代 表的位置點會是空白的,而當間斷參數為1時,其 所對應之位置資料所代表的位置點會顯現出來。 除了利用上述之個別的參數產生模組來產生參 數設定之外,筆觸產生模組2 8還包含一個筆觸顏 色參數產生模組52,以結合上述之數個參數以產 生一個筆觸顏色參數。 筆觸顏色參數產生模組5 2係根據顏色參數產 生模組40所產生之顏色參數A、速率參數產生模 組42所產生之速率參數「、深淺參數產生模組46 所產生之深淺參數^,以及間斷參數產生模組5 0 所產生之間斷參數d,以產生一筆觸顏色參數。筆 觸顏色參數產生模組52係利用一筆觸顏色參數產 生公式來計算出筆觸顏色參數。此公式係表示 為: 21 1264674 如上所述’手寫筆ίο所繪出之筆劃14係包含所個 主要位置資料,而每一個主要位置資料係對應於^ 個疏密位置資料,而k表示第i個主要位置座^之 第j個疏密位置座標所對應之筆觸顏色參數。 請參考第1〇圖。第1〇圖為不同筆觸之示意圖。 利用本發明之手寫筆10可以模擬出不同之筆觸, 圖中所示只是其中的兩種,而 擬出來的筆觸; 而主系統21會將所模 雖然本發明已參照較佳 述,惟其應不被認為其係p 在不離開本發明之範圍内 體例之内容作各種修改、1 gas wide - from +gJ qi + l = + 2Dt · qM ~ 4Dtqt + IDtq^ f \ \ ^ = 7-Τ7Γ; (-4^.+(1+ 2D〇^m) a j 0 as mentioned above, In the range beyond the radius slave, the calculation of a plurality of rendering position coordinates, and the distance between the coordinates of the rendering position will gradually become smaller, and finally will approach zero. Therefore, when the stroke is formed, the brush stroke will grow outward. The phenomenon, while the growth rate will gradually slow down, and finally approach zero. According to the different settings of the rendering parameters β, the growth rate will change differently, and then present different rendering phenomena. The above is the position change of the simulation rendering phenomenon, As for the change of the color value, the above formula can also be used to obtain the color change of the color phenomenon of the rendering phenomenon. Therefore, each of the above-mentioned rendering position data corresponds to a rendering color data, and the rendering parameter generating module 48 will also Use the rendering parameter D to determine the color change between each of the two rendered color data, and use the above formula to generate the rendered color data so that the rendering location data is further away from the main location data. The smaller the difference between the color data, the lower the color will be rendered. In addition, the stroke 14 will have a discontinuous phenomenon due to the different materials of the brush or the watercolor pen, that is, some parts of the stroke 14. It will be blank, and the discontinuous parameter generation module 50 is used to simulate the discontinuity phenomenon. The discontinuous parameter generation module 50 generates an interrupt parameter corresponding to the main position data and the dense position data to determine the main position data and the sparseness. Whether the secret position data will be displayed. The discontinuous parameter generating module 50 includes a preset discontinuous parameter setting table having a plurality of discontinuous parameters corresponding to the main position data and the sparse position data. When the discontinuous parameter is the first value When the corresponding position data is displayed, when the discontinuous parameter is the second value, the corresponding position data will not be revealed. 20 1264674 Therefore, by setting the discontinuous parameter, stroke 14 Some of the position points will be blank, causing the lines to appear intermittent. The discontinuity parameter d can be expressed as: d = dTable(i) ·, where de [0 , 1] When the discontinuity parameter is 0, the position point represented by the corresponding position data will be blank, and when the discontinuity parameter is 1, the position point represented by the corresponding position data will appear. In addition to using the individual parameter generation modules described above to generate parameter settings, the stroke generation module 28 further includes a stroke color parameter generation module 52 to combine the above parameters to generate a stroke color parameter. The parameter generation module 52 is based on the color parameter A generated by the color parameter generation module 40, the rate parameter generated by the rate parameter generation module 42, the depth parameter generated by the depth parameter generation module 46, and the discontinuous parameter. The discontinuity parameter d generated by the module 50 is generated to generate a touch color parameter. The stroke color parameter generation module 52 calculates a stroke color parameter using a touch color parameter generation formula. This formula is expressed as: 21 1264674 As described above, the strokes drawn by the stylus ίο contain the main location data, and each primary location data corresponds to ^ sparse location data, and k represents the i The stroke color parameter corresponding to the jth sparse position coordinate of the main position seat ^. Please refer to the first map. The first picture is a schematic diagram of different strokes. The stylus 10 of the present invention can simulate different strokes, only two of which are shown in the figure, and the proposed strokes; and the main system 21 will be the model, although the invention has been referred to the preferred description, but it should not It is considered that the system p is modified in various ways without departing from the scope of the invention.

附圖敘 限制性者。熟悉本技藝者 ^可對其形態及特殊具 省略及變化。 22 1264674 【圖式簡單說明】 第1圖為本發明之手寫筆之示意圖。 第2圖為圓之半徑與壓力值之關係圖。 第 3圖為本發明之手寫筆連接於主系統之示意 圖。 第4圖顯示複數個疏密位置座標。 第5圖顯示主線條以及疏密線條。 第 6圖為筆觸產生模組之筆觸產生方法之流程 圖。 第7圖為筆觸產生模組所產生之筆觸之示意圖。 第8圖筆觸產生模組之示意圖。 第9圖係渲染位置座標之示意圖。 第10圖為不同筆觸之示意圖。 23 1264674 【元件 符號. 表 】 10 手: 寫: 筆 11 筆 尖 12 手 寫 板 14 筆 劃 16 圓 18 位 置 感 測 器 20 壓 力 感 測 器 21 主 系 統 22 壓 力 -半徑轉換模組 23 筆 觸 模 擬 裝置 24 正 向 量 產 生模組 26 疏 密 位 置 產生模組 28 筆 觸 產 生 模組 40 顏 色 參 數 產生模組 42 速 率 參 數 產生模組 44 速 率 -顏色參數產生模組 46 深 淺 參 數 產生模組 48 渲 染 參 數 產生模組 24 1264674 50 間斷參數產生模組 5 2 筆觸顏色參數產生模組 25BRIEF DESCRIPTION OF THE DRAWINGS Those skilled in the art can omit and change their form and special features. 22 1264674 [Simple description of the drawings] Fig. 1 is a schematic view of the stylus of the present invention. Figure 2 is a plot of the radius of the circle versus the pressure value. Fig. 3 is a schematic view showing the stylus of the present invention connected to the main system. Figure 4 shows a plurality of sparse position coordinates. Figure 5 shows the main lines and the dense lines. Fig. 6 is a flow chart showing a method of generating a stroke of a stroke generating module. Figure 7 is a schematic diagram of the strokes produced by the brushstroke generating module. Figure 8 is a schematic diagram of the stroke generation module. Figure 9 is a schematic diagram of the rendering position coordinates. Figure 10 is a schematic diagram of different strokes. 23 1264674 [Component Symbol. Table] 10 Hand: Write: Pen 11 Nib 12 Tablet 14 Stroke 16 Circle 18 Position Sensor 20 Pressure Sensor 21 Main System 22 Pressure-Radius Conversion Module 23 Stroke Simulator 24 Positive Vector Generation module 26 sparse position generation module 28 stroke generation module 40 color parameter generation module 42 rate parameter generation module 44 rate-color parameter generation module 46 depth parameter generation module 48 rendering parameter generation module 24 1264674 50 Intermittent parameter generation module 5 2 stroke color parameter generation module 25

Claims (1)

1264674 拾、申請專利範圍 1. -種筆觸模擬裝置,安裝於一主系統内,該主系統係經由一訊號 傳輸線連接於一手寫筆,該手寫筆包含: 一筆尖; -位置感測H,用來感繼筆尖在—手寫板上之主要位置座標, 以產生一主要位置資料; 壓力感測器,用來感測該筆尖施加於該手寫板上之壓力,以產 生一壓力值; 其中該手寫筆會將社要位«料以及該壓力值,經由該訊號傳 輸線傳送至該主系統; 該筆觸模擬裝置包含·· 一壓力-羊徑轉換模組,用來接收該壓力值,並且將該壓力值轉換 成一半徑資料; 一正向量產生模組,用來接收該主要位置資料,並且根據該主要 位置資枓,產生一正向量資料; 一疏密位置產生模組,連接於該壓力-半徑轉換模組與該正向量產 生模組’用來根據該半徑資料與該正向量資料,以在該主要位置 t料之正向量方向上,產生複數個疏密位置資料,用來表示複數 個疏密位置座標;以及 26 46741264674 Picking up, patent application range 1. A pen touch simulation device, installed in a main system, the main system is connected to a stylus via a signal transmission line, the stylus includes: a tip; - position sensing H, with To sense the position of the nib on the main position of the pen to generate a main position data; a pressure sensor for sensing the pressure applied by the nib to the tablet to generate a pressure value; wherein the handwriting The pen will send the material and the pressure value to the main system via the signal transmission line; the stroke simulation device includes a pressure-sheep path conversion module for receiving the pressure value and the pressure value Converting into a radius data; a positive vector generation module for receiving the primary location data, and generating a positive vector data according to the primary location resource; a sparse location generation module coupled to the pressure-radius conversion module The group and the positive vector generation module are configured to generate a complex number according to the radius data and the positive vector data in a positive vector direction of the main position Location data density, density is used to indicate a plurality of location coordinates; and 264 674 1觸產生模組,用來根據縣尖在不同時間之主要位置資料, 〜出主線條,並且根據該疏密位置:㈣,晝出複數條疏密線條, 其中每一主要位置資料係對應於複數個疏密位置資料。 如申請專利_第丨_述之_模擬裝置,其中該主系統之壓 力-半徑轉換模組係利用—壓力.半徑轉換公式,將該壓力值2轉換 成戎半徑資料仿,該公式係表示為: ^ = /(ζ)=(Μαχ^τ)*ί gll!、 U-1 J 其中 '/(0) = 〇 ; /(1) = Maxm 0 幺 ζ<1 其中施χπτ係預設之最大半徑資料。 3.如申請專概圍第2項所述之筆觸模擬裝置,其中該正向量產生 模組首先根據該主要位置資料以取得該筆尖位於該主要位置座標 上之瞬間方向,其計算公式係表示為: V. 一0丨—〇“ · 其中表橘筆尖在時間,,+之瞬間方向,0,表示該筆尖在時心之 主要位置座標,而I表示鱗尖麵faH1之主要位置座標; 假設d,叨,則該正向量資料ΛΓί=(—y,x)。 4·如申請專利範圍第3項所述之筆觸模擬裝置,其中該疏密位置產 27 1264674 生模組係利用一疏密位置產生公式來產生該複數個疏密位置資 料,該公式係表示為: by = 〇i + 历、二-'、· η 其中,0/表示該筆尖在時間[·之主要位置座標,极為該半徑資料, W為該正向量資料,η為一系統預設值,用來決定該疏密位置資料 之個數,而心表示第/個主要位置座標之第)個疏密位置座標; 其中該手寫筆所繪出之一筆劃係包含⑺個主要位置資料,而每一 籲% 個主要位置資料係對應於w個疏密位置資料。 5·如申請專利範圍第4項所述之筆觸模擬裝置,其中該筆觸產生模 組係利用-筆觸產生方法來產生該主線條以及該複數條疏密線 條,假e又a亥主線條係由m個主要座標位置所組成,而每一主要位 置座標係對應於w個疏密位置座標,該方法包含:The 1 touch generation module is used to select the main position data of the county tip at different times, and to exit the main line, and according to the density position: (4), a plurality of sparse lines are extracted, wherein each main position data corresponds to A plurality of sparse location data. For example, the patent application _ _ _ _ simulation device, wherein the pressure-radius conversion module of the main system uses the pressure-radius conversion formula to convert the pressure value 2 into a 戎 radius data simulation, the formula is expressed as : ^ = /(ζ)=(Μαχ^τ)*ί gll!, U-1 J where '/(0) = 〇; /(1) = Maxm 0 幺ζ<1 where χπτ is the preset maximum Radius data. 3. The stroke simulation device of claim 2, wherein the positive vector generation module first obtains the instantaneous direction of the nib on the coordinate of the main position according to the main position data, and the calculation formula is expressed as : V. 一0丨—〇” · where the tip of the orange tip is at the time, the direction of the moment of +, 0, indicating the coordinates of the main position of the tip of the heart, and I is the coordinate of the main position of the facial surface faH1; , 叨, the positive vector data ΛΓ ί = (-y, x). 4. The brush stroke simulation device according to claim 3, wherein the sparse position produces 27 1264674 raw modules using a sparse position A formula is generated to generate the plurality of sparse position data, the formula is expressed as: by = 〇i + calendar, two-', · η where 0/ represents the coordinates of the nib at the main position of the nib Radius data, W is the positive vector data, η is a system preset value, used to determine the number of the sparse position data, and the heart represents the first) sparse position coordinates of the first main position coordinate; One stroke drawn by the stylus Contains (7) main location data, and each of the main location data corresponds to w sparse location data. 5. The brushstroke simulation device of claim 4, wherein the brushstroke generation module utilizes a stroke generation method for generating the main line and the plurality of sparse lines, the false e and a ha main lines are composed of m main coordinate positions, and each main position coordinate system corresponds to w sparse position coordinates, The method includes: 計算第/個與第i + 1個位置座標之切線向量^與心,其公式為: \a = [〇,l] 其中f+1表示第Ζ + l個位置座標,而4表示第卜丨個位置座標; 利用混合函數(Blending ftmctions)以計算第,與第“嗰位置座 標間之内插值,該混合函數係表示為: 28 1264674 hx(^) ~ 2s3" — 3^2 +1 h2{s)= —2s3 + 3^2 < h3(s) = s3 -2s2 -\-s ; h4(s) = s3 -s2 0<s<l 獲得一基數曲線(Cardinal Splines Curve ),其公式為: 戶=月* A +月+1 * +力* /z3 +匀+1 * \ ;以及 計算出第/個與第/ + 1個位置座標之間之中間座標位置,並且將所 有的座標位置連接起來,以產生一平順之曲線,該中間座標位置 之計算公式為: P = S*h*C ; 其中 S = S3 "2 - 2 1 Γ S2 C = h — - 3 3 -2 -1 S1 Tt 0 0 1 0 _ 1 _ 一 1 0 0 0_ 6.如申請專利範圍第1項所述之筆觸模擬裝置,其中該筆觸產生模 組包含: 一顏色參數產生模組,用來藉由一亂數產生模組來產生對應於該 主要位置資料與該疏密位置資料之顏色參數。 7.如申請專利範圍第6項所述之筆觸模擬裝置,其中該顏色參數產 生模組係利用一顏色參數產生公式來產生該顏色參數Λ,該公式 29 _ .... 係表示為: P/ u INw()|0/〇( p2 - A + i) <其中 · p\ ^ P, < p2 h,A e [0,255] 其中/^與>〇2係系統預設值。 •如申請專利範圍第7項所述之筆觸模擬裝置,其中該筆觸產生模 組包含: 一速率參數產生模組,用來產生對應於該主要位置資料與該疏密 位置資料之速率參數;以及 一速率-顏色參數產生模組,用來根據該顏色參數以及該速率參數 產生一速率-顏色參數。 9.如申請專利範圍第8項所述之筆觸模擬裝置,其中該速率參數產 生模組係利用一速率參數產生公式來產生該速率參數K,該公式係 表示為: V = /(v) = ^m~~3vmaxv2 +2vM . ^ Vmax / 其中v表示該手寫筆在該主要位置座標之瞬間速率,v_^表示一預 設之最大速率值;以及 該速率-顏色參數產生模組係利用一速率-顏色參數產生公式來產 30 1264674 生該速率-顏色參數a,該公式係表示為: Z7: = Λ * P 〇 10.如申請翻範Μ丨賴述之筆戦擬裝置,射該筆觸產生模 組包含: 一深淺參數產生模組,用來根據該壓力值,產生對應於該主要位 置資料與該疏密位置資料之深淺參數。 11·如申請專利範圍第10項所述之筆觸模擬裝置,其中該主要位置資 料具有最大之深淺參數,而距離該主要位置資料愈遠之疏密位置 資料則具有愈小之深淺參數。 12·如申請專利範圍第11項所述之筆觸模擬裝置,其中該深淺參數產 生模組係利用一深淺參數產生公式來產生該深淺參數2,該公式係 表示為: 其中α係一個由使用者定義之常數,而ζ為壓力值,、為深淺參數 的預設值; 其中當該壓力值大於一預定值時,該深淺參數係一常數。 13·如申請專利範圍第1項所述之筆觸模擬裝置,其中該筆觸產生模 組包含: 31 /-木參數產生模組,用來根據該主要位置資料以及該半徑資料 產生複數個料位置資料,以表示複數個錢位置座標,其中每 要位置貝料係對應於複數個;宣染位置資料。 之 /專蝴竭第13項所狀筆觸模擬裝置,其巾絲染參數產 ^ s ’旦木參數乃,以用來決定每兩個該渲染位置資料7 間之距離,並且利用-沒染位置產生公式來產生該沒染位置資 ;;;、使得距離δ亥主要位置資料愈遠之;宣染位i資料之間之距離 愈小,該公式係表示為: d^rmlq ' ζ、 Λ A式係利用有限差分法(finite difference method )來展開如 下: ^ = + 2Dt · q.+[ - 4Dtqi + 2Dtq._{ ^ 9<+," 4Dtqi + (1 + 2Dt^) o 15·如申請專利範圍帛13項所述之筆觸模擬裝置,其中每一該渲染位 置資料係對應於一渲染顏色資料,而該渲染參數產生模組包含一 ⑨杂參數Z),以用來決定每兩個該渲染顏色資料?之間之顏色變 化,並且利用一渲染顏色產生公式來產生該渲染顏色資料,以使 侍距離該主要位置資料愈遠之渲染位置資料之渲染顏色資料之間 32 之差異愈小’該公式係表不為· 其中該公式係利用有限差分法(finite difference method)來展開如 下: ^ ^ 9/-1 + ^Dt · qM - ADtqi + IDtq^ 3 9/+1 = ϊ~~(~ ^Dtq( +(1 + 2Dt)q^ ) Vi - lut y 0 6.如申%專利範圍苐1項所述之筆觸模擬裝置,其中該筆觸產生模 組包含: 一間斷參數產生模組,用來產生對應於該主要位置資料與該疏密 位置資料之間斷參數,以決定該主要位置資料與該疏密位置資料 是否會被顯現。 Π·如申请專利範圍第16項所述之筆觸模擬裝置,其中該間斷參數產 生模組包含―間斷參數設絲,具有複數個_參數,對應於該 主要位置資料與該疏密位置資料; 其中田間斷參數為第一值時,其所對應之位置資料會被顯現出 來而田該間斷參數為第二值時,其所對應之位置資料則不會被 顯現出來; 該間斷參數d可以表示為: 33Calculate the tangent vector ^ and the heart of the /th and i + 1 position coordinates, the formula is: \a = [〇,l] where f+1 represents the third + l position coordinates, and 4 represents the divination Position coordinates; using the blending function (Blending ftmctions) to calculate the interpolated value between the first and the "嗰 position coordinates, the mixed function is expressed as: 28 1264674 hx(^) ~ 2s3" — 3^2 +1 h2{ s)=—2s3 + 3^2 < h3(s) = s3 -2s2 -\-s ; h4(s) = s3 -s2 0<s<l Obtain a Cardinal Splines Curve with the formula : household = month * A + month +1 * + force * / z3 + even +1 * \ ; and calculate the middle coordinate position between the / / and / / 1 position coordinates, and all coordinate positions Connected to produce a smooth curve, the intermediate coordinate position is calculated as: P = S*h*C ; where S = S3 "2 - 2 1 Γ S2 C = h — - 3 3 -2 -1 S1 Tt 0 0 1 0 _ 1 _ 1 1 0 0 0. 6. The stroke simulation device of claim 1, wherein the stroke generation module comprises: a color parameter generation module for The number generating module generates a color parameter corresponding to the primary location data and the sparse location data. 7. The stroke simulation device of claim 6, wherein the color parameter generation module utilizes a color parameter A formula is generated to generate the color parameter Λ, the formula 29 _ .... is expressed as: P / u INw () | 0 / 〇 ( p2 - A + i) < where · p \ ^ P, < p2 h, A e [0, 255] wherein /^ and > 〇 2 system default values. The stroke simulation device of claim 7, wherein the stroke generation module comprises: a rate parameter generation module And a rate-color parameter generating module for generating a rate-color parameter according to the color parameter and the rate parameter. The stroke simulation device of claim 8, wherein the rate parameter generation module generates the rate parameter K by using a rate parameter generation formula, wherein the formula is expressed as: V = /(v) = ^m~ ~3vmaxv2 +2vM . ^ Vmax / where v table The instantaneous rate of the stylus at the main position coordinate, v_^ represents a preset maximum rate value; and the rate-color parameter generation module generates a formula using a rate-color parameter generation formula to generate a rate of 30 1264674 - The color parameter a, the formula is expressed as: Z7: = Λ * P 〇10. If the application of the pen Μ丨 之 之 之 , , , , , , , , 射 射 射 射 射 射 射 射 射 射 射 射 射 射 射 射 射 射 射 射 射 射 射Based on the pressure value, a depth parameter corresponding to the primary location data and the sparse location data is generated. 11. The brushstroke simulation device of claim 10, wherein the primary location material has a maximum depth parameter, and the denser location data from the primary location data has a smaller depth parameter. 12. The stroke simulation device of claim 11, wherein the depth parameter generation module generates the depth parameter 2 by using a formula of a shallow parameter, the formula is expressed as: wherein the alpha system is a user The constant is defined, and ζ is the pressure value, which is a preset value of the depth parameter; wherein when the pressure value is greater than a predetermined value, the depth parameter is a constant. The brushstroke simulation device of claim 1, wherein the brushstroke generating module comprises: a 31/-wood parameter generating module, configured to generate a plurality of material position data according to the main position data and the radius data; To indicate a plurality of money position coordinates, wherein each desired position of the shell material corresponds to a plurality of; In the 13th item, the brushstroke simulation device is used to determine the distance between each of the two rendering position data and the use-unstained position. The formula is generated to generate the unstained position;;; the farther away from the main position data of δHai; the smaller the distance between the data of the smear-stained position i, the formula is expressed as: d^rmlq ' ζ, Λ A The system is developed using the finite difference method as follows: ^ = + 2Dt · q.+[ - 4Dtqi + 2Dtq._{ ^ 9<+," 4Dtqi + (1 + 2Dt^) o 15· The stroke simulation device of claim 13 , wherein each of the rendering position data corresponds to a rendered color data, and the rendering parameter generation module includes a 9-parameter parameter Z) for determining each of the two The rendering color data? The color change between the two, and a rendering color is used to generate the formula to generate the rendered color data, so that the difference between the rendered color data of the rendering position data farther away from the main position data is smaller. Not for · Where the formula is developed using the finite difference method as follows: ^ ^ 9/-1 + ^Dt · qM - ADtqi + IDtq^ 3 9/+1 = ϊ~~(~ ^Dtq( +(1 + 2Dt)q^ ) Vi - lut y 0 6. The stroke simulation device of claim 1 wherein the stroke generation module comprises: a discontinuous parameter generation module for generating a correspondence Determining a parameter between the primary location data and the sparse location data to determine whether the primary location data and the sparse location data are to be displayed. Π The brushstroke simulation device of claim 16, wherein the The discontinuous parameter generating module includes a discontinuous parameter setting wire, and has a plurality of _ parameters corresponding to the main position data and the sparse position data; wherein when the field breaking parameter is the first value, the corresponding position data is revealed. While the field to a second value of the parameter intermittently, it corresponds to the location data will not be revealed; the discontinuity parameter d can be expressed as: 33 d = dTable{i); 其中4 h Ij。 18.如申請專利範圍第i項所述之筆觸模擬裝置,其中該筆觸產生模 組包含: 數產生模組’用來m亂數產生模組來產生對應於該 置貝料與5玄疏费位置資料之顏色參數,其中該顏色參數產 生模組係_—齡參數產生公絲產生脑色參數A•,該公式 係表示為: Au|r_/〇||%(p +1) 其中 7 - Ρι ^ p2 ’其中A與P2係系統預設值; A,P2 ^ [〇,255] 速率參數產生模組,用來產生對應於該主要位置資料與該疏密 位置資料之速率參數,其中該速率參數產生模組係湘—速率參 數產生公式來產生該速率參數h該公式係表示為: F = /(v) = v3 max 3vmaxv2 + 2v3、 y 其中v表示該手寫筆在該主要位置座 才示之瞬間速率,v_表示—預設之最大速率值; 深欠參數產生模組,用來根據該壓力值,產生對應於該主要位 置資料與該疏密位置資料之深淺參數,其中該主要位置資料具有 最大之深淺參數,而距離該主要位置資料愈遠之疏密位置資料則 34 1264674 具有愈小之料參數,數產賴___深淺參數產 生公式來產钱職參數,,該公_表示為: Μι-Λ(—e似)+乂。’其中β係一個由使用者定義之常數,而z為 壓力值,人為深洗參數的預設值,而當該壓力值大於一預定值時, 該深淺參數係一常數; 一啊,數產生·,用來產生對應於触魏置資料與該疏键 置貝料之崎參數’以歧該主要位置資料與該疏密位置資剩 疋否會被親,其巾辦撕參生触包含—崎參數設定 表’具有複__錢,職於要位置触疏密位置 資料’當騎參數騎,其賴應之位置諸會被顯現出 來,而當該間斷參數為第二值時,其所對應之位置資料則不會被 顯現出來,·斷麵何以表示為: ⑺’其中“[0,丨]·以及 一筆觸顏色參數產生模組,用來根據該顏色參〜、速率參妙 深淺參數彳、_錢“私_筆編色參數,_ 數產生模組係利用一筆… 參數心,該公式絲示為: 式來她亥筆觸顏色 其中該手寫筆所繪出之— 筆劃係包含m個主要位置資料 而每一 35 1264674 個主要位置資料係對應於《個疏密位置資料,而c,"表示第,個主 要位置座標之第.疏密位置座標所對應之筆觸顏色參數。 19.一種筆觸模擬系統,用以接受一 "有一葦尖之手寫筆觸壓並藉此 產生模擬筆觸,該系統包含: -手寫板’該手寫板包含一用來偵知筆尖絲述手寫板上之 主要位置座標,以產生-主要位置資料之位置感測器、和一用來 偵知該筆尖施加於前财•上之壓力以產生―壓力紅壓城暑 測器;及 胃 一模擬主系統’用以接收前诚朽里产加< a 引述位置座標和前述壓力值並藉由 此資料產生模擬筆觸,該主系統更包含有·· -壓力-半_難組,贿髓力轉換成—半徑資料; -正向量產生模組,根據前述主要位置座標㈣,產生一正d = dTable{i); where 4 h Ij. 18. The stroke simulation device of claim i, wherein the stroke generation module comprises: a number generation module 'for generating a random number generation module to generate a corresponding amount of the material and the 5 The color parameter of the position data, wherein the color parameter generation module system _-age parameter generates a male silk to generate a brain color parameter A•, and the formula is expressed as: Au|r_/〇||%(p +1) where 7 - Ρι ^ p2 'the A and P2 system default values; A, P2 ^ [〇, 255] rate parameter generation module for generating a rate parameter corresponding to the primary location data and the sparse location data, wherein The rate parameter generating module is configured to generate the rate parameter h. The formula is expressed as: F = /(v) = v3 max 3vmaxv2 + 2v3, y where v indicates that the stylus is in the main position The instantaneous rate, v_ represents the preset maximum rate value, and the deep under parameter generating module is configured to generate a depth parameter corresponding to the primary location data and the sparse location data according to the pressure value, wherein the primary parameter Location data has the greatest depth The number, and the farther away from the main location data, the location data 34 1264674 has the smaller material parameters, the number of production ___ depth parameter generation formula to produce the job parameters, the public _ is expressed as: Μι- Λ (—e like) + 乂. 'The β system is a constant defined by the user, and z is the pressure value, the preset value of the artificial deep wash parameter, and when the pressure value is greater than a predetermined value, the depth parameter is a constant; ·, used to generate the corresponding parameters of the touch-and-set data and the sparse key to the shell material 'to distinguish between the main location data and the sparse position of the remaining funds will be kissed, the towel to tear the ginseng touch contains - The Saki parameter setting table 'has a complex __ money, and the position of the position is touched. When the ride parameter rides, the position of the ride is revealed, and when the interrupt parameter is the second value, the place The corresponding position data will not be revealed. · The section is expressed as: (7) 'where '[0,丨]· and a touch color parameter generation module, used to refer to the color according to the color, the speed parameter彳, _ money "private _ pen color parameters, _ number generation module uses a ... parameter heart, the formula is shown as: style to her Hai stroke color, which is drawn by the stylus - strokes contain m Main location information and each 35 1264674 Primary location-based information corresponding to "a position density data, and c, " represents a first, primary to position coordinates of the position coordinates corresponding to the stroke color density parameter. 19. A stroke simulation system for accepting a touch of a stylus and thereby generating a simulated stroke, the system comprising: - a tablet - the tablet includes a script for detecting the tip of the pen a main position coordinate to generate a position sensor for the main position data, and a pressure for detecting the tip applied to the front of the pen to generate a "pressure red pressure gauge"; and a stomach-simulation main system 'To receive the former creed and add a < a quote location coordinates and the aforementioned pressure values and use this data to generate simulated strokes, the main system also contains ··-pressure-semi-difficult group, the bribe force is converted into - radius data; - positive vector generation module, according to the aforementioned main position coordinates (four), generate a positive 向量資料; -疏密位置產线組,連接於前髓力_半徑轉換模組與前述 正向里產生她,根據前述半徑資料與前述正向量資料,以在前 述主要位置座標資料之正向量方向上,產生複數個疏密位置資 料,用來表示複數個疏密位置座標; -筆觸產生模組,依前述筆尖在不同時間之位置座標資料, 晝出-主線條,並錄據前述疏密位置資料,畫出複數條疏密線 36 條’其中每―主要位置座標資料係龍於複數個疏密位置資料。 瓜如申請專利範圍第19項所述之筆觸模擬系統,其中前述主系統之 前述壓力-半徑轉換模組係利用一壓力_半徑轉換公式,將該壓力值 ζ轉換成該半徑資料CT,該公式係表示為: ί Ζ 一 1、 f{z)^(Maxm)^ 1 J 其中 </(〇) = 〇 ; /(1) = Maxm 〇 < 2 < 1 其中Mdcct係預設之最大半徑資料。 21·如申請專利範圍第20項所述之筆觸模擬系統,其中前述正向量產 生模組首先根據該位置座標資料以取得前述筆尖在位置座標上產 生的瞬間方向,其計算公式係表示為: y.二 °i ~ °i \ · \〇i ~ 〇,-\ | 其中K表不該筆尖在時間^之瞬間方向,q表示該筆尖在時間 之主要位置座標,而L表示該筆尖在時間^之主要位置座標; 假設]以,勿,則該正向量資料% =(u)。 泣如申請專職㈣21項所述之細觀线,其巾該疏密位置產 生模組係利用一疏密位置產生公式來產生該複數個疏密位置資 料,該公式係表示為: 37 1264674 η 1 其中,G表示該筆尖在時間[之主要位置座標,奴為該半徑資 料鳴為該正向量資料,”為一系統預設值,用來決定該疏密位置 貝料之健,而~表示第Ζ•個主要位置座標之第)個疏密位置座 標; 其中該手寫筆所繪出之一筆劃係包含所個主要位置資料,而 每一個主要位置資料係對應於〃個疏密位置資料。 23.如申請專利範圍第22項所述之筆觸模擬系統,其中該筆觸產生模 組係利用-筆觸產生方法來產生該主線條以及該複數條疏密線 條,假設該主線條係由所個主要座標位置所組成,而每一主要位 置座標係對應於n個疏密位置座標,該方法包含·· 計算第/個與第/ +1個位置座標之切線向量η與,其公式為· U = [〇,ι] ’ 其中巧+1表示第ζ· + ΐ個位置座標,而表示第^丨個位置座標; 利用混合函數(Blending fUncti〇ns )以計算第ζ·個與第〖+丨個位置座 標間之内插值,該混合函數係表示為: 38 1264674 hY(s)= 2s3 -3s2 +1 h2{s)= —2s3, + 3^2 < A3(^) = -2s2 +s ; 夕3 -夕2 0 < .5 < 1 獲得一基數曲線(Cardinal Splines Curve),其公式為: f * & + β+1 * Λ2 + * Λ3 + J)+1 * ,以及 計算出第Ζ·個與第ί + l個位置座標之間之中間座標位置,並且將所 有的座標位置連接起來,以產生一平順之曲線,該中間座標位置 之計算公式為: Ρ — S^C > 其中 V" ~ Pi' "2 -2 1 1 ' S = 夕2 C = h = 一 3 3 - 2 一 1 Tt 0 0 1 0 _1_ Λι. _ 1 0 0 0_ 24. 如申請專利範圍第19項所述之筆觸模擬系統,其中該筆觸產生模 組包含: 一顏色參數產生模組,用來藉由一亂數產生模組來產生對應於該 主要位置資料與該疏密位置資料之顏色參數。 25. 如申請專利範圍第24項所述之筆觸模擬系統,其中該顏色參數產 生模組係利用一顏色參數產生公式來產生該顏色參數A,該公式 39 1264674 ;—•一 ··-·_——I—— i 月 25 日@ 定 ij <weiwwmww*靡..《«•'η*.例《•n;%嫌料〜細 係表示為: pi = p, + lh^〇|〇/〇( p2 Pl + λ 其中 < Pi s A $ p2 •’ ,P2 e [〇,255] 其中A與p2係系統預設值。 26.如申睛專利範圍第25項所述之筆觸模挺系統,其中該筆觸產生模 組包含: 速率參數產生核組,用來產生對應於該主要位置資料與該疏密 位置資料之速率參數;以及 速率顏色參婁欠產生模組,用來根據該顏色參數以及該速率參數 產生一速率-顏色參數。 27·如申請專利範圍第26項所述之筆觸模擬系統,其中該速率參數產 生模組係利用—速率參數產生公式來產找速率參數卜該公式係 表示為·· V ^ /(V) „ ΓΥ-maxJ: . v3 I \ max J 其中V表不該手寫筆在該主要位置座標之瞬間速率,v表示 —預設之最大速率值; 該速率-顏色參數產生模組係利用一速率-顏色參數產生公式 40 1264674 來產生該速率-顏色參數a•,該公式係表示為: Λ = Λ * 厂0 28·如申請專利範圍第19項所述之筆觸模擬系統,其中前述筆觸產生 模組包含: 一深淺參數產生模組,用來根據該壓力值,產生對應於該主要位 置資料與該疏密位置資料之深淺參數。 29·如申睛專利範圍第28項所述之筆觸模擬系統,其中該主要位置資 料具有最大之深淺參數,而距離該主要位置資料愈遠之疏密位置 資料則具有愈小之深淺參數。 30·如申請專利範圍第29項所述之筆觸模擬系統,其中該深淺參數產 生模組係利用一深淺參數產生公式來產生該深淺參數2,該公式係 表示為: 乂 = (1-Λ)(ΐ-^)+禹;其中α係一個由使用者定義之常數,而2為 壓力值,/1。為深淺參數的預設值; 其中當該壓力值大於一預定值時,該深淺參數係一常數。 31·如申請專利範圍帛19項所述之筆觸模擬系統,其中該筆觸產生模 組包含: 一渲染參數產生模組,用來根據該主要位置資料以及該半徑資料 產生複數個渲染位置資料,以表示複數個渲染位置座標,其中每 41 _I2M674 為#‘7 ):125U #.更他替換頁j 一主要位置資料係對應於複數個沒染位置資料。 32.如申#專利犯圍第Μ項所述之筆觸模擬系統,其中該演染參數產 生模、且匕3 ’旦染參數D,以用來決定每兩個該渲染位置資料?之 間之距離’並且利用一沒染位置產生公式來產生該沒染位置資 料’以使付距離魅要位置資料愈遠之錢位置資料之間之距離 愈小,該公式係表示為: ~ = DV2q ; dt ^ 其中忒公式係利用有限差分法(fmitedifferencemeth〇d)來展開如 下: ^ 一:2Γ±± = D' ^/+1 ~ 2<li + ) ^ 9/+, = + 2Dt - qi+x - 4Dtq{ 4- IDtq^ (i \ , ^ qux = 4Dtgi + (1 + 2Dt)q^) 33·如申睛專利範圍第3i項所述之筆觸模擬系統,其中每一該渲染位 置資料係對應於一渲染顏色資料,而該渲染參數產生模組包含一 渲染參數Z),以用來決定每兩個該渲染顏色資料g之間之顏色變 化,並且利用一渲染顏色產生公式來產生該渲染顏色資料,以使 得距離該主要位置資料愈遠之渲染位置資料之渲染顏色資料之間 之差異愈小,該公式係表示為: 42 1264674 ’、中°亥Α式係利用有限差分法(finite difference method )來展開如 下: =Li , ^ - 9/h + 2Dt · qi+l - ADtqi + IDtq^ 〜,+丨 4心+(1+2抑卜i) 〇 34.如申請專利範圍第19項所述之筆觸模擬系統,其中該筆觸產生模 組包含: 間斷參數產生模組,用來產生對應於該主要位置資料與該疏密 位置貝料之間斷參數,以決定該主要位置資料與該疏密位置資料 是否會被顯現。 35.如申請專利範圍第μ項所述之筆觸模擬系統,其中該間斷參數產 生模組包含-嶋參數設絲,具有複數侧斷參數,對應於該 主要位置資料與該疏密位置資料; 其中當間斷參數為第-值時,其所對應之位置資料會被顯現出 來,而當該間斷參數為第二值時,其所對應之位置資料則不會被 顯現出來; 該間斷參數d可以表示為: d = dTable{i); 其中 d e [0, 1] 〇 43 Γΐ?6467£ 替換:;; Ss________ 申明專她圍第19項所述之筆峨擬綠,其巾該筆觸產生模 組包含: 一顏色參數產生模組,用來藉由—亂數產生觀綠生對應於該 主要位置資料與該疏密位置f料之顏色參數,其中該顏色參數產 生模、、且係彻脱參數產生公絲產生該顏色參數^,該公式 係表示為: p,A+lh^/〇|%Uui) <其中 Λ ^Pt<p2 ’其中A與巧係系統預設值; ,P, , P2 e [0,255] -速率參數產生模組,絲產生對應於該主要位置資料與該疏密 位置身料之速率參數,其中該速率參數產生模組係利用一速率參 數產生公式來產生該速率參數^,該公式係表示為: V ^ /(v)= 一 3U2 +2v3 其中v表示該手寫筆在該主要位置座 標之瞬間速率,ν_表示一預設之最大速率值; 一深淺參數產生模組,用來根據該壓力值,產生對應於該主要位 置資料與該疏密位置資料之深淺參數,其中該主要位置資料具有 最大之深淺參數,而距離該主要位置資料愈遠之疏密位置資料則 具有愈小之深淺參數,該深淺參數產生模組係利用一深淺參數產 生公式來產生該深淺參數A,該公式係表示為: 44 1264674 2 = (ι-Α>)(κα2)+Λ,其中β係一個由使用者定義之常數,而之為 壓力值’ Α為深淺參數的預設值,而當該壓力值大於一預定值時, 該深淺參數係一常數; -間斷參數產生模組,用來產生對應於該主要位置資料與該疏密 位置資料之間斷參數,以蚊該主要位置資料與該疏密位置資料 是否會被顯現,其中該間斷參數產生模組包含一間斷參數設定 表’具有魏_斷雜’對胁社要位4龍_疏密位置 資料’當騎參數騎-值時,其輯應之位《料會被顯現出 來,而當該間斷參數為第二值時,其所對應之位置資料則不會被 顯現出來’该間斷參數j可以表示為· d ,其中 j e [〇, 1];以及 -筆纏色參數產生模組,用來根據該顏色參數A、速帛參數卜 深淺參數i、間斷參數a產生__顏色參數,而該筆觸顏色參 數產生模組係利用一筆觸顏色參數產生公式來計算出,筆〃 參數ςν,該公式係表示為: yVector data; - a dense position production line group, connected to the front medullary force _ radius conversion module and the aforementioned forward direction to generate her, according to the aforementioned radius data and the aforementioned positive vector data, in the positive vector direction of the coordinate information in the aforementioned main position Upper, generating a plurality of sparse position data for indicating a plurality of sparse position coordinates; - a brushstroke generating module, according to the position information of the pen tip at different times, extracting the main line, and recording the aforementioned sparse position Data, draw a number of multiple lines of dense lines 36 'each of them - the main position coordinate data is the dragon in multiple locations. The brushstroke simulation system according to claim 19, wherein the pressure-radius conversion module of the main system uses a pressure_radius conversion formula to convert the pressure value into the radius data CT, the formula It is expressed as: ί Ζ 1, f{z)^(Maxm)^ 1 J where </(〇) = 〇; /(1) = Maxm 〇< 2 < 1 where Mdcct is the preset maximum Radius data. 21. The stroke simulation system of claim 20, wherein the positive vector generation module first obtains a moment direction generated by the tip of the nib on the position coordinate according to the position coordinate data, and the calculation formula is expressed as: y .2°i ~ °i \ · \〇i ~ 〇, -\ | where K is not the tip of the pen at the moment of time ^, q is the coordinate of the tip of the pen at the main position of time, and L is the tip of the pen at time ^ The main position coordinates; assuming] Yes, no, then the positive vector data % = (u). Weeping as applied to the meso-line of the full-time (4) item 21, the sparse position generating module uses a sparse position generating formula to generate the plurality of sparse position data, which is expressed as: 37 1264674 η 1 Wherein, G indicates that the nib is at the time [the main position coordinate, and the slave is the positive vector data for the radius data," is a system preset value, which is used to determine the health of the sparse position, and the第• The first position of the coordinates of the main position coordinates; wherein one of the strokes drawn by the stylus contains the main location data, and each of the main location data corresponds to one of the sparse location data. The stroke simulation system of claim 22, wherein the stroke generation module utilizes a stroke creation method to generate the main line and the plurality of sparse lines, assuming that the main line is by the main coordinates The position is composed, and each major position coordinate corresponds to n sparse position coordinates, and the method includes: calculating a tangent vector η of the /th and the /+1th position coordinates, and the formula is · U = [〇, ι] ' where +1 represents the third + + ΐ coordinate coordinates, and represents the coordinates of the first position; use the blending function (Blending fUncti〇ns ) to calculate the ζ·· and 〖 + Interpolation between coordinates of a position, the mixed function is expressed as: 38 1264674 hY(s)= 2s3 -3s2 +1 h2{s)= —2s3, + 3^2 < A3(^) = -2s2 +s ; 夕3 - 夕2 0 < .5 < 1 Obtain a Cardinal Splines Curve with the formula: f * & + β+1 * Λ2 + * Λ3 + J)+1 * , And calculating the middle coordinate position between the third and the ith position coordinates, and connecting all the coordinate positions to generate a smooth curve, the intermediate coordinate position is calculated as: Ρ — S ^C > where V" ~ Pi' "2 -2 1 1 ' S = 夕 2 C = h = a 3 3 - 2 - 1 Tt 0 0 1 0 _1_ Λι. _ 1 0 0 0_ 24. The stroke simulation system of claim 19, wherein the stroke generation module comprises: a color parameter generation module for generating a module corresponding to the main generation by a random number generation module The color parameter of the data and the data of the sparse position. 25. The stroke simulation system of claim 24, wherein the color parameter generation module generates the color parameter A by using a color parameter generation formula. Formula 39 1264674 ;—•一··-·_——I——i 25th 25th @定ij <weiwwmww*靡..“«•'η*.Example “•n;% suspected~fine representation For: pi = p, + lh^〇|〇/〇( p2 Pl + λ where < Pi s A $ p2 •' , P2 e [〇, 255] where A and p2 are system defaults. 26. The brushstroke splicing system of claim 25, wherein the stroke generating module comprises: a rate parameter generating core group for generating a rate parameter corresponding to the primary location data and the sparse location data And a rate color reference generation module for generating a rate-color parameter based on the color parameter and the rate parameter. 27. The stroke simulation system of claim 26, wherein the rate parameter generation module uses a rate parameter generation formula to generate a rate parameter. The formula is expressed as ··· V ^ /(V) „ ΓΥ-maxJ: . v3 I \ max J where V is not the instantaneous rate of the stylus at the main position coordinate, v is the default maximum rate value; the rate-color parameter generation module is using a rate-color The parameter generation formula 40 1264674 is used to generate the rate-color parameter a•, which is expressed as: Λ = Λ * Factory 0 28. The stroke simulation system of claim 19, wherein the aforementioned stroke generation module comprises a depth parameter generating module for generating a depth parameter corresponding to the main position data and the density position data according to the pressure value. 29· The stroke simulation system described in claim 28 of claimant patent scope, wherein The main location data has the largest depth parameter, and the farther the location data from the main location data has the smaller depth parameter. 30. If the patent application scope is 29th The stroke simulation system, wherein the depth parameter generation module generates the depth parameter 2 by using a deep parameter generation formula, the formula is expressed as: 乂 = (1-Λ)(ΐ-^)+禹; wherein α Is a user-defined constant, and 2 is the pressure value, /1. It is the preset value of the depth parameter; wherein when the pressure value is greater than a predetermined value, the depth parameter is a constant. 31·If the patent application scope The stroke simulation system of claim 19, wherein the stroke generation module comprises: a rendering parameter generation module, configured to generate a plurality of rendering position data according to the main position data and the radius data to represent a plurality of rendering position coordinates , where each 41 _I2M674 is #'7): 125U #. More he replaces page j. A primary location data corresponds to a plurality of unstained location data. 32. The stroke simulation system described in Shen. , wherein the dyeing parameter generates a mode, and the parameter D is used to determine the distance between each two of the rendering position data and uses an undyed position to generate a formula to generate the undyed bit The data 'in order to make the distance between the money position data of the distance location data is smaller, the formula is expressed as: ~ = DV2q ; dt ^ where the formula is expanded by the finite difference method (fmitedifferencemeth〇d) As follows: ^ One: 2Γ±± = D' ^/+1 ~ 2<li + ) ^ 9/+, = + 2Dt - qi+x - 4Dtq{ 4- IDtq^ (i \ , ^ qux = 4Dtgi + ( 1 + 2Dt)q^) 33. The stroke simulation system of claim 3, wherein each of the rendering position data corresponds to a rendered color data, and the rendering parameter generation module includes a rendering parameter Z) for determining the color change between each of the two rendered color data g, and using a rendered color generation formula to generate the rendered color data such that the rendering location data is further away from the primary location data. The smaller the difference between the color data, the formula is expressed as: 42 1264674 ', the middle ° Α 系 system uses the finite difference method (finite difference method) to expand as follows: =Li , ^ - 9/h + 2Dt · qi +l - ADtqi + IDtq^ ~, +丨4 hearts+(1+2 suppression i) 〇 3 4. The stroke simulation system of claim 19, wherein the stroke generation module comprises: a discontinuous parameter generation module for generating a discontinuity parameter corresponding to the primary location data and the sparse location. To determine whether the primary location data and the sparse location data will be revealed. 35. The stroke simulation system of claim 19, wherein the discontinuous parameter generation module comprises a -嶋 parameter setting wire having a plurality of side break parameters corresponding to the main position data and the sparse position data; When the discontinuous parameter is the first value, the corresponding position data will be revealed, and when the intermittent parameter is the second value, the corresponding position data will not be revealed; the discontinuous parameter d can represent For: d = dTable{i); where de [0, 1] 〇43 Γΐ?6467£ Replace:;; Ss________ declares that she is surrounded by the pen 峨 green described in item 19, and the towel is generated by the brush generation module : a color parameter generating module, configured to generate a color parameter corresponding to the main position data and the dense position f material by using a random number, wherein the color parameter generates a mode, and the parameter is generated The male yarn produces the color parameter ^, which is expressed as: p, A+lh^/〇|%Uui) <where Λ ^Pt<p2 'where A and the system default value; , P, , P2 e [0,255] - rate parameter generation module, silk generation The rate parameter should be generated from the primary location data and the sparse location body, wherein the rate parameter generation module generates the rate parameter ^ using a rate parameter generation formula, the formula is expressed as: V ^ /(v) = a 3U2 + 2v3 where v represents the instantaneous rate of the stylus at the main position coordinate, ν_ represents a preset maximum rate value; a depth parameter generation module for generating a corresponding value corresponding to the pressure value The depth data of the location data and the density location data, wherein the main location data has the largest depth parameter, and the farther the location data from the main location data has a smaller depth parameter, the depth parameter generation module The shallow and shallow parameter A is generated by using a formula of a shallow parameter, which is expressed as: 44 1264674 2 = (ι-Α>)(κα2)+Λ, where β is a user-defined constant, and The pressure value 'Α is a preset value of the depth parameter, and when the pressure value is greater than a predetermined value, the depth parameter is a constant; - the discontinuous parameter generation module is used to generate a corresponding The main position data and the disparity parameter data of the sparse position data, whether the main position data and the sparse position data of the mosquito are revealed, wherein the discontinuous parameter generation module includes a break parameter setting table 'having Wei_breaking miscellaneous' For the threatening society, the position of the 4 dragon _ 密密location data 'when riding the parameter ride-value, the position of the compilation will be revealed, and when the discontinuous parameter is the second value, the corresponding position data It will not be revealed. 'The discontinuous parameter j can be expressed as · d , where je [〇, 1]; and - the pen color parameter generation module is used to determine the depth parameter i according to the color parameter A, the speed parameter The discontinuous parameter a generates a __color parameter, and the stroke color parameter generation module calculates a pen 〃 parameter using a touch color parameter generation formula, and the formula is expressed as: y 乂 ·<^·+Λ ·<^, 2λ •d*V 置資料,而每-CU表示第z•個主 其中該手寫筆所繪出之一筆劃係包含w個主要位 個主要位置資料係對應於〃個疏密位置資料,而 45 1264674 要位置座標之第y·個疏密位置座標所對應之筆觸顏色參數; 其中 C/,H = = a。 37. —種筆觸模擬方法,該方法係藉由一模擬筆觸之電腦主系統、和 一用來輸入手寫資料之手寫板所實施的方法,前述手寫板更包含 有一用來偵知筆尖在前述手寫板上之主要位置座標以產生一主要 位置資料之位置感測器,和一用來偵知該筆尖施加於前述手寫板 上之壓力以產生一壓力值之壓力感測器,該方法包含有: 被輸入前述手寫資料,該資料包含藉由前述位置感測器所產 生的主要位置座標、和藉由前述壓力感測器所偵知被施加於前述 手寫板上之一壓力值; 將前述壓力值轉換成一半徑資料; 根據前述主要位置座標資料,產生一正向量資料; 根據前述半徑資料與前述正向量資料,在前述主要位置座標 二貝料之正向置方向上,產生複數個疏密位置資料,用來表示複數 個疏密位置座標; 依岫述筆尖在不同時間之位置座標資料,晝出一主線條,並 且根據4述疏密位置資料,畫出複數條疏密線條,其中每一主要 位置座標資料係對應於複數個疏密位置資料。 38. 如申請專利範圍第37項所述之筆麵擬方法,其中前述主系統利 46乂·<^·+Λ ·<^, 2λ •d*V set the data, and each -CU indicates the z•th main where one of the strokes drawn by the stylus contains w main positions The data corresponds to one of the sparse position data, and 45 1264674 is the stroke color parameter corresponding to the y·th location coordinate of the position coordinate; where C/, H == a. 37. A brushstroke simulation method, which is implemented by a computer main system for simulating a stroke, and a tablet for inputting handwritten materials, the tablet further comprising a handwriting for detecting the nib in the handwriting a position sensor on the board to generate a position sensor for a main position data, and a pressure sensor for detecting the pressure applied to the tablet by the tip to generate a pressure value, the method comprising: The handwritten data is input, the data includes a main position coordinate generated by the position sensor, and a pressure value applied to the handwriting plate by the pressure sensor; the pressure value is Converting into a radius data; generating a positive vector data according to the foregoing main position coordinate data; generating a plurality of sparse position data according to the radius data and the positive vector data in a forward direction of the two main materials , used to represent a plurality of sparse position coordinates; according to the coordinates of the nib at different time positions, a main line is drawn 4 and, depending on the position of said density data, a plurality of bars drawn line density, wherein each of the primary position coordinate data corresponding to the plurality of density-based location data. 38. The pen-based method of claim 37, wherein the aforementioned main system is 46 2?日更丨止替接貝 用-壓力-半fe轉換公式,將該壓力值增換成該半徑資料吸,該 公式係表示為: = f{z)=(Maxm)J Π v e~1 > 其中 ‘/(0)二 Ο /(1) = Maxm 0<ζ<1 其中Μζχπ係預設之最大半徑資料。 39.如申請專利範圍第38項所述之筆觸模擬方法,其中前述主系統係 根據該位置座標資料以取得前述筆尖在位置座標上產生的瞬間方 向,其計算公式係表示為: I,— -0 卜1 · 'Κ 其忭表示該筆尖在時間,,之瞬間方向,0,表示該筆尖在時間 之主要位置座檁,而〜表示該筆尖在她之主要位置座標; 假設心令力,則該正向量資料Λ^(—3^)。 级如申請專利範圍第39項所述之筆觸模擬方法,其中前述主系統係 J用蚁途位置產生公式來產生該複數個疏密位置資料,該公式 係表示為: H 〜1)·τν n J 1 47 1264674 其中,示該筆尖在日寺間^之主要位置座標,奴為該半徑資 料,%為該正向量資料,"為一系統預設值,用來決定該疏密位置 資料之個數,而心表示第/個主要位置座標之第y個疏密位置座 標; 其中該手寫筆所繪出之一筆劃係包含⑺個主要位置資料,而 每一個主要位置資料係對應於〃個疏密位置資料。 41·如申請專利範圍第40項所述之筆觸模擬方法,其中前述主系統係 利用一筆觸產生方法來產生該主線條以及該複數條疏密線條,假 設該主線條係由m個主要座標位置所組成,而每一主要位置座標 係對應於η個疏密位置座標,該方法包含: 計算第ζ·個與第ί + l個位置座標之切線向量Κ與7^,其公式為: [a = [〇,l] 其中'i表示第/ + 1個位置座標,而表示第卜丨個位置座標; 利用混合函數(Blending functions )以計算第,與第z +1個位置座 標間之内插值,該混合函數係表示為: hx(s)= 2s3 -3^2 +1 /^2(5)= -2^3 +3^2 < A3(y) = ? - 2夕2 +5 ; /i4(s)=s3 -s2 0<s<l 48 1264674 獲得一基數曲線(Cardinal Splines Curve),其公式為: 計算出第/·個與第ί + 1個位置座標之間之中間座標位置,並且將所 有的座標位置連接起來,以產生一平順之曲線,該中間座標位置 之計算公式為: P = S^h*C ; 其中 s3 "2 - 2 1 1 ' s = s2 C = h = -3 3 - 2 一 1 sl T) 0 0 1 0 _ 1 _ Ai. _ 1 0 0 0 _ 42. 如申請專利範圍第37項所述之筆觸模擬方法,其中前述主系統更 包含有一顏色參數產生模組,用來藉由一亂數產生模組來產生對 應於該主要位置資料與該疏密位置資料之顏色參數。 43. 如申請專利範圍第42項所述之筆觸模擬方法,其中前述顏色參數 產生模組係利用一顏色參數產生公式來產生該顏色參數A.,該公 式係表不為· Pi = Pi + lk^O|%( a - a + 0 其中 Pi ^ Pi ^ Pi px , p2 G [0,255] 其中Pl與p2係系統預設值。 49 1264674 ’其中前述主系統更 44.如申請專利範圍第43摘述之筆觸模擬方法 包含: 一速率參數產生顯,絲產_於魅要位置f料與該疏密 位置資料之速率參數;以及 速率顏色參數產生她,絲根據軸色參數以及該速率參數 產生一速率-顏色參數。 杜如申請__ 44蘭叙筆繼擬枝,其巾魏率參數產 生模組係_—速轉數產生公絲產生麵轉數「,該公式係 表不為: f 3 厂= /(v)= ^Sj~^Vmaxv2 +2v3 ^ · v J, 其中V表示該手寫筆在該主要位置座標之瞬間速率'表示 一預設之最大速率值; 該迷率-顏色參數產生模組係利用一速率_顏色參數產生公式 來產生該速率·顏色參數A,該公式係表示為: 户;=Λ * r。 46·如申明專利範圍第37項所述之筆觸模擬方法,其中前述主系統包 喊參數產生模組,用來根據該壓力值,產生對應於該主要位 50 1264674 置資料與該疏密位置資料之深淺參數。 47·如申請專利範圍第46項所述之筆觸模擬方法,其中該主要位置資 料具有最大之深淺參數,而距離該主要位置資料愈遠之疏密位置 資料則具有愈小之深淺參數。 48. 如申請專利範圍第47項所述之筆觸模擬方法,其中該深淺參數產 生模組係利用一深淺參數產生公式來產生該深淺參數2,該公式係 表示為: 其中α係一個由使用者定義之常數,而Z為壓力值,Λ為深淺參數 的預設值; 其中當該壓力值大於一預定值時,該深淺參數係一常數。 49. 如申請專利範圍第37項所述之筆觸模擬方法,其中前述主系統包 含: 一渲染參數產生模組,用來根據該主要位置資料以及該半徑資料 產生複數個渲染位置資料,以表示複數個渲染位置座標,其中每 一主要位置資料係對應於複數個渲染位置資料。 50·如申請專利範圍第49項所述之筆觸模擬方法,其中該渲染參數產 生模組包含一渲染參數乃,以用來決定每兩個該渲染位置資料分之 間之距離’並且利用一演染位置產生公式來產生該演染位置資 51 料,以使得距離該主要位置資料愈遠之渲染位置資料之間之距離 愈小,該公式係表示為: d^ = D^q ; dt ^ 其中该公式係利用有限差分法(finite difference method )來展開如 下: D'qi+'-2d') ^ = ?/-, + 2Dt. qM - ADtq, + IDtq^ (1 \ 气·+丨(-输义+ (1邊)扎i) ’ 〇 51·如申請專利範圍第49項所述之筆觸模擬方法,其中每一該渲染位 置資料係對應於一渲染顏色資料,而該渲染參數產生模組包含一 渲染參數D,以用來決定每兩個該渲染顏色資料《之間之顏色變 化’並且利用一渲染顏色產生公式來產生該渲染顏色資料,以使 传距離該主要位置資料愈遠之渲染位置資料之渲染顏色資料之間 之差異愈小,該公式係表示為: ~ ~~ DV2 · dt—DVq、 其中該公式係利用有限差分法 (finite difference method )來展開如 下: 52 hh 物?胸⑯更 ==^ 9/+1 2^'rI'二 D .(义+1 - 2<?,+ 9卜1) i-l => 9/+ι = 9/-i + 21)/ · qi+l - ADtq, 4- 2Dtq => 9/+l \-2Dt (—ADtcj ^ +(1 + 2Z)/)^;_ 52.如申請專利範圍第37項所述之筆觸模擬方法,其中前述主系統包 含: 一間斷參數產生模組,用來產生對應於該主要位置資料與該疏密 位置資料之間斷參數,以決定該主要位置資料與該疏密位置資料 是否會被顯現。 53.如申請專利範圍第52項所述之筆觸模擬方法,其中該間斷參數產 生模組包含一間斷參數設定表,具有複數個間斷參數,對應於該 主要位置資料與該疏密位置資料; 其中當間斷參數為第一值時,其所對應之位置資料會被顯現出 來,而當該間斷參數為第二值時,其所對應之位置資料則不會被 顯現出來, 該間斷參數d可以表示為·· d = dTable(i); 其中 d e [0, 1]。 54·如申請專利範圍第37項所述之筆觸模擬方法,其中前述主系統包 含: 53 1264674 *… — ——一一 科考ΐ丨125'史|正替換頁 -顏色參數產生·,用來藉由—·產生模組來產生對應 於該主要位置資料與該疏密位置㈣之顏色參數,其中該顏色參 數產生模組係利用―顏色參數產生公式來產生該顏色參數A,該 公式係表示為: A=A+|k 敵/()|〇/心2一厂1+1) <其中 Pl < P, < p2 ’其中A與P2係系統預設值; ,P2 e [0,255] 速率參數產生模組,用來產生對應於該主要位置資料與該 疏密位置資料之速率參數,其巾轉數產生模_利用一速 率參數產生公式來產生該速率參數Γ,該公式絲示為: V = /(v)= Vmax ~ 3VmaxV2 +2V 3 \ 其中V表示該手寫筆在該主要位置座 標之瞬間速率,ν_表示一預設之最大速率值; 一深淺參數產生模組,用來根據該壓力值,產生對應於該主 要位置資料與該疏密位置資料之深淺參數,其中該主要位置資料 具有最大之深淺參數,而距離該主要位置資料愈遠之疏密位置資 料則具有愈小之深淺參數,該深淺參數產生模組係利用一深淺參 數產生公式來產生該深淺參數A,該公式係表示為: e_az)+A。,其中係一個由使用者定義之常數,而之為 壓力值,Α。為深淺參數的預設值,而當該壓力值大於一預定值時, 54 1264674 該深淺參數係一常數; 間斷參數產生模組,用來產生對應於該主要位置資料與該 疏密位置資_斷錢,以___麟疏密位置 資料是否會觸現’其中該間斷參數產生模組包含—間斷參數設 疋表具有複數個間斷參數,對應於該主要位置資料與該疏密位 置資料’當間斷參數為第—值時’其所對應之位置資料會被顯現 出來,而當該卩撕參數為第二值時,其所對應之位置資料則不會 被顯現出來,該間斷參數C/可以表示為: 心孤祕⑺’其中心[0, 1];以及 一筆觸顏色參數產生模組,用來根據該顏色參數Λ、迷率參 數Γ、深淺參數h間斷參數㈣產生—筆觸顏色參數,而該筆觸 顏色參數產生模組係筆觸顏色參數產生公式來計算出該筆 觸顏色參數ciy,該公式係表示為: ^ y 其中該手寫筆崎出之一筆劃係包含w個主要位置資料,而 每一個主要位置資料係對應於”個疏密位置資料,而q表示第. 個主要位置座標之第y個疏密位置座標所對應之筆觸顏色參數· 其中 Q =八。 55 1264674 柒、指定代表圖: (一) 本案指定代表圖為:第3圖。 (二) 本代表圖之元件代表符號簡單說明·· 10 手寫筆 18 位置感測器 20 壓力感測器 21 主系統 22 壓力-半徑轉換模組 23 筆觸模擬裝置 24 正向量產生模組 26 疏密位置產生模組 28 筆觸產生模組 捌、本案若有化學式時,請揭示最能顯示 發明特徵的化學式: 6On the 2nd day, the replacement-shell-pressure-half-fee conversion formula is added to change the pressure value into the radius data. The formula is expressed as: = f{z)=(Maxm)J Π ve~1 > where '/(0) 二Ο /(1) = Maxm 0<ζ<1 where Μζχπ is the preset maximum radius data. 39. The brushstroke simulation method according to claim 38, wherein the main system is based on the position coordinate data to obtain a moment direction generated by the nib on the position coordinate, and the calculation formula is expressed as: I, — 0 卜1 · 'Κ The 笔 indicates that the tip of the pen is at the time, the direction of the moment, 0, indicating that the nib is at the main position of time, and ~ indicates that the nib is at the coordinates of her main position; The positive vector data Λ^(—3^). The stroke simulation method according to claim 39, wherein the main system J generates the plurality of sparse position data by using an ant position generation formula, and the formula is expressed as: H 〜1)·τν n J 1 47 1264674 , which shows the coordinates of the main position of the nib in the Japanese temple, the slave is the radius data, the % is the positive vector data, and " is a system preset value used to determine the location information of the sparse location. Number, and the heart indicates the yth location of the coordinate of the first main position coordinate; wherein one stroke drawn by the stylus contains (7) main position data, and each main position data corresponds to one Dense location information. 41. The stroke simulation method of claim 40, wherein the main system uses a one-touch generation method to generate the main line and the plurality of sparse lines, assuming that the main line is composed of m main coordinates The composition, and each major position coordinate system corresponds to n sparse position coordinates, the method comprises: calculating a tangent vector Κ and 7^ of the third and the ί + l position coordinates, the formula is: [a = [〇,l] where 'i denotes the / + 1 position coordinate and denotes the position coordinate of the Dib; use the Blending functions to calculate the interpolated value between the first and the z+1th position coordinates. The mixed function is expressed as: hx(s)= 2s3 -3^2 +1 /^2(5)= -2^3 +3^2 < A3(y) = ? - 2 2 2 +5 ; /i4(s)=s3 -s2 0<s<l 48 1264674 Obtain a Cardinal Splines Curve with the formula: Calculate the middle coordinate position between the /· and ί + 1 position coordinates And all the coordinate positions are connected to produce a smooth curve, and the intermediate coordinate position is calculated as: P = S^h* C ; where s3 "2 - 2 1 1 ' s = s2 C = h = -3 3 - 2 1 1 sl T) 0 0 1 0 _ 1 _ Ai. _ 1 0 0 0 _ 42. The brushstroke simulation method of claim 37, wherein the main system further comprises a color parameter generation module for generating a color parameter corresponding to the main location data and the sparse location data by a random number generation module. . 43. The stroke simulation method of claim 42, wherein the color parameter generation module generates a color parameter A by using a color parameter generation formula, the formula is not • Pi = Pi + lk ^O|%( a - a + 0 where Pi ^ Pi ^ Pi px , p2 G [0,255] where P1 and p2 are system defaults. 49 1264674 'Where the aforementioned main system is more 44. The stroke simulation method includes: a rate parameter generating display, a silk production rate parameter and a rate parameter of the sparse position data; and a rate color parameter generating her, the silk generating a color according to the axis color parameter and the rate parameter Rate-color parameter. Duru application __ 44 Lanxu pen following the branch, its towel Wei rate parameter generation module _-speed rotation number produces the number of revolutions generated by the male wire, the formula is not: f 3 Factory = /(v)= ^Sj~^Vmaxv2 +2v3 ^ · v J, where V represents the instantaneous rate of the stylus at the coordinates of the main position' represents a preset maximum rate value; the rate-color parameter is generated Modules are generated using a rate _ color parameter generation formula Rate and color parameter A, the formula is expressed as: household; = Λ * r. 46. The stroke simulation method according to claim 37, wherein the main system includes a parameter generation module for The pressure value produces a depth parameter corresponding to the data of the main position 50 1264674 and the data of the sparse position. 47. The stroke simulation method of claim 46, wherein the main position data has a maximum depth parameter, The smaller the distance data from the main position data, the smaller the shallow parameter. 48. The stroke simulation method described in claim 47, wherein the depth parameter generation module is generated by using a shallow parameter The formula is used to generate the depth parameter 2, which is expressed as: where α is a constant defined by the user, and Z is a pressure value, and Λ is a preset value of the depth parameter; wherein when the pressure value is greater than a predetermined value The depth parameter is a constant. 49. The stroke simulation method of claim 37, wherein the foregoing main system comprises: a rendering parameter generation The module is configured to generate a plurality of rendering position data according to the main position data and the radius data to represent a plurality of rendering position coordinates, wherein each main position data corresponds to a plurality of rendering position data. The stroke simulation method of claim 49, wherein the rendering parameter generation module includes a rendering parameter for determining a distance between each of the two rendering position data points and generating a formula using a rendering position The dyeing position is 51, so that the smaller the distance between the rendering position data from the main position data is, the formula is expressed as: d^ = D^q ; dt ^ where the formula uses finite difference The finite difference method is developed as follows: D'qi+'-2d') ^ = ?/-, + 2Dt. qM - ADtq, + IDtq^ (1 \气·+丨(-transmission + (1 side) The stroke simulation method of claim 49, wherein each of the rendering position data corresponds to a rendered color data, and the rendering parameter generation module includes a rendering parameter D, use Determining each of the two rendered color data "color change between" and using a rendered color generation formula to generate the rendered color data such that the distance between the rendered color data of the rendering position data that is further away from the primary location data is The smaller the difference, the formula is expressed as: ~ ~~ DV2 · dt-DVq, where the formula is developed using the finite difference method as follows: 52 hh object? Chest 16 more ==^ 9/+1 2^'rI' two D. (Sense +1 - 2 <?, + 9 Bu 1) il => 9/+ι = 9/-i + 21)/ Qi+l - ADtq, 4- 2Dtq => 9/+l \-2Dt (-ADtcj ^ +(1 + 2Z)/)^;_ 52. The stroke simulation method described in claim 37, The foregoing main system includes: a discontinuous parameter generating module configured to generate a discontinuity parameter corresponding to the primary location data and the sparse location data to determine whether the primary location data and the sparse location data are to be displayed. 53. The stroke simulation method of claim 52, wherein the discontinuous parameter generation module comprises a discontinuity parameter setting table having a plurality of discontinuous parameters corresponding to the primary location data and the sparse location data; When the discontinuous parameter is the first value, the corresponding position data will be revealed, and when the discontinuous parameter is the second value, the corresponding position data will not be revealed, and the discontinuous parameter d can be expressed. For d· dTable(i); where de [0, 1]. 54. The brushstroke simulation method according to claim 37, wherein the foregoing main system comprises: 53 1264674 *... ———一一科考ΐ丨125' history|positive replacement page-color parameter generation·, used Generating a color parameter corresponding to the primary location data and the sparse location (4) by generating a module, wherein the color parameter generation module generates the color parameter A by using a color parameter generation formula, the formula is For: A=A+|k Enemy/()|〇/心2一厂1+1) <where Pl < P, < p2 ' where A and P2 system default values; , P2 e [0,255] a rate parameter generating module, configured to generate a rate parameter corresponding to the primary location data and the sparse location data, wherein the rate of rotation generation mode uses a rate parameter generation formula to generate the rate parameter Γ, the formula is indicated as : V = /(v)= Vmax ~ 3VmaxV2 +2V 3 \ where V is the instantaneous velocity of the stylus at the main position coordinate, ν_ represents a preset maximum rate value; a shallow parameter generation module is used According to the pressure value, corresponding to the main position The depth and shallow parameters of the material and the sparse position data, wherein the main position data has the largest depth parameter, and the farther the location data from the main position data has a smaller depth parameter, the depth parameter generation module system The formula is used to generate the depth parameter A, which is expressed as: e_az) + A. , which is a constant defined by the user, and is the pressure value, Α. The preset value of the depth parameter, and when the pressure value is greater than a predetermined value, 54 1264674 is a constant; the discontinuous parameter generating module is configured to generate data corresponding to the main position and the density position _ If the money is broken, whether the ___ 麟 密 密 位置 位置 位置 位置 ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” When the discontinuous parameter is the first value, the corresponding position data will be revealed, and when the tearing parameter is the second value, the corresponding position data will not be revealed. The discontinuous parameter C/ It can be expressed as: heart orphan (7)' its center [0, 1]; and a touch color parameter generation module, which is used to generate the stroke color parameter according to the color parameter Λ, the volatility parameter Γ, the depth parameter h discontinuity parameter (4) And the stroke color parameter generation module is a stroke color parameter generation formula to calculate the stroke color parameter ciy, the formula is expressed as: ^ y where the stylus is out of a stroke system Contains w main location data, and each primary location data corresponds to "a sparse location data, and q represents the stroke color parameter corresponding to the yth sparse location coordinates of the first major location coordinate. Where Q =八. 55 1264674 柒, designated representative map: (1) The representative representative of the case is: Figure 3. (b) The representative symbol of the representative figure is a simple description · 10 stylus 18 position sensor 20 pressure sensor 21 main system 22 pressure-radius conversion module 23 stroke simulation device 24 positive vector generation module 26 sparse position generation module 28 stroke generation module 捌, if there is a chemical formula in this case, please reveal the chemical formula that best shows the characteristics of the invention: 6
TW92125437A 2003-09-16 2003-09-16 A handwriting pen capable of simulating different strokes TWI264674B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW92125437A TWI264674B (en) 2003-09-16 2003-09-16 A handwriting pen capable of simulating different strokes
US10/823,748 US7310091B2 (en) 2003-09-16 2004-04-14 Handwriting pen capable of simulating different strokes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW92125437A TWI264674B (en) 2003-09-16 2003-09-16 A handwriting pen capable of simulating different strokes

Publications (2)

Publication Number Publication Date
TW200512653A TW200512653A (en) 2005-04-01
TWI264674B true TWI264674B (en) 2006-10-21

Family

ID=37969435

Family Applications (1)

Application Number Title Priority Date Filing Date
TW92125437A TWI264674B (en) 2003-09-16 2003-09-16 A handwriting pen capable of simulating different strokes

Country Status (1)

Country Link
TW (1) TWI264674B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8144169B2 (en) 2008-09-23 2012-03-27 National Taiwan University Of Science And Technology Input device for graphics

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201604722A (en) 2014-07-31 2016-02-01 佳世達科技股份有限公司 Handwriting input system and handwriting input method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8144169B2 (en) 2008-09-23 2012-03-27 National Taiwan University Of Science And Technology Input device for graphics

Also Published As

Publication number Publication date
TW200512653A (en) 2005-04-01

Similar Documents

Publication Publication Date Title
CN100520692C (en) Hand-written input method capable of implementing writing style effect
Wiethoff et al. Sketch-a-TUI: low cost prototyping of tangible interactions using cardboard and conductive ink
JP2022540315A (en) Virtual User Interface Using Peripheral Devices in Artificial Reality Environment
CN102939575B (en) Ink presents
US20130307829A1 (en) Haptic-acoustic pen
JP2019149202A5 (en)
Lee et al. SketchInsight: Natural data exploration on interactive whiteboards leveraging pen and touch interaction
KR20140024260A (en) Method and device for implementing original calligraphy of handwriting
JP2018037112A (en) Enhanced dynamic haptic effect
CN104516649A (en) Intelligent cell phone operating technology based on motion-sensing technology
Cho et al. Turn: a virtual pottery by real spinning wheel
WO2021218448A1 (en) Handwriting forming method and apparatus, and electronic device
KR102112584B1 (en) Method and apparatus for generating customized emojis
CN102013182A (en) Mathematical communication method and system convenient for communication of freehand curve and handwritten expression
CN105354031A (en) Leap Motion based 3D commodity display method
TWI264674B (en) A handwriting pen capable of simulating different strokes
US20170131801A1 (en) Method for displaying handwriting in a pdf file
CN109065001A (en) A kind of down-sampled method, apparatus, terminal device and the medium of image
Watanabe et al. Generic method for crafting deformable interfaces to physically augment smartphones
CN201860353U (en) Mobile phone with drawing pad function
CN100351759C (en) A stylus that simulates different strokes
CN104766355A (en) Splash-color painting interactive system based on handwriting analysis and method for generating digital splash-color painting in real time through system
CN107122042A (en) The Chinese-character writing method and system that a kind of quiet dynamic gesture is combined
Auda et al. VRSketch: Investigating 2D sketching in virtual reality with different levels of hand and pen transparency
CN106598453A (en) Method and device for outputting shaped character information

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees