caim04

Size: px
Start display at page:

Download "caim04"

Transcription

1

2

3

4 CAIM03ImageToolBox.swiftCAIM04_1ImageToolBox.swift Command+A() Command+C() CAIM04_1ImageToolBox.swift Command+V( ImageToolBox.fillCircle import Foundation // class ImageToolBox { ) // () static func fillcircle(_ img:caimimage, cx:int, cy:int, radius:int, color:caimcolor, opacity:float=1.0) { // let mat = img.matrix // let wid = img.width // let hgt = img.height // // let min_x:int = cx - radius let min_y:int = cy - radius let max_x:int = cx + radius let max_y:int = cy + radius // min_x~max_x, min_y~max_y for y in min_y... max_y { for x in min_x... max_x {

5 DrawingViewControllertouchPressedOnView touchpressedonviewview_all.touchpixelpos[0]1fillcircle touchpressedonviewview_all.redraw()view_all(img_all) setupview_all.touchpressedtouchpressedonview class DrawingViewController : CAIMViewController { // view_all(screenpixelrect) var view_all:caimview = CAIMView(pixelFrame: CAIM.screenPixelRect) // img_all(screenpixelsize) var img_all:caimimage = CAIMImage(size: CAIM.screenPixelSize) override func setup() { // img_all img_all.fillcolor( CAIMColor.white ) // view_allimg_all view_all.image = img_all // view_all self.view.addsubview( view_all ) // view_alltouchpressedonview view_all.touchpressed = self.touchpressedonview // view func touchpressedonview() { // view_all1pos let pos = view_all.touchpixelpos[0] // pos ImageToolBox.fillCircle(img_all, cx: Int(pos.x), cy: Int(pos.y), radius: 20, color: CAIMColor(R: 0.0, G: 0.0, B: 1.0, A: 1.0), opacity: 1.0) // view_all view_all.redraw()

6 DrawingViewControllertouchMovedOnView(touchPressedOnView setupview_all.touchmovedtouchmovedonview class DrawingViewController : CAIMViewController { ( ) override func setup() { () // view_alltouchpressedonview view_all.touchpressed = self.touchpressedonview // view_alltouchmovedonview view_all.touchmoved = self.touchmovedonview func touchpressedonview() { () // view func touchmovedonview() { // view_all1pos let pos = view_all.touchpixelpos[0] // pos ImageToolBox.fillCircle(img_all, cx: Int(pos.x), cy: Int(pos.y), radius: 20, color: CAIMColor(R: 1.0, G: 0.0, B: 0.0, A: 1.0), opacity: 0.2) // view_all view_all.redraw()

7 DrawingViewControllertouchReleasedOnView releasepixelpos setupview_all.touchreleasedtouchreleasedonview class DrawingViewController: CAIMViewController { ( ) override func setup() { () // view_alltouchreleasedonview view_all.touchreleased = self.touchreleasedonview func touchpressedonview() { () func touchmovedonview() { () // func touchreleasedonview() { // view_all1pos let pos = view_all.releasepixelpos[0] // pos ImageToolBox.fillCircle(img_all, cx: Int(pos.x), cy: Int(pos.y), radius: 20, color: CAIMColor(R: 0.0, G: 1.0, B: 0.0, A: 1.0), opacity: 1.0) // view_all view_all.redraw()

8 DrawingViewControllermultiTouchMovedOnView setupview_all.touchmovedmultitouchmovedonview ( view_all.touchpressedview_all.touchreleased) class DrawingViewController : CAIMViewController { () override func setup() { () // //view_all.touchpressed = self.touchpressedonview // view_allmultitouchmovedonview view_all.touchmoved = self.multitouchmovedonview // //view_all.touchreleased = self.touchreleasedonview (1,2,3 ) // func multitouchmovedonview() { // let count = view_all.touchpixelpos.count // for i in 0..< count { // ipos let pos = view_all.touchpixelpos[i] // pos ImageToolBox.fillCircle( img_all, cx: Int(pos.x), cy: Int(pos.y), radius: 20, color: CAIMColor(R: 1.0, G: 0.0, B: 0.0, A: 1.0), opacity: 0.2) // view_all view_all.redraw()

9

10

11 DrawingViewController.swiftupdate class DrawingViewController : CAIMViewController { // view_all(screenpixelrect) var view_all:caimview = CAIMView(pixelFrame: CAIM.screenPixelRect) // img_all(screenpixelsize) var img_all:caimimage = CAIMImage(size: CAIM.screenPixelSize) // 1() override func setup() { // img_all update60/ (polling) img_all.fillcolor( CAIMColor.white ) // view_allimg_all view_all.image = img_all // view_all self.view.addsubview( view_all ) var count:int = 0// override func update() { // count print( \(count) ) // count1 count += 1

12 DrawingViewController.swiftupdate view_all.touchpixelpos.count > 0 = class DrawingViewController : CAIMViewController { () // 1() override func setup() { () override func update() { // = view_all.touchpixelpos.count1 if(view_all.touchpixelpos.count > 0) { // 1pos let pos = view_all.touchpixelpos[0] // pos ImageToolBox.fillCircle(img_all, cx: Int(pos.x), cy: Int(pos.y), radius: 20, color: CAIMColor(R: 1.0, G: 0.0, B: 0.0, A: 1.0), opacity: 0.2) // view_all view_all.redraw()

13 DrawingViewController.swiftupdate (4-1)(5-2)(view_all.touchPixelPos.count > 0) class DrawingViewController : CAIMViewController { () // 1() override func setup() { () override func update() { // = view_all.touchpixelpos.count1 if(view_all.touchpixelpos.count > 0) { // for i in 0..< view_all.touchpixelpos.count { // ipos let pos = view_all.touchpixelpos[i] // pos ImageToolBox.fillCircle(img_all, cx: Int(pos.x), cy: Int(pos.y), radius: 20, color: CAIMColor(R: 1.0, G: 0.0, B: 0.0, A: 1.0), opacity: 0.2) // view_all view_all.redraw()

14

15 // 1() override func setup() { // // override func update() { //

16 // view_all view_all.touchpressed = // view_all view_all.touchmoved = // view_all view_all.touchreleased =

17 let pos = view_all.touchpixelpos[0] let x = pos.x let y = pos.y

caim03

caim03 ImageToolBox.swift fillrect fillcolor x1,y1,x2,y2 static func fillrect(_ img:caimimage, x1:int, y1:int, x2:int, y2:int, color:caimcolor) { // let mat = img.matrix // let wid = img.width // let hgt = img.height

More information

caim03

caim03 ImageToolBox.swift fillrect fillcolor x1,y1,x2,y2 static func fillrect(_ img:caimimage, x1:int, y1:int, x2:int, y2:int, color:caimcolor) { // let mat = img.matrix // let wid = img.width // let hgt = img.height

More information

caimmetal03.key

caimmetal03.key import UIKit import simd // ID let ID_VERTEX:Int = 0 let ID_PROJECTION:Int = 1 // 1 struct Vertex { var pos:float2 = Float2() var uv:float2 = Float2() var rgba:float4 = Float4() // struct Particle { var

More information

caimmetal03.key

caimmetal03.key import UIKit // ID let ID_VERTEX:Int = 0 let ID_PROJECTION:Int = 1 // 1 struct VertexInfo : Initializable { var pos:vec4 = Vec4() var uv:vec2 = Vec2() var rgba:caimcolor = CAIMColor() // struct Particle

More information

1) OOP 2) ( ) 3.2) printf Number3-2.cpp #include <stdio.h> class Number Number(); // ~Number(); // void setnumber(float n); float getnumber();

1) OOP 2) ( ) 3.2) printf Number3-2.cpp #include <stdio.h> class Number Number(); // ~Number(); // void setnumber(float n); float getnumber(); : : :0757230G :2008/07/18 2008/08/17 1) OOP 2) ( ) 3.2) printf Number3-2.cpp #include class Number Number(); // ~Number(); // void setnumber(float n); float getnumber(); private: float num; ;

More information

2 : 2008/12/ /01/ G :

2 : 2008/12/ /01/ G : 2 : 2008/12/08 2008/01/16 075730G : 1 project draw main.cpp 1 draw main.cpp /* * main.cpp * draw * * Created by C-T on 08/12/08. * Copyright 2008 MyCompanyName. All rights reserved. * */ #include

More information

untitled

untitled 146,650 168,577 116,665 122,915 22,420 23,100 7,564 22,562 140,317 166,252 133,581 158,677 186 376 204 257 5,594 6,167 750 775 6,333 2,325 298 88 5,358 756 1,273 1,657 - - 23,905 23,923 1,749 489 1,309

More information

fx-370ES_912ES_UsersGuide_J02

fx-370ES_912ES_UsersGuide_J02 Eng Eng 3 A Eng 1 1,234 Eng a 1234= W W 2 123 Eng a 123= 1W( ) S-D S-D π 72 A S-D π π nπ n d π c a b π c π ' f ' A S-D 1 A '5c6= f f f 73 2 π A 15(π)*'2c5= f 3 ' A!2e*!3= f 74 (CMPLX) 15 CMPLX N2 A u u

More information

r3.dvi

r3.dvi 00 3 2000.6.10 0 Java ( 7 1 7 1 GSSM 1? 1 1.1 4 4a 4b / / 0 255 HTML X 0 255 16 (0,32,255 #0020FF Java xclock -bg #0020FF xclock ^C (Control C xclock 4c 1 import java.applet.applet; import java.awt.*;

More information

gnuplot.dvi

gnuplot.dvi gnuplot gnuplot 1 gnuplot exit 2 10 10 2.1 2 plot x plot sin(x) plot [-20:20] sin(x) plot [-20:20][0.5:1] sin(x), x, cos(x) + - * / ** 5 ** plot 2**x y =2 x sin(x) cos(x) exp(x) e x abs(x) log(x) log10(x)

More information

10K pdf

10K pdf #1 #2 Java class Circle { double x; // x double y; // y double radius; // void set(double tx, double ty){ x = tx; y = ty; void set(double tx, double ty, double r) { x = tx; y = ty; radius = r; // Circle

More information

NPCA部誌2018

NPCA部誌2018 1 ARKit 73 object 1.1 73 ( 1) object ARKit 1.2 ARKit ARKit AR AR AR AR( ) (Wikipedia ) AR Pokemon GO( ) AR 1 1.2 ARKit 1.1: VR AR VR VR AR ( ) ( ) ARKit AR ARKit ARKit Apple ios AR ARKit AR ios ios AR

More information

Ⅰ.市場リスクの計測手法

Ⅰ.市場リスクの計測手法 1 2 3 4 { } n n 5 R R R R 1 6 7 8 9 , 10 11 12 13 14 15 T 16 T 17 18 19 20 21 22 23 99VaR 99 24 25 26 0.5 0.5 27 99 28 99 99 29 99 30 31 t-1 t-1 t-1 t-1 t-10 t-10 t-10 t-10 32 33 2 T 2 34 99 99 99 35 36

More information

lifedesign_contest_No3

lifedesign_contest_No3 1 3 5 Apple Developer Program 5 AWS 8 Raspberry Pi 14 18 19 { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "sns:createplatformendpoint" ], "Resource": [ ] ] #

More information

+ ( ) + + D 0 + ( ) + + D D ( ) 4( + ) ( )( ) b + c b ± b 4c D b 4c D 0 D D 0 ( +) ( ) b ( + b)( b) ± ( + ) + b + b ( + b)

+ ( ) + + D 0 + ( ) + + D D ( ) 4( + ) ( )( ) b + c b ± b 4c D b 4c D 0 D D 0 ( +) ( ) b ( + b)( b) ± ( + ) + b + b ( + b) D 0 b ± b 4c + b + c STEP STEP STEP STEP STEP f 0 f + b + c + d STEP STEP STEP STEP4 n n n + b + c + d d b c d b c d b c d d d d + b + c b c + Point! n f g f g + ( ) + + D 0 + ( ) + + D D ( ) 4( + ) +

More information

001

001 001 002 003 005 004 006 007 008 009 010 011 012 014 016 017 018 020 021 025 035 037 045 061 065 081 082 084 085 091 092 093 096 097 098 100 102 103 006 007 008 009 010 011 012 014 016 017 018 020 021 025

More information

コンテンツメディアプログラミング実習2

コンテンツメディアプログラミング実習2 CMP 実習 2 JavaScript + 地図を使ってみよう 中村, 宮下, 斉藤, 菊池 1 必要な知識 JavaScript の基本 HTMLのどの部品なのかを指定する方法 その部品にイベントを埋め込む方法 それを JavaScript で記述する方法 2 要素をどうやって取得する? DOM とは Document Object Model HTML や XML の各要素についてアプリケーションから利用するための

More information

plotwsx PLOT-WSX X11 X spp[2]./a.out PLOT-WSX PLOT IPENS -13 IPENS 0 IPENS 0 2 s p PLOT MRI 3.2 PLOT-WSX PLOT IPE- NS -13 IPENS 0 1 Continue PLO

plotwsx PLOT-WSX X11 X spp[2]./a.out PLOT-WSX PLOT IPENS -13 IPENS 0 IPENS 0 2 s p PLOT MRI 3.2 PLOT-WSX PLOT IPE- NS -13 IPENS 0 1 Continue PLO PLOT-WSX 3 1 EWS FORTRAN PLOT-WSX FORTRAN spp 2 2.1 1 1 1 1 Y (Xmax,Ymax) (0,Ymax) 2.2 PLOT-WSX NEWPEN 1 1. NEWPEN 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2.3 PLOT-WSX PLOTS 4.1.1 PLOT-WSX outle.ps 3 X (0,0)

More information

C# ++ MASA C# ( ) XNA 1.1 C# ( ) VisualStuio XNA 4.0 VisualStuio XNA 3.1 * * *3 2.1 VisualStuio Windows ( TextGam

C# ++ MASA C# ( ) XNA 1.1 C# ( ) VisualStuio XNA 4.0 VisualStuio XNA 3.1 * * *3 2.1 VisualStuio Windows ( TextGam C# ++ MASA 2011 8 1 C# ( ) XNA 1.1 C# ( ) VisualStuio 2010 + XNA 4.0 VisualStuio 2008 + XNA 3.1 *1 1.2 1 *2 1.3 2 *3 2.1 VisualStuio Windows ( TextGame2 ) OK *1 XNA 3.1 4.0 *2 *3 1 TextGame2 ( Ship ) 32*32

More information

( ) 1 1.5 . Let s. 800g 400ml800g 5 5 5 1 6 4 5 3 3 5 25 5 14 10 50 12 00 3 4.5 3 4.5 3 5 2 3 4 5 25 6 5 9 45 10 15 5 Let s BOX 3 4 5 BOX 25 8 19 4 5 10 45 11 00 3 11 05 11 20 4 3 BOX

More information

dx dt = f x,t ( ) t

dx dt = f x,t ( ) t MATLAB 1. 2. Runge-Kutta 3. 1. 2. 3. dx dt = f x,t ( ) t dx( t) dt = lim Δt x( t + Δt) x( t) Δt t = nδt n = 0,1,2,3,4,5, x = x( nδt) n Δt dx ( ) dt = f x,t x n +1 x n Δt = f ( x,nδt) n 1 x n = x 0 n =

More information

Python Speed Learning

Python   Speed Learning Python Speed Learning 1 / 76 Python 2 1 $ python 1 >>> 1 + 2 2 3 2 / 76 print : 1 print : ( ) 3 / 76 print : 1 print 1 2 print hello 3 print 1+2 4 print 7/3 5 print abs(-5*4) 4 / 76 print : 1 print 1 2

More information

2 Seminario Print Exhibition

2 Seminario Print Exhibition Seminario Print Exhibition 2016 2 Seminario Print Exhibition Seminario Print Exhibition 3 4 Seminario Print Exhibition Seminario Print Exhibition 5 1 6 Seminario Print Exhibition Seminario Print Exhibition

More information

Swift1.key

Swift1.key Swift Swift 対象読者としては すでにC 言語および Objective-C( あるいは少なくともJava など ) によるプログラミングの経験がある人を想定しています すでに出版されている入門書や雑誌記事ではSwiftの全体像が把握できないと感じている人には特にお勧めです ジェネリクスの機能や標準ライブラリに関する解説なども含んでおり 現時点では最も 濃い Swift 本になっていると思います

More information

untitled

untitled 1.5 1.5 1?, 82K 506 (15 ) 5 110ha 46ha 2 (15 50) (H18) ( ) 65 70 BP 3 96, ( ) UJI ( U) (30 UJI ) ( :) 3 4 ( ) 5 ( ) 6 1.5 ( ) ( ) ( ) ( )? 2 GRP Gross Rating Point 600GRP(100GRP ) Ex. CIA Robertson Panel

More information

ex01.dvi

ex01.dvi ,. 0. 0.0. C () /******************************* * $Id: ex_0_0.c,v.2 2006-04-0 3:37:00+09 naito Exp $ * * 0. 0.0 *******************************/ #include int main(int argc, char **argv) { double

More information

Quartz OpenGL ES 注 3 注 4 図 2 注 5 3 3D 4 5 2 OpenGL ES Quartz Quartz Jun. 2011-135

Quartz OpenGL ES 注 3 注 4 図 2 注 5 3 3D 4 5 2 OpenGL ES Quartz Quartz Jun. 2011-135 iphone Quartz ios ios YOSHIDA Yuuichi http://sonson.jp 注 1 注 2 図 1 1 ios Objective-C 2 Google 1 Map Kit 3 Cocoa Touch 134 - Software Design Quartz OpenGL ES 注 3 注 4 図 2 注 5 3 3D 4 5 2 OpenGL ES Quartz

More information

1_cover

1_cover BetweenAS3 Updater Spark Project #APMT 2009.9.11 TAKANAWA Tomoaki ( http://nutsu.com ) http://www.libspark.org/svn/as3/betweenas3/tags/alpha-r3022/ public static function tween(...):iobjecttween { var

More information

Count in Crimes

Count in Crimes Count in Crimes TU TU TU TU TU TU TU TU TU TU Count in Crimes 1 TU TU TU TU TU TU TU TU TU 75 4 520 TU TU TU TU Count in Crimes 2 TU Count in Crimes 3 TU TU TU TU TU TU TU TU Count in Crimes 4 TU TU TU

More information

5 p Point int Java p Point Point p; p = new Point(); Point instance, p Point int 2 Point Point p = new Point(); p.x = 1; p.y = 2;

5 p Point int Java p Point Point p; p = new Point(); Point instance, p Point int 2 Point Point p = new Point(); p.x = 1; p.y = 2; 5 p.1 5 JPanel (toy example) 5.1 2 extends : Object java.lang.object extends... extends Object Point.java 1 public class Point { // public int x; public int y; Point x y 5.1.1, 5 p.2 5 5.2 Point int Java

More information

第26回_プレゼン資料_菅原(Unityはじめるよ~NavMesh基礎~)

第26回_プレゼン資料_菅原(Unityはじめるよ~NavMesh基礎~) Unity はじめるよ NavMesh 基礎 統合開発環境を内蔵したゲームエンジン http://japan.unity3d.com/ いろんな職業の が る資料なので説明を簡単にしてある部分があります 正確には本来の意味と違いますが上記理由のためです ご了承ください この資料内の 部の画像 部の 章は Unity 公式サイトから引 しています NavMeshって ナビゲーションシステムによって

More information

情報システム設計論II ユーザインタフェース(1)

情報システム設計論II ユーザインタフェース(1) CMP 実習 2 Ajax, Web API 中村, 宮下, 斉藤, 菊池 1 2 API Web API とは? Application Program Interface( 何らかの機能をプログラミングするための仕組み ) メソッド名 + 引数で何らかの動作を実現する! Web API Web 上でアクセス可能な API 様々な情報にアクセスすることが可能 何かの緯度経度, キーワード検索結果,

More information

untitled

untitled () 1.... 4 2.... 5 3.... 6 3.1... 6 3.2... 7 4.... 8 4.1.1... 8 4.1.2... 10 4.1.3 ()... 11 4.1.4... 12 4.1.5... 14 4.2 2003... 15 4.2.1 2003... 17 5.... 19 5.1... 19 5.1.1 2002... 20 5.1.2... 21 5.1.3...

More information

CONTENTS Net-Ready MFP COPY COLOR PRINT SCAN FILING BOX FAX MANAGEMENT SECURITY FRIENDLY OPTION P.3-P.4 P.5 P.6 P.7 P.8 P.9 P.10 P.11 P.12 P.13 P.14 1

CONTENTS Net-Ready MFP COPY COLOR PRINT SCAN FILING BOX FAX MANAGEMENT SECURITY FRIENDLY OPTION P.3-P.4 P.5 P.6 P.7 P.8 P.9 P.10 P.11 P.12 P.13 P.14 1 CONTENTS Net-Ready MFP COPY COLOR PRINT SCAN FILING BOX FAX MANAGEMENT SECURITY FRIENDLY OPTION P.3-P.4 P.5 P.6 P.7 P.8 P.9 P.10 P.11 P.12 P.13 P.14 1 2 S Solution M Mobile I Internet S Security Net-Ready

More information

テクノ東京21 2003年6月号(Vol.123)

テクノ東京21 2003年6月号(Vol.123) 2 3 5 7 9 10 11 12 13 - 21 2003 6123 21 2003 6123 - 21 2003 6123 21 2003 6123 3 u x y x Ax Bu y Cx Du uy x A,B,C,D - 21 2003 6123 21 2003 6123 - 21 2003 6123 - 21 2003 6123 -- -- - 21 2003 6123 03 3832-3655

More information

fx-JP500

fx-JP500 SA1409-A JA fx-jp500 http://edu.casio.jp RJA531983-001V01 1. 2. 1 2 15 31 + 3 ... 1... 3... 5... 5... 5... 7... 8... 9... 11... 14... 15... 17... 19... 19... 21... 26... 27... 27... 29 n... 33 /... 34...

More information

02 01 02

02 01 02 02 01 02 Introduction 03 04 03 Usability 04 Usability & Technology Usability & Technology Technology 05 Color Scan 06 Paperless Paperless Fax Paperless 07 bizhub Document Output Copy & Print 08 Document

More information

ox.dvi

ox.dvi OX 2002 2 1 OX 1 1.1 OX........................................ 1 1.2 OX................................... 2 1.2.1 OX............................... 2 1.2.2 OxEdit............................... 2 2

More information

r1.dvi

r1.dvi Ruby 2009.9.7 1 ( ) --- ( ( ) ( ) 1 --- ( ) 1 ( ) (?) IT 7K( )?? ( ) ( )? IT ( ) --- ( ) 1 ( ) --- ( ) (?) 2-3% Top-Level ICT Professional 5% ICT Professional 10% 100% 50% 20% Devl. Experiment Adv. ICT

More information

デジタル表現論・第4回

デジタル表現論・第4回 デジタル表現論 第 4 回 劉雪峰 ( リュウシュウフォン ) 2016 年 5 月 2 日 劉 雪峰 ( リュウシュウフォン ) デジタル表現論 第 4 回 2016 年 5 月 2 日 1 / 14 本日の目標 Java プログラミングの基礎 出力の復習 メソッドの定義と使用 劉 雪峰 ( リュウシュウフォン ) デジタル表現論 第 4 回 2016 年 5 月 2 日 2 / 14 出力 Systemoutprint()

More information

( 削 除 ) 備 考 :&/ 演 算 子 &% 演 算 子 は 削 除 されま P.38 let month3: (Int, String) = month1 // コンパイルエラー let month3: (Int, String) = month1 備 考 : 名 前 付 きタプルを 名 前

( 削 除 ) 備 考 :&/ 演 算 子 &% 演 算 子 は 削 除 されま P.38 let month3: (Int, String) = month1 // コンパイルエラー let month3: (Int, String) = month1 備 考 : 名 前 付 きタプルを 名 前 SpriteKit ではじめる 2D ゲームプログラミング Swift 対 応 誌 面 とサンプルプログラムの Swift1.2 対 応 について Xcode 6.3 で Swift のバージョンが 1.2 にバージョンアップされまこのバージョンアップでは 下 位 バージョンと 互 換 性 のない 仕 様 変 更 があるため 本 書 のサンプルコードの 一 部 でエラーが 発 生 します Swift1.2

More information

Int Int 29 print Int fmt tostring 2 2 [19] ML ML [19] ML Emacs Standard ML M M ::= x c λx.m M M let x = M in M end (M) x c λx.

Int Int 29 print Int fmt tostring 2 2 [19] ML ML [19] ML Emacs Standard ML M M ::= x c λx.m M M let x = M in M end (M) x c λx. 1, 2 1 m110057@shibaura-it.ac.jp 2 sasano@sic.shibaura-it.ac.jp Eclipse Visual Studio ML Standard ML Emacs 1 ( IDE ) IDE C C++ Java IDE IDE IDE IDE Eclipse Java IDE Java Standard ML 1 print (Int. 1 Int

More information

10K

10K 1 2 3 4 Object Oriented Object Oriented Programming(OOP) 5 6 OOP#1 OOP#2 Java 7 Java 8 手続き型 v.s. OOP #1 OOPのメリット#3 追加 変更がラク 出典 立山秀利 Javaのオブジェクト指向がゼッタイにわかる本 秀和システム 出典 立山秀利 Javaのオブジェクト指向がゼッタイにわかる本 秀和システム

More information

Unite2016Tokyo-yasuhara.key

Unite2016Tokyo-yasuhara.key Mathf.Sqrt(100f); (float)system.math.sqrt((double)100f); Mathf.Sqrt(100f); (float)system.math.sqrt((double)100f); Unity Editor(Mac) for Mono(AOT) IL2CPP // var sw = new System.Diagnostics.Stopwatch();

More information

ex01.dvi

ex01.dvi ,. 0. 0.0. C () /******************************* * $Id: ex_0_0.c,v.2 2006-04-0 3:37:00+09 naito Exp $ * * 0. 0.0 *******************************/ #include int main(int argc, char **argv) double

More information

新版明解C言語 実践編

新版明解C言語 実践編 2 List - "max.h" a, b max List - max "max.h" #define max(a, b) ((a) > (b)? (a) : (b)) max List -2 List -2 max #include "max.h" int x, y; printf("x"); printf("y"); scanf("%d", &x); scanf("%d", &y); printf("max(x,

More information

Mac OS X Windows...15 Mac OS X...16 Windows /...24 /...24 / Windows...2

Mac OS X Windows...15 Mac OS X...16 Windows /...24 /...24 / Windows...2 E-850 NPD5067-00 ...5... 5... 9 Mac OS X...9... 9...12...13...13...14...14...14 Windows...15 Mac OS X...16 Windows...17...17...20 /...24 /...24 /...26...28 Windows...28 Mac OS X...31 Windows...34...35...35...37

More information

スライド 1

スライド 1 コンピュータプログラミング II (2019 年度前期 ) 学力考査問題公開版 20190718 (2) 問題 1 クラス図からソースプログラムの導出 ( 提出 CoffeeShop.java) クラス図 CoffeeShop からソースプログラムを導出しなさい. CoffeeShop information():void getcoffee(number:int):string getprice(coffee:string):int

More information

GIMP import javafx.application.application; import javafx.scene.scene; import javafx.scene.canvas.canvas; import javafx.scene.canvas.graphicscontext;

GIMP import javafx.application.application; import javafx.scene.scene; import javafx.scene.canvas.canvas; import javafx.scene.canvas.graphicscontext; (JavaFX ) JavaFX 2 1. 2 2. 52 3. A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3, 2 4. 13 5. 6. 7. 8. 9. 13 10. 11. 12. Java.gif 1 GIMP import javafx.application.application; import javafx.scene.scene; import javafx.scene.canvas.canvas;

More information

36

36 36 37 38 P r R P 39 (1+r ) P =R+P g P r g P = R r g r g == == 40 41 42 τ R P = r g+τ 43 τ (1+r ) P τ ( P P ) = R+P τ ( P P ) n P P r P P g P 44 R τ P P = (1 τ )(r g) (1 τ )P R τ 45 R R σ u R= R +u u~ (0,σ

More information

3 3.1 3 [Set type:] 2 c 1 2 3 XYDY DY D dispersion 4 File New 3 NEW 3:

3 3.1 3 [Set type:] 2 c 1 2 3 XYDY DY D dispersion 4 File New 3 NEW 3: 2 3 2 Dt Import ASCII [Red sets] [Directories 2 [Files] 2 b OK 1 X 2 Y 2 Import ASCII b c 2: 3 3.1 3 [Set type:] 2 c 1 2 3 XYDY DY D dispersion 4 File New 3 NEW 3: 4 5 5.1 4 4 4: 5 5.2 Plot Axis properties

More information

Level1_ key

Level1_ key HTML5 1 2019 8 1.5 API ( ) 1.5.1 API 1.5.2 API 1.5.3 API 1.5.4 API!2 HTML5 Web HTML5 Web Web HTML5 Web Web Web Web Web HTML5!3 Web HTML5 Web HTML Web Web Web API Web HTML Web Web!4 1 2 HTML/HTML5 HTML5

More information

MTX/MRXシステム ファームウェア アップデートガイド

MTX/MRXシステム ファームウェア アップデートガイド MTX/MRX MTX MRX7-D XMV EXi8/EXo8 ( ) MTX5-D MRX7-D XMV Dante Dante ( ) Dante dinate Dante Audinate Windows Microsoft Corporation Bonjour Apple Inc. 1 MTX-MRX Editor Device Information Audinate Dante Controller

More information

TLAdjust321_UG_日本語_090722

TLAdjust321_UG_日本語_090722 Topaz Labs, LLC A Video and Image Enhancement Company TOPAZ Adjust V3.0 2009 4 http://www.nixus.jp Copyright 2009 Topaz Labs, LLC. All rights reserved. http://www.topazlabs.com ...3...4... 5... 5... 5

More information

平成 29 年度卒業研究 初心者のためのゲームプログラミング用 教材の開発 函館工業高等専門学校生産システム工学科情報コース 5 年 25 番細見政央指導教員東海林智也

平成 29 年度卒業研究 初心者のためのゲームプログラミング用 教材の開発 函館工業高等専門学校生産システム工学科情報コース 5 年 25 番細見政央指導教員東海林智也 平成 29 年度卒業研究 初心者のためのゲームプログラミング用 教材の開発 函館工業高等専門学校生産システム工学科情報コース 5 年 25 番細見政央指導教員東海林智也 目次 第 1 章英文アブストラクト第 2 章研究目的第 3 章研究背景第 4 章開発環境第 5 章開発した 2D ゲーム制作ライブラリの概要第 6 章ライブラリの使用方法第 7 章まとめと今後の課題参考文献 1 第 1 章英文アブストラクト

More information

ERATO100913

ERATO100913 ERATO September 13, 2010, DC2 1/25 1. 2 2. 2/25 3/25 3/25 2 3/25 2 3/25 1 1 0.5 0.5 0 0 0.5 1 0 0 0.5 1 4/25 1 1 0.5 0.5 0 0 0.5 1 (0, 0) 0 0 0.5 1 4/25 1 1 0.5 0.5 0 0 0.5 1 (0, 0) ( 1, 0) 0 0 0.5 1 4/25

More information

2008 DS T050049

2008 DS T050049 DS T050049. PSP DS DS DS RPG DS OS Windows XP DevkiPro OS DS CPU ARM devkitarm MSYS MinGW MSYS MinGW Unix OS C++ C++ make nds nds DS DS micro SD Card nds DS DS DS nds C Java C++ nds nds DS 2008 DS T050049

More information

AtCoder Regular Contest 073 Editorial Kohei Morita(yosupo) A: Shiritori if python3 a, b, c = input().split() if a[len(a)-1] == b[0] and b[len(

AtCoder Regular Contest 073 Editorial Kohei Morita(yosupo) A: Shiritori if python3 a, b, c = input().split() if a[len(a)-1] == b[0] and b[len( AtCoder Regular Contest 073 Editorial Kohei Morita(yosupo) 29 4 29 A: Shiritori if python3 a, b, c = input().split() if a[len(a)-1] == b[0] and b[len(b)-1] == c[0]: print( YES ) else: print( NO ) 1 B:

More information

untitled

untitled StoreManager 1. StoreManager POS...3 2. CSV...4 3. CSV Step1...4 4. CSV Step2...5 5. POS Step1...5 6. POS Step1...6 1....8 2....8 3....9 4....9 1. ABC... 10 2.... 10 3.... 11 4.... 11 5. ABC... 12 6....

More information

Processing入門マニュアル17

Processing入門マニュアル17 20. 連続したベジェ曲線を描く beginshape(); beziervertex(x座標, y座標); endshape(); ベジェ曲線を連続して描くためにはbezierVertex命令をbeginShapeとendShape命令の間に記述します ( C1x, C1y ) ( V1x, V1y ) ( V2x, V2y ) ( C2x, C2y ) ( C3x, C3y ) ( C6x, C6y

More information

6-1

6-1 6-1 (data type) 6-2 6-3 ML, Haskell, Scala Lisp, Prolog (setq x 123) (+ x 456) (setq x "abc") (+ x 456) ; 6-4 ( ) subtype INDEX is INTEGER range -10..10; type DAY is (MON, TUE, WED, THU, FRI, SAT, SUN);

More information

4 Ziggi-HD 4 5 5 6 7 8 8 8 9 11 12 13 5 14 15 16 17 18 19 (EXP) 20 21 2

4 Ziggi-HD 4 5 5 6 7 8 8 8 9 11 12 13 5 14 15 16 17 18 19 (EXP) 20 21 2 Ziggi-HD USB www.ipevo.jp 4 Ziggi-HD 4 5 5 6 7 8 8 8 9 11 12 13 5 14 15 16 17 18 19 (EXP) 20 21 2 22 23 24 25 Ziggi-HD 26 28 29 Ziggi-HD Ziggi-HD Ziggi-HD 30 31 31 32 32 33 35 35 3 Ziggi-HD USB Ziggi-HD

More information

001-002_...j.f......_..

001-002_...j.f......_.. 1 2 1 Chapter of Export 1 10 2 12 3 14 4 16 5 18 6 20 7 22 8 24 9 26 10 28 11 30 12 32 13 34 14 36 15 38 16 40 17 42 18 44 19 46 3 20 48 21 50 22 52 23 54 24 56 25 58 26 60 27 62 28 64 29 66 30 68 Chapter

More information

wireless

wireless 133 + 00 Mbps + 1300 600 Mbps 1300 + 40Mbps 66+ 300 Mbps 66+ 300Mbps 11n a 11n g b 300+ 300 Mbps 11n g b 300Mbps 11 12 MAC.11..9...6. SP3 MAC.11..9...6. 3F 40 163 Mbps 116 Mbps % UP! Mbps0 0 0 10 200 3F

More information

IronPython による柔軟なゲーム開発 筑波大学 AmusementCreators

IronPython による柔軟なゲーム開発 筑波大学 AmusementCreators IronPython による柔軟なゲーム開発 筑波大学 AmusementCreators 自己紹介 Amusement Makers ではありません 注意 IronPython って?.Net Framework および Mono 上で動作する Python.NetFramework Mono は共通中間言語 (CIL) のための仮想マシン CIL が動く仮想マシンの仕様は共通言語基盤 (CLI)

More information

226

226 226 227 Main ClientThread Request Channel WorkerThread Channel startworkers takerequest requestqueue threadpool WorkerThread channel run Request tostring execute name number ClientThread channel random

More information

CSSNite-LP54-kubo-ito.key

CSSNite-LP54-kubo-ito.key div { div { width: ; div { width: 100%; div { width: 100%; div { width: 100%!important; a { color: #000!important; .box { padding: 20px; border: 4px solid #666; h1 { color:

More information

1 VisBAR edu H 2 O.....

1 VisBAR edu H 2 O..... VisBAR edu v1.03 ( ) 25 4 22 1 VisBAR edu 1 1.1....................................................... 1 1.2.................................................. 2 2 3 2.1 H 2 O.........................................

More information

1 1 2 Unix 1 3 4 4 SVG 6 4.1 SVG................................... 6 4.2 SVG......................... 6 4.3 SVG.............................. 7 4.4..

1 1 2 Unix 1 3 4 4 SVG 6 4.1 SVG................................... 6 4.2 SVG......................... 6 4.3 SVG.............................. 7 4.4.. WWW 17 2 10 1 1 2 Unix 1 3 4 4 SVG 6 4.1 SVG................................... 6 4.2 SVG......................... 6 4.3 SVG.............................. 7 4.4................................. 8 4.5...........................

More information

r4.dvi

r4.dvi 00 4 2000.6.24 0 GUI GUI GUI GUI 1 1.1 3 2 1 import java.applet.applet; import java.awt.*; public class r3ex2 extends Applet { Figure[] figs = new Figure[]{ new Circle(Color.blue, 100.0, 100.0, 30.0, 1.1,

More information

アルゴリズムとデータ構造1

アルゴリズムとデータ構造1 1 2005 7 22 22 (sakai.keiichi@kochi sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2005/index.html tech.ac.jp/k1sakai/lecture/alg/2005/index.html f(0) = 1, f(x) =

More information

1222-A Transform Function Order (trsn

1222-A Transform Function Order (trsn 1233 親の組合せで変化をつける 親の基本的な性質 要素 ( ボックス ) を親子にすることによって トランジションやアニメーションの動きにさまざまな変化をつけることができます 基本的には次のような性質を持っています 1 の position プロパティの値が static( または position の指定なし ) 以外の場合 の position プロパティの値に absolute を指定すると

More information

Python Speed Learning

Python   Speed Learning Python Speed Learning 1 / 89 1 2 3 4 (import) 5 6 7 (for) (if) 8 9 10 ( ) 11 12 for 13 2 / 89 Contents 1 2 3 4 (import) 5 6 7 (for) (if) 8 9 10 ( ) 11 12 for 13 3 / 89 (def) (for) (if) etc. 1 4 / 89 Jupyter

More information

2 p.2 2 Java Hello0.class JVM Hello0 java > java Hello0.class Hello World! javac Java JVM java JVM : Java > javac 2> Q Foo.java Java : Q B

2 p.2 2 Java Hello0.class JVM Hello0 java > java Hello0.class Hello World! javac Java JVM java JVM : Java > javac 2> Q Foo.java Java : Q B 2 p.1 2 Java Java JDK Sun Microsystems JDK javac Java java JVM appletviewer IDESun Microsystems NetBeans, IBM 1 Eclipse 2 IDE GUI JDK Java 2.1 Hello World! 2.1.1 Java 2.1.1 Hello World Emacs Hello0.java

More information

Astellas Foundation for Research on Metabolic Disorders 2008. 12No. 1 1 19 2 3 9 37 9 10 19 13. 27. 27. 27. 28. 28. 29 30 31 32 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

More information

( )$("canvas").drawarc({strokestyle:"red", x:100, y:100, radius:20, start:0, end:360); drawline(x1:, y1:,... xn:, yn:) drawline n 2 n 3 x1: y1: xn: yn

( )$(canvas).drawarc({strokestyle:red, x:100, y:100, radius:20, start:0, end:360); drawline(x1:, y1:,... xn:, yn:) drawline n 2 n 3 x1: y1: xn: yn 0.1. jquaery jcanvas jquery John Resig OSS JavaScript Web JavaScript jquery jquery 1 0.2. jcanvas jcanvas 0.3. jcanvas HTML5 Canvas Canvas jcanvas jcanvas jquery Canvas API jcanvas Grouping Layer jcanvas

More information